ntfs-config-1.0.1/0000777000000000000000000000000010646710035010703 500000000000000ntfs-config-1.0.1/TODO0000644000175000017500000000025610627104012011333 00000000000000Things we need to complete before 1.0 : --------------------------------------- - ask to add the force option when logfile is unclean and ntfs-3g version can handle that. ntfs-config-1.0.1/INSTALL0000644000175000017500000002203010627104012011666 00000000000000Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=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. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the `--target=TYPE' option to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc will cause the specified gcc to be used as the C compiler (unless it is overridden in the site shell script). `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. ntfs-config-1.0.1/py-compile0000755000175000017500000001005610627104012012646 00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2005-05-14.22 # Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, 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. # This file is maintained in Automake, please report # bugs to or send patches to # . if [ -z "$PYTHON" ]; then PYTHON=python fi basedir= destdir= files= while test $# -ne 0; do case "$1" in --basedir) basedir=$2 if test -z "$basedir"; then echo "$0: Missing argument to --basedir." 1>&2 exit 1 fi shift ;; --destdir) destdir=$2 if test -z "$destdir"; then echo "$0: Missing argument to --destdir." 1>&2 exit 1 fi shift ;; -h|--h*) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." Byte compile some python scripts FILES. Use --destdir to specify any leading directory path to the FILES that you don't want to include in the byte compiled file. Specify --basedir for any additional path information you do want to be shown in the byte compiled file. Example: py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py Report bugs to . EOF exit $? ;; -v|--v*) echo "py-compile $scriptversion" exit $? ;; *) files="$files $1" ;; esac shift done if test -z "$files"; then echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then pathtrans="path = file" else pathtrans="path = os.path.join('$basedir', file)" fi # if destdir was given, then it needs to be prepended to the filename to # byte compile but not go into the compiled file. if [ -z "$destdir" ]; then filetrans="filepath = path" else filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi $PYTHON -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'c', path) print" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules (optimized versions) ...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'o', path) print" 2>/dev/null || : # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ntfs-config-1.0.1/COPYING0000644000175000017500000006131410627104012011700 00000000000000 GNU LIBRARY GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the library GPL. It is numbered 2 because it goes with version 2 of the ordinary GPL.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, 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 library, or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, 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 companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. GNU LIBRARY GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, 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 library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete 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 distribute a copy of this License along with the Library. 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 Library or any portion of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, 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 Library, 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 Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you 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. If distribution of 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 satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. 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. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library 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. 9. 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 Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library 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. 11. 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 Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library 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 Library. 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. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library 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. 13. The Free Software Foundation may publish revised and/or new versions of the Library 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 Library 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 Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, 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 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "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 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. 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 LIBRARY 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 LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), 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 Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. 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 library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! ntfs-config-1.0.1/NEWS0000644000175000017500000002527710646710005011362 000000000000002007-07-16 ntfs-config =========================================================== * Release : 1.0.1 * Revision number : 40 * Fix : parsing label & fs type on old system (old udev, no vol_id) 2007-07-16 ntfs-config =========================================================== * Release : 1.0 * Revision number : 39 * Fix : improve support for system with udev < 60 * Fix : improve support for md (soft raid) device * Fix : label wasn't parse correctly when containing special character * Translation : - new translations : si thanks to Malinthe Samarakoon vi thanks to Viet Hung - translation update : el thanks to Ioannis Koniaris en_GB thanks to Nicholas Wastell it thanks to Luca Livraghi lt thanks to zolookas nl thanks to Bjorn Heesakkers pl thanks to e.s.t pt_BR thanks to wilson_p_junior zh_CN thanks to rainofchaos 2007-06-24 ntfs-config =========================================================== * Release : 1.0-RC5 * Revision number : 28 * Fix : installation in /usr/local now works even if your python path is not set correctly * Fix : typo in handle_mount_error that threated all ntfs-3g mount error as NTFSUNCLEAN error * Fix : in handle_umount_error, searching used file could hanged while waiting for network reply. * Fix : LVM detection (LP #120455). The problem was that LVM configuration use a symlink that we didn't list. Instead of trying to maintain a list of symlink for each devices, which is difficult, we now resolve this symlink at Fstab creation to know if it refer to a known device. * Change : options and type of mounted but not configured partitions are now initialized with what give us MTAB instead of initialized them with default options. * Change : Some little performance improvement by refactoring the Entry copy method. * Change : sanity check at startup are now disable (LP #120455) * Translation : Still a lot of new translations, and update. Thank you for your hard work. 2007-06-11 ntfs-config =========================================================== * Release : 1.0-RC4 * Revision number : 18 * New : device mounted on multiple mount point should now be handle correctly * New : Propose actions when mounting/unmounting fail : - Propose the lazy option when device is busy - Propose to remove bad option or revert them to default when an unknow option was detected - Propose to use default FSTYPE driver when type wasn't found - Propose to use the force option when NTFS is unclean with ntfs-3g * Translation : A bunch of new translations thanks to a bunch of cool guys 2007-06-03 ntfs-config =========================================================== * Release : 1.0-RC3 * Revision number : 17 * Fix : ntfs device was ignored on old system (udev < 60) * Fix : detection of mapped device didn't work on old system due to change in dmsetup syntax * Fix : mount dialog wasn't compatible with pygtk < 2.10 * Fix : opening browser failed for path with some special character * Fix : mount/umount didn't works for path with some special character * Fix : apps crashed on old system when hal fdi policy directory didn't exist. * Change : improve the way we choose browser & auth programm * Translation : improvement in localisation thanks to Abel Cheung 2007-05-21 ntfs-config =========================================================== * Release : 1.0-RC2 * Revision number : 12 * New : use new FstabHandler watch to look at Fstab & Mtab changes * Fix : make $(bindir) before creating consolhelper link (LP #115161) * Fix : Make sure that the path is mounted before starting browser * Fix : some other fix in FstabHandler. See ChangeLog for details. * Fix : a lot of string fix * Translation : Update sk translation thanks to Jozef Riha 2007-05-19 ntfs-config =========================================================== * Release : 1.0-RC1 * New : ntfs-config now use a new high level fstab handler class. This simplify a lot ntfs-config main program and make new features easy to implement. * New : we can now change the path of NTFS device * New : we can also browse them by double clicking them * Translation : still a lot of string change. Sorry for that. 2007-05-12 ntfs-config =========================================================== * Release : 1.0-BETA1 * New : This version is a complete rewrite version of 0.5.5 in python. This allow us to use the Fstab & DiskInfo class developed for disk-manager (http://flomertens.free.fr/disk-manager). This change add a lot's of new feature to ntfs-config : * New : ntfs-config should support fake raid partition and all mapped device. (LP #91889) * New : Add an advance configuration expander that show all NTFS partition and allow to control rw for each one. (LP #90165, #112159) * New : .desktop now launch a wrapper, ntfs-config-root that check for an graphical authentication tool and launch ntfs-config with it. consolehelper support (fedora) should also works. (LP #109585 #109653) * New : Add a revert button, that revert configuration to the initial one. * Fix : fix .desktop categorie to show ntfs-config in admin (at leat on ubuntu) * Fix : Add a new line at the end of /etc/fstab (LP #111103, #109930) * Fix : don't set translatable standard gtk buttons (LP #105639) * Other : probably a lot of other fix, but also probably few bugs added since the code is totaly new. * Translation : a lot of string changed since last time, so if you participated in previous translations, you are welcome to update it. Thanks in advance. 2007-02-19 ntfs-config =========================================================== * Release : 0.5.5 * Fix : use symlink() instead of link() (#84519). Thanks to Young-Ho Cha ! * Fix : fix compilation warnings. * Fix : small code cleanup. 2007-02-18 ntfs-config =========================================================== * Release : 0.5.4.1 * Translation : New translations and some fix. - new English (Australia) translation thanks to Glennji Mason ! - new Korean translation thanks to Young-Ho Cha ! - new Lithuanian translation thanks to zolookas ! - new Portuguese (Portugal) translation thanks to Joel calado ! - add data/ntfs-config.desktop.in for translation. - fix translated button. 2007-02-08 ntfs-config =========================================================== * Release : 0.5.4 * New : check if ntfs-3g is install before starting the app. * New : add a --revert option that allow users to revert all changes made by ntfs-config. * Translation : Add new transtlations : - new Czech translation thanks to Petr Halas ! - new Polish translation thanks to e.s.t ! - new Portuguese (Brazil) translation thanks to Marco A S Ribeiro ! - new Slovak translation thanks to Jozef Riha ! 2007-01-24 ntfs-config =========================================================== * Release : 0.5.3 * New : if /etc/fstab have some uuid entry, improve the visibility by writing in comment the corresponding device name. * Fix : fix some case where the external device policy wasn't respected. * Translation : Add russian translation thanks to wiz ! 2007-01-23 ntfs-config =========================================================== * Release : 0.5.2 * Change : Improve debugging output. * Fix : typo when searching for an ntfs kernel driver. * Translation : New Swedish translation thanks to Daniel Nylander ! 2007-01-22 ntfs-config =========================================================== * Release : 0.5.1 * New : Add a manpage * Translation : two new translations : - new Turkish translation thanks to Yavuz Selim Burgu and Suat Sarialp ! - new Dutch translation thanks to Egbert Bouman ! 2007-01-20 ntfs-config =========================================================== * Release : 0.5 * New feature : When we disable write support, if we don't find any ntfs kernel driver, fallback to ntfs-3g in read only mode. Special feature for fedora guys. * Fix : Make sure that we respect ntfs-config policy for removable device, even in read only. * Fix : The fdi rules should only apply for hotpluggable device, ex. in case we want to mount internal device via gnome-mount. * Fix : Fix the licence, which was a mix up of LGPL & GPL copy/pasted from an other program. This is pure GPL now. * Fix : Correct some more spelling mistakes, thanks to ianare. * Translation : A lot of change : - update French translation thanks to Ersplus ! - new Italien translation thanks to Dùnadan ! - new Chinese(china) translation thanks to 3str ! 2007-01-18 ntfs-config =========================================================== * Release : 0.4.2 * Fix : Correct some spelling mistakes Thanks to ianare ! * Translation : Added spanish translation Thanks to David Prieto ! * Translation : Start of German translation Thanks to Florian Reifschneider ! 2007-01-18 ntfs-config =========================================================== * Release : 0.4.1 * Fix : fix a bug in the set label as mount point feature * Translation : Added Frensh translation 2007-01-17 ntfs-config =========================================================== * Release : 0.4 * New feature : in search_new, set the mount point to the label of the volume if available. * Improvement : improve the way mount point are check. Now you can't apply until the mount point is ok. * Change : big change in the way we handle error. 2007-01-14 ntfs-config =========================================================== * Release : 0.3 * New feature : Automatically detect none yet configure NTFS internal device, and ask if the user want to configure them. * Fix : fix some potential memory leak. * Other : Source separation. Now in /src. * Other : Code cleanup. 2007-01-14 ntfs-config =========================================================== * Release : 0.2 * New feature : all NTFS internal device are automatically remounted when the policy change. * New feature : backup /etc/fstab at the first run of ntfs-config. * Fix : translation is now possible. 2007-01-11 ntfs-config =========================================================== * Release : 0.1 * Initial Release ntfs-config-1.0.1/README0000644000175000017500000000246310636724237011546 00000000000000ntfs-config - Enable/disable write support for NTFS device ======================================================= Introduction : ============== Add write support for all your NTFS partition with this tool. It will configure them to use the open source driver ntfs-3g that allow full read/write capability. Homepage : http://flomertens.free.fr/ntfs-config Homepage of ntfs-3g : http://www.ntfs-3g.org Requirements : ============== - python (>= 2.4) - pygtk (>= 2.6) - udev (>= 60 strongly recommended, but might works with lower udev) - dmsetup (optional, for crypt, lvm and raid device) - e2fsprogs for blkid (optional, absolutely needed for old udev (< 60)) - ntfs-3g ( http://www.ntfs-3g.org ) For external device : - hal with fuse support. This mean hal >= 0.5.9 . The version from your distribution may already include this support. If it's not the case, you can get a patch from there : http://librarian.launchpad.net/4667871/support-fuse.patch - gnome-mount or any storage device mounting device that use hal as backend and can handle ntfs-3g. Bug report : ============ You can report bug on launchpad : https://bugs.launchpad.net/ntfs-config/+bugs Translation : ============= You can translate this application easily with the rosetta framework : https://translations.launchpad.net/ntfs-config/+translations ntfs-config-1.0.1/config.guess0000755000175000017500000012626010627104012013167 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-07-02' # This file 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. # Originally written by Per Bothner . # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; x86:Interix*:[3456]*) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T:Interix*:[3456]*) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: ntfs-config-1.0.1/AUTHORS0000644000175000017500000000005410627104012011707 00000000000000Mertens Florent < flomertens AT gmail.com > ntfs-config-1.0.1/acinclude.m40000644000175000017500000001174610627104013013043 00000000000000# Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # AM_PATH_PYTHON_VERSION(ABI-VERSION1, [MINIMUM-VERSION1 [, ABI-VERSION2, [MINIMUM-VERSION2 ...]]]) # # An alternative to AM_PATH_PYTHON that checks for specific python ABI/version pairs. # Example: # AM_PATH_PYTHON_VERSION(2.3, 2.3.5, 2.4, 2.4.0) # checks for a python2.3 binary returning python version >= 2.3.5, and # if that fails it looks for python2.4 containing version >= 2.4.0 # It aborts configure with an error if no statisfying version is found. # Env. var. PYTHON can be used to point a specific/laternate version to configure. AC_DEFUN([AM_PATH_PYTHON_VERSION], [ m4_pattern_allow([m4_shift]) _python_save="$PYTHON" dnl Find a Python interpreter with corresponding ABI version. m4_define(PYTHON_var, PYTHON[]m4_translit($1,[.],[_])) if test -z "$PYTHON"; then AC_PATH_PROG(PYTHON_var, python$1, []) else PYTHON_var="$PYTHON" fi PYTHON="$PYTHON_var" AC_SUBST(PYTHON) if test -n "$PYTHON"; then m4_if([$2],[],[ ], [ dnl A version check is needed. AC_MSG_CHECKING([whether $PYTHON version is >= $2]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$2], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT([no]); PYTHON=""]) ]) fi if test -z "$PYTHON"; then dnl if more arguments, shift/recurse, else fail m4_if([$3],[],[ AC_MSG_ERROR([no suitable Python interpreter found]) ], [ PYTHON="$_python_save" AM_PATH_PYTHON_VERSION(m4_shift(m4_shift($@))) ]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) fi ]) ntfs-config-1.0.1/ChangeLog0000644000175000017500000006376410646707761012457 00000000000000------------------------------------------------------------ revno: 40 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-07-16 17:28:36 +0200 message: changes in python-fstab : Those changes affect only system with old udev and no vol_id, so in fact really few system. * ToolsBackend : - Fix parsing of label with special charachter using blkid - Fix matching of FS_TYPE with blkid. In the same time, get ride of all 'except :' that hidden that bug, and use proper exception handler. ------------------------------------------------------------ revno: 39 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-07-16 12:22:59 +0200 message: changes in python-fstab : * FstabData : better default for ntfs-fuse * Mounter : handle NTFSUNCLEAN mount error also for ntfs-fuse changes in ntfs-config : * po : - new translations : si thanks to Malinthe Samarakoon vi thanks to Viet Hung - translation update : el thanks to Ioannis Koniaris en_GB thanks to Nicholas Wastell it thanks to Luca Livraghi lt thanks to zolookas nl thanks to Bjorn Heesakkers pl thanks to e.s.t pt_BR thanks to wilson_p_junior zh_CN thanks to rainofchaos ------------------------------------------------------------ revno: 38 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-07-15 20:09:56 +0200 message: changes in ntfs-config : * NtfsConfig : block internal check button when updating main ------------------------------------------------------------ revno: 37 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-07-15 19:21:04 +0200 message: changes in python-fstab : * Fstab : use norme path changes in ntfs-config : * AddWizard, NtfsConfig : allow all path in /media/ * NtfsConfig : sort tree_store with the device column * ntfs-config.8, ntfs-config-root.8 : add manual ------------------------------------------------------------ revno: 36 committer: Mertens Florent branch nick: trunk timestamp: Fri 2007-07-13 12:47:19 +0200 message: changes in python-fstab : * DiskInfo : - Set FS_LABEL_SAFE on system that don't provide it. - New attribute : DEV_NUM (device number of the device) - Add DEV_NUM as required attr (and so MINOR & MAJOR) * DiskInfo, Fstab : - Refacor the way we match fstab entry : Use new DiskInfo method search_device that get dev_num of the device (if node) and search entry in reverse database. reverse database now conatain only DEV_NUM, LABEL & UUID (in the form %attr=%value to avoid race). * ToolsBackend : - Execute stuff in a separate method (avoid duplcate code) - Improve debug output - use .+ instead of \S+ for matching attribte's value. This fix label was truncated with special charachter. - Set slaves not only for dm-, but each time /slaves is not empty. - Execute vol_id each time we get a DEVICE, and overwrite info, even if we get ones from udevinfo, vol_id is moore reliable - Fix typo in second volid attempt (LABEL -> FS_LABEL) - Call blid only if don't get an FS_USAGE, and don't overwrite info. * Fstab : cleanup * FstabData, FstabUtility : store special_char in FstabData * FstabHandler : cleanup * Mounter : - refactor the way we get bad_opt - don't offer to not use bad_opt if there is no other opt changes in ntfs-config : * Utility : fix typo in epiphany ------------------------------------------------------------ revno: 35 committer: Mertens Florent branch nick: trunk timestamp: Wed 2007-07-04 23:03:30 +0200 message: changes in python-fstab : * DiskInfo, Fstab, FstabData : improve get_drivers to take in considaration secondary driver (like ext2 for ext3...). Get ride of get_driver_info and make get_drivers be able to product the same behaviour. * Mounter : we absolutly need disk ------------------------------------------------------------ revno: 34 committer: Mertens Florent branch nick: trunk timestamp: Tue 2007-07-03 23:23:18 +0200 message: changes in python-fstab : * Fstab, FstabUtility : move encode, decode & escape_special from Fstab to FstabUtility * Fstab : Don't fail if we can't create/delete a directory, but log an error. ------------------------------------------------------------ revno: 33 committer: Mertens Florent branch nick: trunk timestamp: Tue 2007-07-03 00:14:42 +0200 message: changes in python-fstab : * Fstab, FstabData : change get_is_system policy to better reflect what it should do. * Dialogs : fix fsk wasn't set correclty ------------------------------------------------------------ revno: 32 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-07-02 00:21:23 +0200 message: changes in python-fstab : * DiskInfo : - add doc for get_drivers & get_driver_info - cleanup * ToolsBackend : don't set the IGNORE key for slaves of dm. backend should not use this key. Instead make sure that FS_USAGE is not filesystem, otherwise set it to "other" (comment explain why) * FstabHandler : in handle_mount_error : - if output is empty, it is certainly a BADTYPE or a NODRIVER - propose all available drivers on BADOPT (but not the current one) * Fstab : Fix parsing of comments in minimal mode * FstabHandler, FstabUtility : remove sanity check code * Mounter : little refactorisation of handle_mount_error changes in ntfs-config : * Utility : try first to use exo-open for xfce ------------------------------------------------------------ revno: 31 committer: Mertens Florent branch nick: trunk timestamp: Wed 2007-06-27 15:47:40 +0200 message: changes in python-fstab : * DiskInfo : - New _driver_db that you can query with a new get_drivers method This surclass the get_ntfs_drivers method - some cleanup * FstabData : list all know special drivers (like ntfs-3g or ntfs-fuse) so we can have a good description of them. Default is "Unknow driver" * Fstab, FstabData : replace default of defaults option to __default__ changes in disk-manager : * Utility : don't use "GNOME_KEYRING_SOCKET" to detect GNOME, it can be used in elsewhere, in XFCE for exemple. ------------------------------------------------------------ revno: 30 committer: Mertens Florent branch nick: trunk timestamp: Wed 2007-06-27 00:13:02 +0200 message: * Set default icon the earlier possbible ------------------------------------------------------------ revno: 29 committer: Mertens Florent branch nick: trunk timestamp: Wed 2007-06-27 00:05:58 +0200 message: changes in python-fstab : * Fstab : cleanup * FstabHandler : - cleanup, improve debugging... - add a new method : get_changes_current_to_original - change get_changes_current_* to only return log * Mounter : cleanup * EventHandler : - don't use thread for the emit method. It's no more needed changes in ntfs-config : * Utility : - NtfsConfig, AddWizard : cleanup - refactor get_desktop to not only check for env key, but also for process. We now check KDE, GNOME & XFCE. Since this method is no more base on Paul Boddie code, copyright is no more needed - refactor open_url, to improve the way we select browser. We know use a dict of prefered browser for each desktop & each type of url (file & http). ------------------------------------------------------------ revno: 28 committer: Mertens Florent branch nick: trunk timestamp: Tue 2007-06-26 00:04:59 +0200 message: changes in python-fstab : * FstabDialogs : - don't wrap text_down_label if down & top are in use. - increase added row to 2, but decraise max row of textview to 8 * FstabUtility : in get_used_file : don't use full lsof, this way we don't list network stuff. Also increase max char of command to max allowed (+c 0) ------------------------------------------------------------ revno: 27 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-06-25 12:43:09 +0200 message: changes in python-fstab : * FstabHandler : - In the mount method, do a simple_apply if we changed the path because it was in use. - In _apply, get ride of the counter stuff. Doing a simple_apply if we detected some changed path should be enough changes in ntfs-config : * Some more translatable string fix ------------------------------------------------------------ revno: 26 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-06-25 02:14:47 +0200 message: changes in python-fstab : * Fstab : in Entry : - use dict copy method instead of using Entry one in __eq__ - refactor copy method to use self.__class__ instead of the crapy copy module. This improve a lot performance. ------------------------------------------------------------ revno: 25 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-06-24 21:32:48 +0200 message: changes in python-fstab : * Mounter : fix a translatable string changes in ntfs-config : * Update fr translation ------------------------------------------------------------ revno: 24 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-06-24 18:33:04 +0200 message: changes in python-fstab : * FstabHandler : in _rebuild_object : also add entry mounted mounted on mount point that are not in new changes in ntfs-config : * AddWizard : fix parent of the warning dialog * ntfs-config.glade : set wrap mode too True for all label of dialog_template ------------------------------------------------------------ revno: 23 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-06-24 12:41:55 +0200 message: changes in python-fstab : * FstabHandler : little refactorisation of _build_object to be able to get options & type of device mounted but not in fstab. Basicly, we get those from MTAB, but for "fuse" & "fuseblk", we try to get those from the cmd line which mounted the volume * FstabUtility : introduce get_fuse_options that try to get type & options of a device mounted with fuse * Mounter : - Don't allow to unmount system partition with the lazy option - If we fail to unmount a mount point which as been removed from self.disk, readd it changes in ntfs-config : * Update translations from rosetta ------------------------------------------------------------ revno: 22 committer: Mertens Florent branch nick: trunk timestamp: Fri 2007-06-22 14:55:01 +0200 message: changes in python-fstab : * Mounter : fix typo in handle_mount_error treated all ntfs-3g related error as NTFSUNCLEAN error (and so wrongly proposed the force option) * Fstab, DiskInfo, ToolsBackend : don't try to maintain a list of symlink, it's impossible that we get them all. Instead, try to resolve this symlink at Fstab creation to know if it refer to a known device. * Fstab : in Entry.write : if FSTAB_NAME is a symlink to DEVICE, use it when type is DEVICE * Fstab : in MntFile.write : make sure that (UUID, LABEL) symlink exists before using them Fstab : ignore FSTAB_NAME when we compare for equality 2 entries. This way we don't save Fstab when the only change is an FSTAB_NAME * Fstab : correctly log the resolved DEV * FstabUtility : in change-tracker : we no more need to check if the log is empty or not * FstabHandler : in savelog, use lastsave_has_changed to know if fstab as changed since lastsave * Fstab : be sure that FSTAB_NAME is a path before even considering using it. * Mounter : reiserfs don't seams to log the same message in syslog on bad option. This change should add this support. * Mounter : reduce time between mount & umount to nearly nothing. It seams safe enough. changes in ntfs-config : * Fix README * Add a --version option ------------------------------------------------------------ revno: 21 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-16 13:01:26 +0200 message: * Get consolhelper path during configuration, and use it in pam Makefile, instead of hardcoding it. Set it to /usr/bin/consolhelper if consolhelper wasn't found but with-force-pam=yes ------------------------------------------------------------ revno: 20 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-16 12:18:57 +0200 message: * Disable sanity check (LP #120455) ------------------------------------------------------------ revno: 19 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-16 00:42:11 +0200 message: changes in python-fstab : * Fix documentation * DiskInfo : remove list option of the search method. Not really useful * FstabUtility : In change-tracker : make sure that log is empty when there is no changes changes in NtfsConfig : * Config : Don't force installation of the config file in the user home, there is no need for this tweak here * ntfs-config/ntfs-config-root : little tweaks to make sure that python path is set correclty when prefix=/usr/local ------------------------------------------------------------ revno: 18 committer: Mertens Florent branch nick: trunk timestamp: Mon 2007-06-11 19:23:54 +0200 message: changes in python-fstab : * Too much to put there. See disk-manager changelog... changes in ntfs-config : * A bunch of new translation thanks to a bunch of cool guys * Adapt for new python-fstab ------------------------------------------------------------ revno: 17 committer: Mertens Florent branch nick: trunk timestamp: Sun 2007-06-03 02:16:11 +0200 message: changes in python-fstab : * FstabTest, FstabHandlerTest : begin work on unittest * Fstab, DiskInfo : avoid the use of regular expression when possible * Fstab : don't use LABEL in fstab if there is multiple device with the same label * Mounter : finish string improvement changes in ntfs-config : * avoid the use of re when possible ------------------------------------------------------------ revno: 16 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-02 19:15:15 +0200 message: changes in python-fstab : * Fstab : - rename safe to escape_special, and add more specials charachters that we need to escape before using them in commands - Add an clean_all_path & make_all_path methods - Add an option to list_created_path to clean it * FstabDialogs : - change dials behaviour (see String fix). - tweak size request of error_dial_message * FstabHandler : - Use new Fstab method to clean, create paths * FstabUtility : in get_used_file, use grep -F and escape specail characher from path * Mounter : use xml.sax.saxutils to escape markup char in label. We don't need anymore to use the "can't show" string. changes in all : * String fix : - warning_dial question_dial & error_dial_message now use a single string instead of 2 for the core message. This make stuff more localizable. Thank to Abel Cheung for the advice. - Some more " :" -> ":" fix - Use GB, MO... as default size in size_renderer. and translate it. Thanks to Nicholas WASTELL for the advice changes in ntfs-config : * AddWizard : use xml.sax.saxutils to escape markup char in label. * NtfsConfig : use xml.sax.saxutils to escape markup char in label. ------------------------------------------------------------ revno: 15 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-02 01:54:26 +0200 message: In last commit, forgot python-fstab changes. Here are they : In python-fstab : * Move config.py to Fstabconfig.py to avoid conflict with config.py from apps * DiskInfo : don't require UUID. blkid don't give it for ntfs and old system (udev < 60) rely on it * ToolsBackend : add compatibility with old dmsetup * Fstab : - refactor make_path. No fundamental change - in mount & umount : show cmd on debug, escape special character from path in the cmd. - in list_created_path : return an empty list when file is empty - refactor clean_path & check_path to work better together * FstabData : use umask=0222 for ntfs * EventHandler : - refactor the way we inhibit watch before internal_change so we don't need lock anymore - update time between 2 watch to 0.5 to be less CPU hungry - wait that emit_thread end before exiting emit * FstabHandler : refactor the way we create/delete path to make it more simple and reliable (but also less faster) : we check now on _apply that all path in fstab are created, and delete all path created here that are not in fstab. Delete also path on umount when not in fstab, and on failled mount when not in fstab * FstabUtility : Use commands module for lsof & dmseg. This is a try to fix a strange bug, which might be a subprocess bug, that i encounter in debian sarge (python 2.4.1). Process wouldn't exit even if lsof ended. * Mounter : don't use threading to update guy, but use the traditionnal method. This fix compatibility with pygtk < 2.10 which leaded to a deadlock. Use common tweaks to make sure that the guy is update regulary. ------------------------------------------------------------ revno: 14 committer: Mertens Florent branch nick: trunk timestamp: Sat 2007-06-02 01:52:48 +0200 message: * configure.in : set blkid & dmsetup path. Decrease intltool requirement. Improve python requirement. * ntfs-config-root : detect desktop to make sure that we use gksu on gnome, and kdesu on kde. Store user XAUTHORITY key to use it in open_url. * DiskManager : - Create hal fdi directory on startup if it don't exist - Use idle_add to update main instead of gtk.gdk.thread* fcts - Apply gtk events while hidding main gui on shutdown - when expended, resize gui depending of the number of ntfs device. * Utility : In open_url : - Use gnome-open on gnome for both http & file - Update http & file browser : add dolphin, rox, epiphany, mozilla, remove sensible-browser - Use USER, XAUTHORITY, HOME from real user - Revert modified env key after launching the browser ------------------------------------------------------------ revno: 13 committer: Mertens Florent branch nick: trunk timestamp: Tue 2007-05-29 22:13:49 +0200 message: Fake merge between branch1.0 and trunk ------------------------------------------------------------ revno: 12 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sat 2007-05-26 00:37:09 +0200 message: * Update sk translation thanks to Jozef Riha * NtfsConfig : shutdown FstabHandler on quit From disk-manager : * All : fix a lot of strings thanks to Nicholas WASTELL * AddWizard : don't allow stuff like ***/media/*** * Fstab : be paranoic in __setitem__ since copy.copy could do weaird stuff and cause race. * Fstab : raise an error in __getitem__ and remove, when type is not supported * Mounter : don't show mount point with &. when unmounting and there is no used files, retry 3 times * AddWizard : set default ntfs driver during init * Fstab/Fstab : fix bug : default driver wasn't et correctly * Mounter : decrease time betwwen mount/unmount, and retry after 1s after a first fail unmount ------------------------------------------------------------ revno: 11 committer: Mertens Florent branch nick: branch_rewrite timestamp: Thu 2007-05-24 22:40:17 +0200 message: From disk-manager : * FstabHandler, EventHandler : to replace the DiskManager watch that didn't worked any more since the introduction of FstabHandler, we have know a complete event notifier infrastructure. EventHandler integrate a watch that look for fstab, mtab and size update, and an event notifier that application can connect to via a simple connect() method. Look at the connect doc of FstabHandler for more informations. * FstabDialogs : Try to set size more cleverly. * Fstab : ignore comment on minimal mode * FstabHandler, FstabUtility : move check_duplicate and check_unknow to Utility and update check_duplicate : we know delete exact duplicate, but ask user on duplicate device. * On all : For consitancy, use umount and not unmount on variables. Changes here : * Ntfsconfig : make use of events notifications ------------------------------------------------------------ revno: 10 committer: Mertens Florent branch nick: branch_rewrite timestamp: Tue 2007-05-22 13:18:39 +0200 message: From disk-manager : * Fix headers * Fstab/DiskInfo : complete documentation * Fstab/DiskInfo : Close /proc/partitions after getting devices * Fstab/DiskInfo : if no backend, try to import the default one * Fstab/Fstab : fix list_created_path didn't delete path with space from the list of created path * Fstab/FstabHandler : also look at FSTAB for changes, reduce time between tw check to 1s, update FSTAB and MTAB mtime when we know that we change it * DiskManager : decrease time between 2 change lookup to 1s * Update TODO (add inotify support) ------------------------------------------------------------ revno: 9 committer: Mertens Florent branch nick: branch_rewrite timestamp: Tue 2007-05-22 00:04:40 +0200 message: * Fstab/DiskInfo Fstab/ToolsBackend : several improvements to make it more extensible : - sepearate get_devices to get_device_info, which can be both surclass by backends - create get_common_device_info for info that we need and that shouldn't be the jobs of backends. - get drivers from get_(FS_TYPE)_drivers and store them in FS_DRIVERS * NtfsConfig : update for last change * Fstab/FstabHandler/DiskManager : Fix regression. Since now all devices are stored in FstabHandler, we should update it on MTAB change, and no more DiskManager. Introduce a temporary notify_event, which is set to True when there is a changement. But i'd like to see if there isn't more elegant solution to send event. ------------------------------------------------------------ revno: 8 committer: Mertens Florent branch nick: branch_rewrite timestamp: Mon 2007-05-21 18:20:10 +0200 message: * NEWS, Changelog : move old ChnageLog to NEWS, and now use ChangeLog for bzr log * Fstab/Fstab, Fstab.FstabHandler : start rewriting documentation. I think i'm done with those 2. * Fstab/Fstab : import config, and load DiskInfo also in EntyBase, so we can use Entry & EntryBase without MntFile * Fstab/FstabHanler : introduce FstabHandler mode. Currently there is three mode : real, virtual, real, that can be set at creation, or dynamicly. This replace start_virtual_mode. See FstabHandler doc for more info. * Fstab/FstabHanler : set a lot of object as internal, so we only show usefull stuff * Fstab/FstabHanler : return None, when we can't get property * Fstab/FstabHanler : don't mount/umount already mounted/unmounted device * Fstab/FstabHanler : since now Mounter return a tuple of 2 values, return only the max of the 2 here * Fstab/FstabHanler : Improve the way we get device we don't want to unmount * Fstab/FstabHanler : start _initlog after savelog * Fstab/FstabHanler : introduce differents method to manage log : move listlog to get_listlog, add get_logcommit, get_logfile, get_changes_current_to, get_changes_current_from * NtfsConfig : set Mounter parent * NtfsConfig : Use delay mode when setting internal ntfs policy * NtfsConfig : Make sure that the path is mounted before starting browser * config : import Fstab.config (for FSTAB), and no os set FSTAB_BAK * configure.in : bump version to 1.0-RC2, this doesn't mean that i want to release now. * data : add a 192×192 icone ------------------------------------------------------------ revno: 7 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sat 2007-05-19 23:25:21 +0200 message: * data/pam/Makefile.am : make $(bindir) before creating consolhelper link (LP #115161) * Config : return the new conf on set_default * Utility : Try to improve user detectecion and fix bug when no real user found, and trying to use USER instead ------------------------------------------------------------ revno: 6 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sat 2007-05-19 19:31:18 +0200 message: * Fstab/Mounter : split the return code in 2 to return separate mount and unmount exit code. * Fstab/Mounter : increase time between unmount & mount to 0.3 * Fstab/FstabHandler : Require reboot when mounting fail because of the unmount part. * NtfsConfig : on update, don't set cursor when we can't ------------------------------------------------------------ revno: 5 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sat 2007-05-19 13:54:40 +0200 message: * Add new high level Fstab hanler class and convert config to it * Add two new feature : - we can now change the path of NTFS devices - we can now browse them on double click ------------------------------------------------------------ revno: 4 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sun 2007-05-13 23:05:15 +0200 message: * Fix glade file * Some other stuff ------------------------------------------------------------ revno: 3 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sun 2007-05-13 22:18:17 +0200 message: * Update ChangeLog, TODO, and other stuff ------------------------------------------------------------ revno: 2 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sun 2007-05-13 17:47:25 +0200 message: * Update TODO ------------------------------------------------------------ revno: 1 committer: Mertens Florent branch nick: branch_rewrite timestamp: Sat 2007-05-12 19:20:56 +0200 message: * Initial commit ntfs-config-1.0.1/Makefile.in0000644000175000017500000005064410646710026012727 00000000000000# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BLKID = @BLKID@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONSOLEHELPER = @CONSOLEHELPER@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DMSETUP = @DMSETUP@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_PAM_FALSE = @ENABLE_PAM_FALSE@ ENABLE_PAM_TRUE = @ENABLE_PAM_TRUE@ EXEC_PATH = @EXEC_PATH@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MODPROBE = @MODPROBE@ MOUNT = @MOUNT@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYOPTIONS = @PYOPTIONS@ PYTHON = @PYTHON@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UMOUNT = @UMOUNT@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = po data NtfsConfig bin_SCRIPTS = ntfs-config CLEANFILES = ntfs-config ntfs-config-root EXTRA_DIST = ntfs-config.in ntfs-config-root.in intltool-extract.in intltool-merge.in intltool-update.in sbin_SCRIPTS = ntfs-config-root DISTCLEANFILES = intltool-extract intltool-merge intltool-update config.status.lineno subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = ntfs-config ntfs-config-root SCRIPTS = $(bin_SCRIPTS) $(sbin_SCRIPTS) DIST_SOURCES = RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ ps-recursive install-info-recursive uninstall-info-recursive \ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL Makefile.am NEWS TODO acinclude.m4 \ aclocal.m4 config.guess config.sub configure configure.in \ install-sh missing mkinstalldirs ntfs-config-root.in \ ntfs-config.in py-compile DIST_SUBDIRS = $(SUBDIRS) all: all-recursive .SUFFIXES: am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) ntfs-config: $(top_builddir)/config.status ntfs-config.in cd $(top_builddir) && $(SHELL) ./config.status $@ ntfs-config-root: $(top_builddir)/config.status ntfs-config-root.in cd $(top_builddir) && $(SHELL) ./config.status $@ binSCRIPT_INSTALL = $(INSTALL_SCRIPT) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \ $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \ else :; fi; \ done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ rm -f $(DESTDIR)$(bindir)/$$f; \ done sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) install-sbinSCRIPTS: $(sbin_SCRIPTS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(sbindir) @list='$(sbin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(sbinSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(sbindir)/$$f"; \ $(sbinSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(sbindir)/$$f; \ else :; fi; \ done uninstall-sbinSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(sbin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ rm -f $(DESTDIR)$(sbindir)/$$f; \ done uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if (etags --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ else \ include_option=--include; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = . distdir = $(PACKAGE)-$(VERSION) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkinstalldirs) $(distdir)/. $(distdir)/NtfsConfig $(distdir)/NtfsConfig/Fstab $(distdir)/data $(distdir)/data/pam $(distdir)/po @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" \ distdir=../$(distdir)/$$subdir \ distdir) \ || exit 1; \ fi; \ done -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist $(am__remove_distdir) GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ && rm -f $(distdir).tar.gz \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @echo "$(distdir).tar.gz is ready for distribution" | \ sed 'h;s/./=/g;p;x;p;x' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: info: info-recursive info-am: install-data-am: install-exec-am: install-binSCRIPTS install-sbinSCRIPTS install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-info-am \ uninstall-sbinSCRIPTS uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ clean-generic clean-recursive ctags ctags-recursive dist \ dist-all dist-gzip distcheck distclean distclean-generic \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am dvi-recursive info info-am \ info-recursive install install-am install-binSCRIPTS \ install-data install-data-am install-data-recursive \ install-exec install-exec-am install-exec-recursive \ install-info install-info-am install-info-recursive install-man \ install-recursive install-sbinSCRIPTS install-strip \ installcheck installcheck-am installdirs installdirs-am \ installdirs-recursive maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ ps-recursive tags tags-recursive uninstall uninstall-am \ uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \ uninstall-recursive uninstall-sbinSCRIPTS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/po/0000777000000000000000000000000010646710035011321 500000000000000ntfs-config-1.0.1/po/nl.po0000644000175000017500000003371310646642505012255 00000000000000# Dutch translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-07-11 14:44+0000\n" "Last-Translator: Bjorn Heesakkers \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:26+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Niet genoeg rechten" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Je hebt administratieve rechten nodig om dit programma te starten." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Lees/Schrijf NTFS stuurprogramma niet geïnstalleerd" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Om het mogelijk te maken naar NTFS apparaten te schrijven, moet eerst het " "ntfs-3g stuurprogramma geïnstalleerd worden.\n" "Als je distributie deze niet heeft, kun je deze verkrijgen via:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS schrijfondersteuning configuratieprogramma" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Nieuwe partities gedetecteerd" #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "Geavanceerde Configuratie" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Je kunt ze ook automatisch configureren \n" "met de \"Configureer Automatisch\" knop" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "Bezig met het toepassen van de veranderingen." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Configureer Automatisch" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Zet schrijfondersteuning voor extern apparaat aan" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Zet schrijfondersteuning voor intern apparaat aan" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "De volgende nieuwe partities werden gedetecteerd.\n" "Selecteer de partities die je wilt configureren:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "NTFS schrijfondersteuning aan/uit zetten met een simpele klik." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Configuratie Programma" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Toevoegen" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Apparaat" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Koppelpunt:" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Formatteerfout" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s bevat een ongeldig karakter.\n" "Koppelpunt moet in /media/ zijn. Je kunt ook een simpele naam invoeren, " "zoals Schijf." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Beschrijfbaar" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Koppelpunt" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Totaal" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Gebruikt" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Terugdraaien naar vorige versie?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Alle veranderingen die je zojuist hebt gemaakt zullen verloren zijn.\n" "Weet je zeker dat je door wilt gaan?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "Uitgeschakelde apparaten loskoppelen?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Je hebt de volgende apparaten uitgeschakeld:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Wil je ze ontkoppelen?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "Ontkoppeling geselecteerd" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Herstart verplicht" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Om alle wijzigingen toe te passen,\n" "dient de computer opnieuw opgestart te worden." #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "Bezig met koppelen van partitie" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "Bezig met ontkoppelen van partitie" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Bezig met toepassen van veranderingen" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "Bezig met ontkoppelen van %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "Bezig met het koppelen van %s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "Ontkoppelen mislukt" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Het ontkoppelen van %s is mislukt vanwege de volgende fout:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "Je kunt nu ook de \"luie\" opties gebruiken om het ondersteunde " "bestandssysteem te ontkoppelen." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Het ontkoppelen van %s is mislukt, omdat\n" "het momenteel in gebruik is door de volgende programma's:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" "Sluit alle programma's die het gebruiken en probeer opnieuw te ontkoppelen." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Het bestandssysteem kan tijdelijk bezet zijn. Wacht een paar seconden en " "probeer het opnieuw." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Ontkoppel met de \"luie\" optie" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Probeer ontkoppelen opnieuw" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Zelfs met de luie optie is het ontkoppelen mislukt." #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "Koppelen is mislukt" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Koppelen van %s is mislukt vanwege de volgende fout:" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Probeer koppelen opnieuw" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Je kunt één van de volgende acties proberen:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Het ziet er naar uit dat de optie '%s' niet toegestaan is." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Zet opties terug naar de standaard opties" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Gebruik de '%s' optie niet" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Het ziet er naar uit dat het bestandssysteem type '%s' niet geldig is." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "Maakt gebruikt van stuurprogramma '%s' (%s)" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" "Er is geen stuurprogramma beschikbaar voor dit type bestandssysteem: '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Je kunt proberen om de 'forceer' optie te gebruiken. Let op dat dit riskant " "kan zijn." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Gebruik de 'forceer' optie" #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Mounten %s mislukt.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "Mounten %s mislukt.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Foutboodschap :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Fout : Kan /etc/mtab niet openen in leesmodus.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s bevat een ongeldig karakter.\n" #~ "u moet een simpele naam kiezen, en niet een map." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s is al in gebruik.\n" #~ "Kies alstublieft een andere." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Fout : Een fout is opgetreden tijdens het configureren van\n" #~ " %s, probeer nogmaals. Bedankt." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Fout : Kan %s niet openen in leesmodus.\n" #~ msgid "translator-credits" #~ msgstr "Egbert Bouman " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "NTFS schrijfondersteuning aan/uit zetten met een klik.\n" #~ "Deze tool gebruikt de ntfs-3g driver : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Fout : Kan /etc/fstab niet backuppen.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "" #~ "Fout : Aanzetten van schrijfondersteuning voor intern apparaat mislukt." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Fout : Uitzetten van schrijfondersteuning voor intern apparaat mislukt." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Fout : Aanzetten van schrijfondersteuning voor extern apparaat mislukt.\n" #~ "Dit betekend waarschijnlijk dat uw installatie onvolledig is, " #~ "herinstalleer ntfs-config en probeer opnieuw. Bedankt." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Fout : Uitzetten van schrijfondersteuning voor extern apparaat mislukt." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Fout : Kan /etc/fstab niet openen\n" #~ " Dit gaat niet werken." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Fout : Kan het fdi bestand niet vinden.\n" #~ "Configuratie van extern apparaat is uitgezet.\n" #~ "Waarschijnlijk moet u ntfs-config herinstalleren\n" #~ "om dit ongedaan te maken." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Waarschuwing : Kan %s niet vinden.\n" #~ "We nemen aan dat dit betekend dat hal niet juist is geinstalleerd\n" #~ "en daarom wordt de configuratie van extern apparaat uitgezet" #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "NTFS schrijfondersteuning aan/uit zetten met een simpele klik.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Fout : Dit programma moet als root worden uitgevoerd.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Fout : Een fout is opgetreden tijdens het initialiseren van hal. Kan niet " #~ "zoeken naar een nieuwe partitie.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Selecteer de partities die u wilt configureren\n" #~ "- Voeg een naam toe voor de mount punt\n" #~ "- Klik op toevoegen" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Uw interne NTFS apparaat wordt hermount. Een ogenblik alstublieft." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Hermounten van het volgende apparaat mislukte. Sluit \n" #~ "alstublieft alle programma's die hiervan gebruik maken en probeer opnieuw." ntfs-config-1.0.1/po/zh_CN.po0000644000175000017500000003330510646642506012643 00000000000000# Chinese (China) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-24 14:15+0000\n" "Last-Translator: rainofchaos \n" "Language-Team: Chinese (China) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:50+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "权限不够" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "要运行此程序,需要管理员权限" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "读/写 NTFS 的驱动没有安装" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "要启动NTFS写入支持,您需要安装ntfs-3g驱动。\n" "如果您的发行版没有提供,您可以从以下网址下载:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS 写入支持配置程序" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "检测到新分区" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "高级配置" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "您也可以按“自动配置”按钮 \n" "进行自动配置" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "应用改变。\n" "请等待,直到进程结束。" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "自动配置" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "启用外部设备写支持" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "启用内部设备写支持" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "已侦测到下列新分区。\n" "请选择一个你想要设置的分区:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "点击将启用/禁用 NTFS 写入支持。" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS 写入支持配置程序" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "<输入一个挂载点>" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "添加" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "设备" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "挂载点" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "格式化错误" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s中包含了无效字符。\n" "挂载点必须在/media/目录下,您也可以直接输入一个名字,比如disk。" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "可写" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "挂载点" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "总数" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "已用" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "退回到前一版本" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "所有修改将会丢失。\n" "是否继续?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "卸载禁用的设备?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "您禁用了下列设备:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "您想卸载它们么?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "卸载选中的" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "需要重新启动计算机" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "要使您的改变生效,\n" "需要重新启动计算机。" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "挂载分区" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "卸载分区" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "正在应用更改" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "正在卸载 %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "挂载 %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "卸载失败" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "卸载 %s 失败,因为出现如下错误:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "你可以使用‘lazy‘选项卸下此文件系统了" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "卸载 %s 失败, 因为\n" "它正在被如下应用程序使用:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "关闭所有使用这个分区的应用程序再重新卸载。" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "文件系统可能暂时忙碌,请几秒钟后重试。" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "使用 'lazy' 选项卸载" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "尝试重新卸载" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "即使使用laze 选项,卸载依然失败。" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "挂载失败。" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "挂载 %s失败,因为发生如下错误:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "尝试重新挂载" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "可以尝试如下方法:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "不允许选项 '%s' ." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "恢复到默认设置" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "不使用 '%s' 选项" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "类型 '%s' 不合法." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "此文件系统无可用驱动: ‘%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "你可以试试'force'选项。注意此选项有风险" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "使用'force'选项" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "从配置文件中删除\n" #~ "未知设备?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "无法找到与一下设备\n" #~ "有关的块设备:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "建议将它们删除以避免启动时出现挂载失败。选择希望删除的内容。" #~ msgid "Remove selected" #~ msgstr "删除被选项" #~ msgid "Duplicate entry detected" #~ msgstr "侦测到重复的内容" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "配置文件的一下项使用了相同的挂载点:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "不同的设备无法共享同一个挂载点。\n" #~ "你应该选择一个,并把其他的注释掉。\n" #~ "它们将保留在配置文件中,但是被禁用。" #~ msgid "Keep selected" #~ msgstr "保留选中的" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "对此文件系统使用默认类型'%s'" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "错误信息:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "错误:无法读取 /etc/mtab\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s 中含有无效的字符。\n" #~ "您应该选择一个文件名,而不是目录。" #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s 目录已经被占用。\n" #~ "请选择其它的目录。" #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "错误:配置 %s 时出错,\n" #~ " 请重试。谢谢。" #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "错误:无法读取 %s。\n" #~ msgid "translator-credits" #~ msgstr "3str " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "一次点击启用/禁用 NTFS 写入支持。\n" #~ "本程序使用 ntfs-3g 驱动程序:http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "错误:无法备份 /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "错误:启用内部设备写支持失败。" #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "错误:禁用内部设备写支持失败。" #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "错误:启用外部设备写支持失败。\n" #~ "这可能由于安装不完整造成的,请重新安装 ntfs-config。谢谢。" #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "错误:禁用外部设备写支持失败。" #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "错误:无法打开 /etc/fstab\n" #~ " 无法继续运行。" #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "错误:无法找到 fdi 文件。\n" #~ "无法配置外部设备。\n" #~ "您可能需要重新安装 ntfs-config\n" #~ "来恢复它。" #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "警告:无法找到 %s。\n" #~ "这可能是由于 hal 没有正确安装造成的,\n" #~ "因此无法配置外部设备。" #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "一次点击启用/禁用 NTFS 写入支持。\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "错误:本程序需要以 root 身份运行。\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "错误:初始化 hal 时出错。无法查找新的分区。\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- 选择您想要配置的分区\n" #~ "- 为挂载点命名\n" #~ "- 点击应用" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "正在重新挂载您的内部 NTFS 设备。请稍候。" #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "重新挂载以下设备时出错。 \n" #~ "请关闭所有可能在使用它们的程序然后重试。" ntfs-config-1.0.1/po/ro.po0000644000175000017500000001477210646642505012270 00000000000000# Romanian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-11 21:23+0000\n" "Last-Translator: Alex Bogdan Covaci \n" "Language-Team: Romanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:33+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/ru.po0000644000175000017500000003334710646642505012275 00000000000000# Russian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:43+0000\n" "Last-Translator: wiz \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:40+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Инструмент конфигурации записи на NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "Инструмент конфигурации записи на NTFS" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Включить поддержку записи для внешнего устройства" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Включить поддержку записи для внутреннего устройства" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Следующие новые разделы обнаружены и могут быть сконфигурированы:\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Включение/отключение поддержки записи для NTFS в один простой клик." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Инструмент конфигурации записи на NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Повторить перемонтирование" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "Ошибка монтирования %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Повторить перемонтирование" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Ошибка монтирования %s.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "Ошибка монтирования %s.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Текст ошибки:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Ошибка: Не удалось открыть /etc/mtab для чтения.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s содержит неправильный символ.\n" #~ "Вы должны выбрать простое имя, и не каталог." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s уже используется.\n" #~ "Пожалуйста, выберите другой." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Ошибка: во время конфигурирования\n" #~ "%s произошла ошибка. Пожалуйста,\n" #~ "попробуйте ещё раз." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Ошибка: Не удалось открыть %s для чтения.\n" #~ msgid "translator-credits" #~ msgstr "wiz " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Включение и отключение записи для NTFS одним кликом.\n" #~ "Этот инструмент использует драйвер ntfs-3g: http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Ошибка: Не удалось создать резервную копию /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "" #~ "Ошибка: не удалось включить поддержку записи для внутреннего устройства." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Ошибка: не удалось отключить поддержку записи для внутреннего устройства." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Ошибка: не удалось включить поддержку записи для внешнего устройства.\n" #~ "Скорее всего, это означает, что ваша установка не завершена. Пожалуйста, " #~ "переустановите ntfs-config и повторите попытку. Благодарим." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Ошибка: не удалось включить поддержку записи для внешнего устройства." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Ошибка: не удалось открыть /etc/fstab\n" #~ " Без этого ничего не заработает." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Ошибка: не удалось найти файл fdi.\n" #~ "Конфигурирование внешнего устройства отключено.\n" #~ "Вам надо переустановить ntfs-config для восстановления." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Предупреждение: не удалось найти %s.\n" #~ "Мы предполагаем, что это говорит о том, что неправильно установлен hal\n" #~ "и поэтому конфигурирование внешних устройств отключено." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Включение/отключение поддержки записи для NTFS в один простой клик.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Ошибка: программа должна выполняться от имени суперпользователя.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Ошибка: сбой при попытке инициализировать hal. Нельзя найти новый " #~ "раздел.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Выберите разделы для настройки\n" #~ "- Добавьте название для точки монтирования\n" #~ "- Запишите изменения" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Перемонтирование вашего внутреннего устройства NTFS. Пожалуйста " #~ "подождите." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Перемонтирование этого устройства не удалось. Пожалуйста \n" #~ "закройте все приложения, которые могут его использовать и повторите." ntfs-config-1.0.1/po/it.po0000644000175000017500000003613410646642504012257 00000000000000# Italian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-25 18:33+0000\n" "Last-Translator: Luca Livraghi \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:51+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Permessi insufficienti" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" "Devi avere i diritti di amministratore per avviare questa applicazione." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Driver per la lettura/scrittura su NTFS non installati" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Per poter abilitare il supporto alla scrittura per i tuoi dischi NTFS, devi " "dapprima installare il driver ntfs-3g.\n" "Se la tua distribuzione non lo fornisce, scaricalo da:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Tool grafico di configurazione per la scrittura su NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Sono state rilevate nuove partizioni" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Configurazione avanzata" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Altrimenti, puoi configurarli \n" "automaticamente premendo il pulsante \"Configurazione automatica\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Applicazione delle modifiche.\n" "Attendere fino al termine del processo." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Configurazione automatica" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Attiva il supporto in scrittura per dispositivi esterni" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Attiva il supporto in scrittura per dispositivi interni" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Le seguenti nuove partizioni sono state\n" "trovate.\n" "Seleziona quelle che vuoi configurare" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" "Attiva/Disattiva il supporto in scrittura delle partizioni NTFS con un solo " "clic." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Strumento di configurazione NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Aggiungi" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "dispositivo" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Punto di Mount" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Errore durante la formattazione" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s contiene un carattere invalido.\n" "Il punto di mount deve essere in /media/. Alternativamente, puoi inserire un " "nome semplice, come disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Scrivibile" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Punto di mount" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Totale" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Utilizzato" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Tornare alla versione precedente?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Tutte le modifiche che hai effettuato verranno perse.\n" "Vuoi continuare?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Smontare i dischi selezionati?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Hai disabilitato i dischi seguenti:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Vuoi smontarli?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Smontaggio selezionato" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "È richiesto il riavvio del sistema" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Per poter applicare le modifice,\n" "è necessario riavviare il computer." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Montaggio della partizione in corso" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Smontaggio della partizione in corso" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Applicazione dei cambiamenti in corso" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Smontaggio di %s in corso" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Montaggio di %s in corso" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Smontaggio non riuscito" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Lo smontaggio di %s è fallito a causa del seguente errore:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "Puoi anche usare l'opzione 'lazy' per smontare adesso il filesystem." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Smontaggio di %s fallito, perché\n" "è attualmente in uso dalle applicazioni seguenti:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" "Chiudi tutte le applicazioni che lo stanno usando e riprova a smontarlo." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Il filesystem potrebbe essere temporaneamente occupato.Riprova tra qualche " "secondo." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Smonta con l'opzione 'lazy'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Riprova lo smontaggio" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Anche con l'opzione lazy, smontaggio fallito." #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Montaggio non riuscito" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Il montaggio di %s è fallito a causa del seguente errore:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Riprova il mount" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Puoi provare una delle azioni seguenti:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Sembra che l'opzione '%s' non sia permessa." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Ripristina le opzioni" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Non usare l'opzione '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Sembra che il tipo di filesystem '%s' non sia valido." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Non sono disponibili driver per questo tipo di filesystem: '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Puoi provare ad usare l'opzione 'force'. Ma sii consapevole che può essere " "pericoloso." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Usa l'opzione 'force'" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Rimuovere i dischi sconosciuti\n" #~ "dal file di configurazione?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Non riesco a trovare nessun block device esistente\n" #~ "corrispondente ai dispositivi seguenti:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "È consigliabile rimuoverli, evitando così il fallimento del montaggio\n" #~ "all'avvio. Seleziona quelli che vuoi rimuovere." #~ msgid "Remove selected" #~ msgstr "Rimuovi selezionati" #~ msgid "Duplicate entry detected" #~ msgstr "Trovata voce duplicata" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "" #~ "Le voci seguenti della tuo file di configurazione usano lo stesso punto " #~ "di mount:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Due dispositivi differenti non possono condividere lo stesso punto di " #~ "mount.\n" #~ "Dovresti selezionare uno che vuoi, e gli altri verranno commentati.\n" #~ "Verranno conservati nel file di configurazione, ma verranno disabilitati." #~ msgid "Keep selected" #~ msgstr "Mantieni selezionato" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "Usa il tipo predefinito '%s' per questo filesystem" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Messaggio di errore:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Errore: Impossibile aprire /etc/mtab in modalità lettura\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s contiene un carattere non valido.\n" #~ "Devi scegliere solo un nome e non una directory" #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s è già in uso.\n" #~ "Sceglierne un'altra." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Errore: E' occorso un errore durante il tentativo di configurazione di\n" #~ " %s. Ritenta, grazie." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Errore: Impossibile aprire %s n modalità lettura\n" #~ msgid "translator-credits" #~ msgstr "Freedreamer " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Abilita/Disabilita il supporto in scrittura delle partizioni NTFS con un " #~ "solo click.\n" #~ "Questo programma usa i driver ntfs-3g : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Errore: Impossibile fare un backup di /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "" #~ "Errore: Impossibile attivare la modalità scrittura per dispositivi " #~ "interni." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Errore: Impossibile disattivare la modalità scrittura per dispositivi " #~ "interni." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Errore: Impossibile attivare la modalità scrittura per dispositivi " #~ "esterni.\n" #~ "Questo significa probabilmente che la tua installazione non è completa: " #~ "prova a reinstallare ntfs-config e riprova. Grazie." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Errore: Impossibile disattivare la modalità scrittura per dispositivi " #~ "interni." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "Errore: Impossibile aprire /etc/fstab" #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Errore: Impossibile trovare il file fdi.\n" #~ "La configurazione di dispositivi esterni è disattivata.\n" #~ "Probabilmente è necessario reinstallare ntfs-config\n" #~ "per il ripristino" #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Attenzione : Impossibile trovare %s.\n" #~ "Crediamo ciò signfichi che la funzionalità non sia propriamente " #~ "installata\n" #~ "e pertanto sarà disabilitata la configurazione dei dispositivi esterni" #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.Attiva/Disattiva il supporto in scrittura delle partizioni NTFS con un " #~ "solo click.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Errore: il programma richiede i requisiti di root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Errore: ci sono stati problemi durante l'inizializzazione di hal. " #~ "Inpossibile cercare nuove partizioni.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Seleziona la partizione da configurare\n" #~ "- Aggiungi un nome per il punto di mount\n" #~ "- Fai click per applicare le modifiche" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Remount delle partizioni NTFS dei dispositivi interni in corso. " #~ "Attendere prego." ntfs-config-1.0.1/po/pt.po0000644000175000017500000003031610646642505012263 00000000000000# Portuguese translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-05-28 14:45+0000\n" "Last-Translator: Joel Calado \n" "Language-Team: Portuguese (Portugal) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:50+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Feramenta de suporte à escrita em NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Activar suporte à escrita em dispositivos externos" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Activar suporte à escrita em dispositivos internos" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Activar/Desactivar suporte à escrita em NTFS com um simples clique." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Ferramenta de configuração NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Mensagem de erro:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Erro : Não foi possível abrir /etc/mtab em modo de leitura.\n" #~ msgid "" #~ "Mounting %s failed.\n" #~ "\n" #~ "%s" #~ msgstr "" #~ "Falhou ao montar %s.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s contém um carácter inválido.\n" #~ "deve escolher um nome, não um directório." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s já está em uso.\n" #~ "Por favor escolha outro." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Erro : Um erro ocorreu quando tentava configurar\n" #~ " %s, por favor volte a tentar. Obrigado." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Erro : Não é possível abrir %s em modo de leitura.\n" #~ msgid "translator-credits" #~ msgstr "Ruben Rebelo" #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Activar/desactivar o suporte a escrita em NTFS com um clique.\n" #~ "Esta ferramenta usa o driver ntfs-3g : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "" #~ "Erro : Não foi possível efectuar uma cópia de segurança de /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "" #~ "Erro : Falhou ao activar o suporte a escrita para dispositivos internos." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Erro : Falhou ao desactivar o suporte a escrita para dispositivos " #~ "internos." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Erro : Falhou ao activar o suporte a escrita para dispositivos externos.\n" #~ "Isto provavelmente significa que a instalação não ficou completa, por " #~ "favor re-instale o ntfs-config e volte a tentar. Obrigado." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Erro : Falhou ao desactivar o suporte a escrita para dispositivos " #~ "externos." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Erro : Não foi possível abrir /etc/fstab\n" #~ " Isto não vai funcionar." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Erro : Não foi encontrado o ficheiro fdi.\n" #~ "A configuração de dipositivos externos foi desactivada.\n" #~ "Vai provavelmente ter que re-instalar o ntfs-config\n" #~ "para reparar isto." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Atenção : %s não foi encontrado.\n" #~ "Assumindo que isto significa que o HAL não está devidamente instalado\n" #~ "e consequentemente a configuração de dispositivos externos está " #~ "desactivada." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Activar/desactivar suporte à escrita em NTFS com um simples clique.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "" #~ "Erro : Este programa deve ser executado como super utilizador (root).\n" #~ msgid "" #~ "Error : It seams that the ntfs-3g driver necessary\n" #~ "to get write support, is not install on your system.\n" #~ "Check http://www.ntfs-3g.org to know how to install it.\n" #~ msgstr "" #~ "Erro : Aparentemente o controlador ntfs-3g necessário\n" #~ "para ter suporte à escrita não está instalado no sistema.\n" #~ "Verifique em http://www.ntfs-3g.org como instala-lo.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Erro : Um erro ocorreu quando tentava inicializar o HAL. Não é possível " #~ "procurar novas partições.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Seleccione as partições que quer configurar\n" #~ "- Adicione um nome para o ponto de montagem\n" #~ "- Clique em Aplicar" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "A re-montar o seu dispositivo NTFS interno. Por favor espere." #~ msgid "" #~ "The following new partitions were\n" #~ "detected and can be configured :\n" #~ "" #~ msgstr "" #~ "As seguintes novas partições foram\n" #~ "detectadas e podem ser configuradas :\n" #~ "" #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "A re-montagem dos seguintes dispositivos falhou. Por favor \n" #~ "feche todos os programas que os possam estar a usar e volte a tentar." #~ msgid "Retry to remount" #~ msgstr "Nova tentativa de re-montagem" #~ msgid "gtk-about" #~ msgstr "gtk-sobre" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancelar" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" ntfs-config-1.0.1/po/fa.po0000644000175000017500000001475310646642504012234 00000000000000# Persian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-05-09 20:41+0000\n" "Last-Translator: amp3030 \n" "Language-Team: Persian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:46+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/hr.po0000644000175000017500000001733110646642504012252 00000000000000# Croatian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-23 20:47+0000\n" "Last-Translator: Adrian Goll \n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:44+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Nedovoljna prava" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Potrebna su administrativna prava da pokrenete ovu aplikaciju." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "NTFS driver za Čitanje/Zapisivanje nije instaliran" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Kako bi omogućili zapisivanje na vaš NTFS uređaj, prvo morat instalirati " "ntfs-3g driver.\n" "Ako ga vaša distribucija ne pruža, možete ga naći ovdje:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Nove particije detektirane" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Napredna konfiguracija" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativno, možete ih konfigurirati \n" "automatski sa dugmetom \"Automatski Konfiguriraj\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Primjenjujem promjene.\n" "Molim sačekajte dok proces završi." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Automatski Konfiguriraj" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Omogući podršku zapisivanja za vanjski uređaj" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Omogući podršku zapisivanja za unutrašnji uređaj" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Slijedeće nove particije su detektirane.\n" "Odaberite one koje želite konfigurirati:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Omogući/onemogući podršku zapisivanja za NTFS s jednostavnim klikom." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Konfiguracijski Alat" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Dodaj" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Uređaj" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Točka montiranja" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Greška pri formatiranju" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s sadrži nevaljani karakter.\n" "Točka montiranja trebala bi se nalaziti u /media/. Alternativno, možete " "unijeti jednostavno ime, kao disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Zapisivo" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Točka montiranja" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Ukupno" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Upotrijebljeno" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Vraćanje na prijašnju verziju?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Sve promjene koje ste upravo napravili će biti izgubljene.\n" "Jeste li sigurni?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/cs.po0000644000175000017500000002500310646642503012240 00000000000000# Czech translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-22 09:22+0000\n" "Last-Translator: Petr Halas \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:48+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Nedostatečná oprávnění" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Pro spuštění této aplikace potřebujete práva administrátora." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Ovladač pro čtení/zápis NTFS není nainstalovaný." #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Pro podporu zápisu na zařízení NTFS potřebujete nejprve nainstalovat ovladač " "ntfs-3g.\n" "Pokud ho vaše distribuce nenabízí, můžete ho získat z:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Nástroj nastavení podpory zápisu na NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Detekovány nové oddíly" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Pokročilé nastavení" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativně je můžete nastavit \n" "automaticky tlačítkem \"Automatické nastavení\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Provádím změny.\n" "Prosím vyčkejte na dokončení." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Automatické nastavení" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Povolit podporu zápisu pro externí zařízení" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Povolit podporu zápisu pro interní zařízení" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Následující nové oddíly byly rozpoznány.\n" "Vyberte, které chctete konfigurovat:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Povolí/zakáže podporu zápisu pro NTFS jedním kliknutím." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Nastavení NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "?:" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Přidat" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Zařízení" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Bod připojení" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Chyba formátování" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s obsahuje neplatný znak.\n" "Bod připojení by měl být v /media/. Nebo můžete vložit jednoduché jméno, " "např. disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Zapisovatelný" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Bod připojení" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Celkem" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Použito" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Vrátit se k předchozí verzi?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Všechny změny budou ztraceny.\n" "Chcete pokračovat?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "Odpojit zakázaná zařízení?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Byly zakázíny následující zařízení:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Chcete je odpojit?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Odpojit vybrané" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Je vyžadován restart" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "K provedení všech změn\n" "je třeba restartovat počítač." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Připojuji oddíl" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Odpojuji oddíl" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Provádím změny" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Odpojuji %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Připojuji %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Odpojení selhalo" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Odpojení %s selhalo kvůli následující chybě:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "Nyní také můžete použít volbu 'lazy' pro odpojení souborového systému." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Odpojení %s selhalo, protože\n" "je právě používán následujícími aplikacemi:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "Ukončete všechny aplikace, které je používají a opakujte odpojení." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Souborový systém může být zaneprázdněn. Vyčkejte nekolik vteřin a opakujte " "akci." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Odpojit s volbou 'lazy'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Opakovat odpojení" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "I přes použití volby 'lazy' odpojení selhalo." #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "Připojení selhalo" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Připojení %s selhalo kvůli následující chybě:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Opakovat připojení" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Můžete zkusit následující akce:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Vypadá to, že volba %s' není povolena." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Použít výchozí hodnoty" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Nepoužívejte volbu '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Vypadá to, že tento typ systému souborů '%s' není platný." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Není dostupný ovladač pro tento typ systému souborů: '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "Můžete zkusit použít volbu 'force'. OPATRNĚ, může to být riskantní." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Použijte volbu 'force'" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Odstranit neznámá zařízení\n" #~ "z konfiguračního souboru?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Nemohu nalézt existující bloková zařízení,\n" #~ "která odpovídají následujícím zařízením:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Je doporučeno je odstranit, abyste zabránili chybě připojování\n" #~ "při startu. Vyberte, které chcete odstranit." #~ msgid "Remove selected" #~ msgstr "Odstranit vybrané" #, fuzzy #~ msgid "Duplicate entry detected" #~ msgstr "Byla detekována duplikátní položka." #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "" #~ "Následující položky konfiguračního souboru použícají stejný bod připojení:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Dvě různá zařízení nemohou sdílet stejný bod připojení.\n" #~ "Vyberte si libovolné z nich, ostatní budou zakomentována.\n" #~ "Zůstanou v konfiguračním souboru, ale budou zakázána." #~ msgid "Keep selected" #~ msgstr "Ponechat vybrané" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "Použít výchozí typ '%s' pro tento systém souborů." ntfs-config-1.0.1/po/en_GB.po0000644000175000017500000002404510646642503012612 00000000000000# English (United Kingdom) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-07-03 19:33+0000\n" "Last-Translator: Nicholas Wastell \n" "Language-Team: English (United Kingdom) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:29+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "You need administrative rights to start this application" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Read/Write NTFS driver not installed" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "In order to enable write support for your NTFS devices, you must first " "install the ntfs-3g driver.\n" "If your distribution doesn't provide it, you can get it from:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS write support configuration tool" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "New partitions detected" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Advanced Configuration" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternatively you can configure them\n" "automatically with the \"Auto Configure\" button" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Applying changes.\n" "Please wait until the process finishes." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Auto Configure" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Enable write support for external devices" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Enable write support for internal devices" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "The following new partitions were detected.\n" "Select the ones you want to configure:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Enable/disable write support for NTFS with a simple click." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Configuration Tool" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Add" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Device" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Mount Point" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Formatting error" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Writable" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Mount point" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Total" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Used" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Reverting to a previous version" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "All changes that you just made will be lost.\n" "Do you want to continue?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Unmounting disabled devices" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "You disabled the following devices:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Do you want to unmount them?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Unmount selected" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Reboot required" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "In order to apply all your changes,\n" "you need to reboot your computer." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Unmounting %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Mounting %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Unmounting failed" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Unmounting %s failed with the following error:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "You can also use the 'lazy' option to unmount the filesystem now." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Unmounting %s failed because\n" "it is currently in use with the following applications:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Retry unmount" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Mounting failed" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Mounting %s failed because of the following error:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "Insufficient rights" #~ msgstr "Insufficient rights" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Removing unknown devices from\n" #~ "the configuration file" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Unable to find any block devices\n" #~ "corresponding to the following devices:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgid "Remove selected" #~ msgstr "Remove selected" #~ msgid "Duplicate entry detected" #~ msgstr "Duplicate entry detected" #~ msgid "The following entries of your configuration file are duplicates:" #~ msgstr "The following entries of your configuration file are duplicates:" #~ msgid "" #~ "This program can not manage for the moment duplicate entries\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "This program cannot yet manage duplicate entries.\n" #~ "You should select the one you want to keep and the others will be " #~ "commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgid "Keep selected" #~ msgstr "Keep selected" #~ msgid "Mounting partitions" #~ msgstr "Mounting partitions" #~ msgid "Unmounting partitions" #~ msgstr "Unmounting partitions" #~ msgid "Close all applications that could use it and retry to unmount." #~ msgstr "Close applications that are using it and retry unmount." #~ msgid "(followed by the output of dmesg | tail)" #~ msgstr "(followed by the output of dmesg | tail)" ntfs-config-1.0.1/po/da.po0000644000175000017500000001476010646642503012227 00000000000000# Danish translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-05-09 18:30+0000\n" "Last-Translator: Martin Pihl \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:35+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/ChangeLog0000644000175000017500000000000010627104012013016 00000000000000ntfs-config-1.0.1/po/ko.po0000644000175000017500000003023010646642504012243 00000000000000# Korean translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:45+0000\n" "Last-Translator: Young-Ho Cha \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:34+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS 쓰기 지원 설정 도구" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "NTFS 쓰기 지원 설정 도구" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "외장 장치에 쓰기 지원 켜기" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "내장 장치에 쓰기 지원 켜기" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "다음의 설정 가능한 새 파티션이 \n" "발견되었습니다 :\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "NTFS 쓰기 지원을 한번 클릭으로 끄고 켭니다." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS 쓰기 지원 설정 도구" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "다시 마운트 시도" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "%s 마운트 실패.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "다시 마운트 시도" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "%s 마운트 실패.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "%s 마운트 실패.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "gtk-close" #~ msgstr "gtk-ok" #, fuzzy #~ msgid "gtk-undo" #~ msgstr "gtk-ok" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "오류 메세지 :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "오류 : /etc/mtab 파일을 읽기 전용 모드로 열 수 없습니다.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s에 잘못된 문자가 들어있습니다.\n" #~ "디렉토리 대신 이름을 선택하여야 합니다." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s (은)는 이미 사용중입니다.\n" #~ "다른 이름으로 선택하십시오." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "오류 : %s 설정 중 오류가 발생했습니다.\n" #~ "죄송합니다, 다시 시도하시기 바랍니다." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "오류 : %s(을)를 읽기 전용 모드로 열 수 없습니다.\n" #~ msgid "translator-credits" #~ msgstr "차영호 , 2007" #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "한번 클릭으로 NTFS 쓰기 지원을 켜고 끌 수 있습니다.\n" #~ "이 도구는 ntfs-3g 드라이버를 사용합니다 : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "오류 : /etc/fstab을 보관할 수 없습니다.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "오류 : 내장 장치에 쓰기를 사용할 수 없습니다." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "오류 : 내장 장치에 쓰기지원을 끌 수 없습니다." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "오류 : 외부 장치에 쓰기지원을 켤 수 없습니다.\n" #~ "설치가 잘못된 것 같습니다. ntfs-config를 다시 설치한 후, 다시 시도하시기 " #~ "바랍니다." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "오류 : 외부 장치에 쓰기지원을 끌 수 없습니다." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "오류 : /etc/fstab을 열 수 없습니다\n" #~ "작동하지 않을 것 입니다." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "오류 : fdi 파일을 찾을 수 없습니다.\n" #~ "외부 장치의 설정이 불가능합니다.\n" #~ "ntfs-config를 다시 설치하십시오." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "주의 : %s(을)를 찾을 수 없습니다.\n" #~ "hal이 올바르게 설치가 되지 않았습니다.\n" #~ "외부 장치 설정을 끄도록 합니다." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "NTFS 쓰기 지원을 한번 클릭으로 끄고 켭니다.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "오류 : 이 프로그램은 root권한으로 실행해야 합니다.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "오류 : hal을 초기화 하는데 오류가 생겼습니다. 새 파티션을 찾을 수 없습니" #~ "다.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- 설정하려는 파티션을 선택하십시오\n" #~ "- 마운트 위치에 대한 이름을 넣으십시오\n" #~ "- 적용을 누르십시오" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "NTFS(으)로 포맷된 내장 장치를 다시 마운트 중입니다. 잠시만 기다리십시" #~ "오." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "다음 장치를 다시 마운트하는데 실패했습니다. 장치를 \n" #~ "사용하는 모든 프로그램을 닫고 다시 시도하시기 바랍니다." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" ntfs-config-1.0.1/po/es.po0000644000175000017500000002573410646642503012255 00000000000000# Spanish translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 06:08+0000\n" "Last-Translator: skarevoluti \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:36+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Permisos Insuficientes" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Necesita derechos administrativos para iniciar esta aplicación." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Controlador NTFS de Lectura/Escritura no instalado" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "si desea activar el soporte de escritura para sus dispositivos NTFS, " "necesita instalar primero el controlador ntfs-3g\n" "Si su distribución no lo incluye, lo puede obtener de la siguiente " "dirección:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Herramienta de configuración del soporte de escritura NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Nuevas particiones han sido detectadas" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Configuración avanzada" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativamente podrá configurar \n" "automáticamente con el botón \"Configurar automáticamente\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Aplicando cambios.\n" "Por favor espere mientras finaliza el proceso." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Configurar automáticamente" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Activar soporte de escritura de dispositivos externos" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Activar soporte de escritura de dispositivos internos" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Se han detectado nuevas particiones\n" "Seleccione la que desee configurar:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Activar/desactivar soporte de escritura para NTFS con un simple click." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Herramienta de Configuración NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Agregar" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Dispositivo" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Punto de montaje:" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Error al cambiar el formato" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s contiene un carácter inválido.\n" "El punto de montaje podría estar en /media/. Si lo desea, usted puede " "asignar un nombre simple, como disco" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Puede modificarse" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Punto de montaje" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Total" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Usado" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Desea volver a la versión anterior?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Los cambios que ha realizado se perderán.\n" "Desea continuar?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Desmontar los dispositivos desactivados?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Ha desactivado los siguientes dispositivos:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Desea desmontarlos?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Desmontar selección" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Es necesario reiniciar" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Para poder aplicar todos los cambios,\n" "es necesario que reinicie su equipo." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Montando partición" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Desmontando partición" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Aplicando los cambios" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Desmontando %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Montando %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Desmontaje fallido" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "No fue posible desmontar %s a causa del siguiente error:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "También puede usar la opción 'Perezoso' para separar el sistema de archivos " "ahora." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Falló el desmontaje de %s. Las siguientes aplicaciones están siendo " "usadas en este momento:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" "Cierre todas las aplicaciones que esta usando y vuelva a intentar el " "desmontaje." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "El sistema de archivos podría estar temporalmente ocupado. Por favor espere " "unos segundos y vuelva a intentarlo." #: ../NtfsConfig/Fstab/Mounter.py:137 #, fuzzy msgid "Unmount with the 'lazy' option" msgstr "Desmontar con la opción 'perozoso'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Volver a intentar desmontaje" #: ../NtfsConfig/Fstab/Mounter.py:141 #, fuzzy msgid "Even with the lazy option, unmounting failed." msgstr "Aún con la opción 'Perezoso', el desmontaje ha fallado." #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Desmontaje fallido." #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Error al montar %s. Ha ocurrido el siguiente error:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Volver a intentar el montaje" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Puede intentar una de las acciones siguientes:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Al parecer la opción '%s' no esta permitida." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Volver a las opciones predeterminadas" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "No use la opción '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Al parecer este tipo de sistema de archivos '%s' no es válido." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Ningún controlador disponible para este sistema de archivos : '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 #, fuzzy msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Puede intentar usar la opción 'forzar'. Esta acción podría ser riesgosa." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Usar la opción 'forzar'" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Desea remover los dispositivos desconocidos del\n" #~ "archivo de configuración?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "No se pudo encontrar ningun bloque existente del dispositivo\n" #~ "que corresponda a los siguientes dispositivos:" #, fuzzy #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Es aconsejable removerlos en el orden adecuado para evitar un montaje " #~ "fallido\n" #~ "al inicio. Seleccione el que desee remover." #~ msgid "Remove selected" #~ msgstr "Eliminar selección" #~ msgid "Duplicate entry detected" #~ msgstr "Se ha encontrado una entrada duplicada" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "" #~ "Las siguientes entradas de su archivo de configuración usan el mismo " #~ "punto de montaje:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Dos dispositivos distintos no pueden compartir el mismo punto de " #~ "montaje.\n" #~ "Seleccione el que usted desee conservar, y los otros serán comentados.\n" #~ "Se conservarán en el archivo de configuración, pero serán desactivados." #~ msgid "Keep selected" #~ msgstr "Mantener Selección" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "Usar el tipo predeterminado '%s' para este sistema de archivos" ntfs-config-1.0.1/po/pt_PT.po0000644000175000017500000003012710646642505012666 00000000000000# Portuguese translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-02-08 12:25+0100\n" "Last-Translator: Joel calado \n" "Language-Team: Portuguese (Portugal) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-02-07 07:14+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Ferramenta de configuração do suporte a escrita NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" # #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "Ferramenta de Configuração NTFS" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Activar suporte a escrita para dispositivo externo" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Activar suporte a escrita para dispositivo interno" # #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "As seguintes partições foram\n" "detectadas e podem ser configuradas :\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Activar/desactivar suporte a escrita NTFS com um simples clique." # #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Ferramenta de Configuração NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Tentar re-montar" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "Montar %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Tentar re-montar" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Montar %s falhou.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "Montar %s falhou.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "gtk-close" #~ msgstr "gtk-ok" #, fuzzy #~ msgid "gtk-undo" #~ msgstr "gtk-ok" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Mensagem de Erro :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Erro : Não foi possível abrir /etc/mtab em modo de leitura.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s contém um caractere inválido.\n" #~ "Precisa de escolher um nome simples, e não um directório." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s já está em uso.\n" #~ "Por favor escolha outra." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Erro : Ocorreu um erro durante a configuração\n" #~ " %s, por favor tente de novo. Obrigado." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Erro : Não foi possivel abrir %s em modo de leitura.\n" #~ msgid "translator-credits" #~ msgstr "Joel Calado " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Activar/Desactivar suporte a escrita NTFS com um click.\n" #~ "Esta ferramenta usa o driver ntfs-3g: http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Erro : Não foi possivel fazer backup /etc/fstab.\n" # #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Erro : Falha ao activar suporte a escrita para dispositivo interno." # #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Erro : Falha ao desactivar suporte a escrita para dispositivo interno." # #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Erro : Falha ao activar suporte a escrita para dispositivo externo.\n" #~ "Provavelmente significa que a sua instalação não foi devidamente " #~ "concluída, por favor reinstale o ntfs-config e tente de novo. Obrigado." # #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Erro : Falha ao desactivar suporte a escrita para dispositivo externo." # #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Error : Não foi possivel abrir /etc/fstab\n" #~ "O programa não irá funcionar." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Erro : Não foi possível encontrar o ficheiro fdi.\n" #~ "Configuração de dispositivo externo está desactivada.\n" #~ "Provavelmente terá que reinstalar o ntfs-config\n" #~ "para restaura-lo." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Cuidado: Não foi possível encontrar %s.\n" #~ "Assume-se que o hal não esta instalado de forma apropriada\n" #~ "então desactivamos a Configuração de dispositivos externos." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Activar/desactivar suporte a escrita NTFS com um simples clique.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Erro : Este programa precisa de ser executado como root.\n" # #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Erro : Ocorreu um erro ao inicializar o hal. Não foi possível procurar " #~ "novas partições.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Seleccione as partições que quer configurar\n" #~ "- Atribua um nome para o ponto de montagem\n" #~ "- Clique em aplicar" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Re-montando o seu dispositivo interno NTFS. Por favor espere." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Re-montagem do seguinte dispositivo falhou. Por favor \n" #~ "feche todos os programas que o possam estar a usar e tente de novo." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" ntfs-config-1.0.1/po/de.po0000644000175000017500000002351710646642503012233 00000000000000# German translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-22 03:03+0000\n" "Last-Translator: Stefanie Koch \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:38+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Sie benötigen administrative Rechte um diese Anwendung zu Starten." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Lese/Schreib NTFS Treiber nicht installiert." #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Um die Schreibrechtunterstützung für ihr NTFS Gerät zu aktiviren, müssen Sie " "erst den ntfs-3g Treiber installieren.\n" "Wenn Ihre Distribution diesen Treiber nicht enthält, können Sie ihn hier " "finden:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Konfigurationstool für den NTFS Schreibsupport" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Neue Partition erkannt." #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "NTFS Konfigurationstool" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativ hierzu, können Sie auch die Konfiguration automatisch mit dem " "\"Auto Configure\" Knopf starten." #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Veränderungen werden angewandt.\n" "Bitte warten Sie bis dieser Prozess abgeschlossen wurde." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "automatische Konfiguration" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Schreibfunktion für externe Geräte aktivieren." #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Schreibfunktion für interne Geräte aktivieren." #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Folgende Partitionen wurden entdeckt.\n" "Bitte wählen Sie aus, welche Sie konfiguriren möchten:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Schreibsupport für NTFS mit einem Klick aktivieren/deaktivieren." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Konfigurationstool" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "geben sie eine Eitrittspunkt an" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Eitrittspunkt" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Formatierungsfehler" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Eitrittspunkt" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Zur vorherigen Version zurückkehren?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Alle eben gemachten Änderungen werden verloren gehen. Möchten Sie fortfahren?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "Freigabe der deaktivierten Geräte?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Sie haben die folgenden Geräte audgeschaltet:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Möchten sie diese enfernen?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "Fehler beim Mounten von %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Neustart erforderlich" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Um alle Änderungen zu aktivieren, müssen Sie ihren Computer neustarten." #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "Einbindung der Partition" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "Partition wird freigegeben" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Änderungen werden übertragen" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "Fehler beim Mounten von %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "Fehler beim Mounten von %s.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "Freibabe fehlgeschlagen" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Unmounting %s fehlgeschlagen, wegen des folgenden Fehlers:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "Außerdem können Sie auch die \"lazy\" Option nutzen um das Dateisystem zu " "lösen." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 #, fuzzy msgid "Close all applications that use it and retry to unmount." msgstr "" "Schliessen Sie alle Anwendungen, die es benutzen könnten und versuchen Sie " "dann nochmals die Einbindung zu lösen." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Das Dateisystem könnte vorübergehend ausgelastet sein. Waten Sie einige " "Sekunden bevor Sie einen Neuversuch starten." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "erneuter Unmountversuch" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Trotz der \"Lazy-Option\" ist der Unmountversuch fehlgeschagen." #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "Einbindung/Freibabe fehlgeschlagen" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" "Die Einbindung von %s ist wegen des folgenden Fehlers fehlgeschlagen." #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "erneuter Freigabe-/Unmountversuch" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Sie können eine der folgenden Aktionen versuchen:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Es scheint als sei Option '%s' nicht zulässig." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Optionen auf Stadard zurücksetzen" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Sie können es mit \"Force\" Option versuchen. Dies könnte riskant sein." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "Entferne unbekannte Geräte aus der Konfigurationsdatei." #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Um Einbindungsfehler beim Startup zu vermeiden, wird empfolen sie zu " #~ "entfernen.\n" #~ "Wählen sie aus, welche Sie enfernen wollen." #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Fehler beim Mounten von %s.\n" #~ "\n" #~ "%s" #~ msgid "Duplicate entry detected" #~ msgstr "Doppelter Eintrag erkannt" #, fuzzy #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "Die folgenden Einträge ihrer Konfigurationsdatei sind Duplikate:" #, fuzzy #~ msgid "Keep selected" #~ msgstr "Auswahl beibehalten." ntfs-config-1.0.1/po/POTFILES.skip0000644000175000017500000000005610627104012013374 00000000000000[encoding: UTF-8] data/ntfs-config.desktop.in ntfs-config-1.0.1/po/hi.po0000644000175000017500000001516110646642504012240 00000000000000# Hindi translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-05 05:39+0000\n" "Last-Translator: Sukanto Ghosh \n" "Language-Team: Hindi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:37+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "Insufficient rights" #~ msgstr "अपर्याप्त अधिकार" ntfs-config-1.0.1/po/oc.po0000644000175000017500000001507210646642505012243 00000000000000# Occitan (post 1500) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-04-07 17:08+0000\n" "Last-Translator: Yannig MARCHEGAY (Kokoyaya) \n" "Language-Team: Occitan (post 1500) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:34+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Esplech de configuracion de NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/zh_HK.po0000644000175000017500000002503110646642506012642 00000000000000# Chinese (Hong Kong) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # Abel Cheung , 2007. # msgid "" msgstr "" "Project-Id-Version: ntfs-config 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-14 04:38+0000\n" "Last-Translator: freefallingbody \n" "Language-Team: Chinese (Hong Kong) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:42+0000\n" #: ../ntfs-config.in:61 #, fuzzy msgid "Insufficient rights" msgstr "權限不足" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "未安裝有 NTFS 讀寫功能的驅動程式" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "NTFS 裝置如果要開啟讀寫功能,需要先安裝 ntfs-3g 驅動程式。\n" "如果你使用的 distribution 沒有,可以從以下位置下載:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS 讀寫支援設定工具" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "偵測到新的分割區" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "進階設定" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "另外也可以按「自動設定」按鈕來設定。" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "正在套用設定。\n" "請等待程序完成。" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "自動設定" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "啟用外部裝置的讀寫支援" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "啟用內部裝置的讀寫支援" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "偵測到以下的新分割區。\n" "請選擇要設定哪一個:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "按一下即能開關 NTFS 檔案系統的讀寫支援。" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS 設定工具" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "<輸入掛載目錄>" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "新增" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "裝置" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "掛載目錄" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "格式化錯誤" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "可讀寫" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "掛載目錄" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "總共" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "已用" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "是否還原至以往的版本?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "將會失去所有更改過的設定。\n" "是否繼續?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "是否卸載已經停用的裝置?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "以下的裝置已經停用:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "是否想卸載這些檔案系統?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "卸載已選擇的項目" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "需要重新啟動電腦" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "如果要套用所有更改過的設定,\n" "需要重新啟動電腦。" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 #, fuzzy msgid "Applying changes" msgstr "套用變更" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "卸載失敗" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "重新嘗試卸載" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "掛載失敗" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 #, fuzzy msgid "Return options to defaults" msgstr "還原成預設值" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "是否從設定檔中移除不明的裝置?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "找不到任何實際的儲存媒體能夠對應這個裝置設定:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "建議將它們移除,避免啟動電腦時無法成功掛載檔案系統。請選擇想移除的項目。" #~ msgid "Remove selected" #~ msgstr "移除已選擇的項目" #~ msgid "Duplicate entry detected" #~ msgstr "偵測到重複的項目" #~ msgid "The following entries of your configuration file are duplicates:" #~ msgstr "設定檔中有以下的重複項目:" #~ msgid "" #~ "This program can not manage for the moment duplicate entries\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "目前本程式無法管理有重複的檔案系統設定;你必須選定想採用哪一行,然後其它的" #~ "會暫時停用,但仍于以保留。" #~ msgid "Keep selected" #~ msgstr "保留已選擇的項目" #~ msgid "Unsufficient privileges" #~ msgstr "權限不足" #~ msgid "You need administritive privilege to start this application." #~ msgstr "你需要管理員的身分方可執行這個程式。" #~ msgid "" #~ " contains an invalid character. Mount point\n" #~ "should be in /media/. Alternatively, you can\n" #~ "enter a simple name, like disk." #~ msgstr "" #~ " 含有無效的字符。掛載目錄必須位於 /media 之下。\n" #~ "另一個選擇是輸入簡單的英文字,例如 disk。" #~ msgid "(can't show)" #~ msgstr "(無法顯示)" #~ msgid "Mounting" #~ msgstr "掛載" #~ msgid "Unmounting" #~ msgstr "卸載" #~ msgid "%s partitions" #~ msgstr "%s 分割區" #~ msgid "Unmounting " #~ msgstr "卸載 " #~ msgid "" #~ " failed, because\n" #~ "it is currently used by the following applications :" #~ msgstr "失敗,因為以下的程式正在使用該檔案系統:" #~ msgid "" #~ "Close all applications that could use it\n" #~ "and retry to unmount." #~ msgstr "請先關閉所有可能使用該檔案系統的程式,並重新嘗試卸載。" #~ msgid "" #~ " failed\n" #~ "because of the following error:" #~ msgstr " 失敗,因為發生以下錯誤:" #~ msgid "Mounting " #~ msgstr "掛載 " #~ msgid "" #~ " failed because of the following error:\n" #~ "(followed by the output of dmesg | tail)" #~ msgstr "" #~ " 失敗,因為發生以下錯誤:\n" #~ "(隨後會有 dmesg | tail 指令的輸出結果)" ntfs-config-1.0.1/po/fr.po0000644000175000017500000002250210646642504012244 00000000000000# Frensh translation of ntfs-config # Copyright (C) 2007 Mertens Florent # This file is distributed under the same license as the ntfs-config package. # Ersplus , 2007. # Mertens Florent , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config 0.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:37+0000\n" "Last-Translator: Florent Mertens \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:30+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Privilèges insuffisants" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" "Vous devez avoir les privilèges d'administrateur pour lancer cette " "application." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Le module d'écriture/lecture n'est pas installé" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Pour écrire sur vos périphériques NTFS, vous devez d'abord installer le " "module ntfs-3g\n" "Si votre distribution ne le propose pas, vous pouvez l'obtenir à partir " "de :\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Outil de configuration du support en écriture pour NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Nouvelles partitions détectées" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Configuration avancée" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativement, vous pouvez les configurer \n" "automatiquement avec le bouton \"Configuration auto\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Applications des changements\n" "Veuillez attendre la fin du processus" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Configuration Auto" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Activer l'écriture pour les périphériques externes" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Activer l'écriture pour les périphériques internes" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Les nouvelles partitions suivantes on été\n" "détectées est peuvent être configurées :" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" "Activer/Désactiver le support de l'écriture pour NTFS avec un simple clic." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Outil de Configuration NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Ajouter" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Périphérique" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Point de montage" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Erreur de formatage" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s contient un caractère invalide.\n" "Les point de montage doivent être dans /media/. Alternativement, vous pouvez " "entrer un simple nom, comme disque." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Ecrivable" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Point de montage" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Total" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Utilisé" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Revenir à la version précédente" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Tous les changements que vous avez effectués seront perdus.\n" "Voulez-vous continuer?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Démonter des périphériques désactivés ?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Vous venez de désacriver les péripheriques suivants :" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Voulez vous les démonter ?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Démonter sélection" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Redémarrage necessaire" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Pour appliquer tous vos changements,\n" "vous devrez redémarrer votre ordinateur." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Montage des partitions" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Démontage des partitions" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Applications des changements" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Démontage de %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Montage de %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Échec du démontage" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Le démontage de %s a échoué à cause de l'erreur suivante :" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "Vous pouvez aussi utiliser l'option 'lazy' pour détacher le système de " "fichier maintenant." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Le démontage de %s a échoué car\n" "il est actuellement utilisé par les applications suivantes :" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" "Fermer toutes les applications qui pourrez l'utiliser et réessayer de " "remonter." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Le système de fichier est probablement temporairement utilisé.\n" "Attendez quelques secondes et recommencez." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Démonter avec l'option 'lazy'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Réessayé de remonter" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Même avec l'option lazy, le démontage a échoué." #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Échec du montage" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Le montage de %s a échoué à cause de l'erreur suivante :" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Réessayé de monter" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Vous pouvez essayer une des actions suivantes :" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Il semble que l'option '%s' ne soit pas autorisé." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Revenir aux options par default" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Ne pas utiliser l'option '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Il semble que le type '%s' ne soit pas valide." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "Utilisé le driver '%s' (%s)" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Pas de driver disponible pour ce type de système de fichier : '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Vous pouvez essayé d'utiliser l'option 'force'. Soyez prévenu que cela peut " "être risqué." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Utiliser l'option 'force'" ntfs-config-1.0.1/po/si.po0000644000175000017500000002164010646642505012253 00000000000000# Sinhalese translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-07-06 00:27+0000\n" "Last-Translator: Malinthe Samarakoon \n" "Language-Team: Sinhalese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:26+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "හිමිකම් ප්‍රමාණවත් නැත" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "මෙම වැඩසටහන ආරම්භ කිරීම සඳහා ඔබට කළමනාකාරිත්ව අයිතීන් අවශ්‍යය." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "NTFS ලිවීමේ/කියවීමේ එළවුම ඇතුළත් කර නැත" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "ඔ‍බේ NTFS ධාවකයට ලිවීමේ හැකියාව ලබාදීමට මුලින්ම ntfs-3g එළවුම ඇතුළත් කළ යුතුය.\n" "ඔබේ බෙදාහැරීම එයා ලබා නොදෙන්නේ නම් ඔබට එය මෙතැනින් ලබාගත හැකියි:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS ලිවී‍ම් සහය සැකසුම් උපාංගය" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "නව පාටිෂන් හඳුනාගන්නා ලදී" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "සංකීර්ණ සැකසුම" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "ඔබට අවශ්‍ය නම් ඒවා ස්වයංක්‍රීයව සැකසීමට \n" "\"ස්වයංක්‍රීය සැකසුම\" යන බොත්තම ඔබන්න" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "සැකසුම් සුරැකෙමින් පවතී.\n" "ක්‍රියාවලිය අවසන් වනතෙක් රැඳී සිටින්න." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "ස්වයංක්‍රීය සැකසුම" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "පිටස්තර ධාවකය සඳහා ලිවීම් සහය සක්‍රිය කරන්න" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "අභ්‍යන්තර ධාවකය සඳහා ලිවීම් සහය සක්‍රිය කරන්න" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "පහත සඳහන් නව පාටිෂන් හඳුනාගන්නා ලදී.\n" "ඔබට සැකසීමට අවශ්‍ය ඒවා තෝරන්න:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "NTFS සඳහා ලිවීම් සහය එක ක්ලික් කිරීමකින් සක්‍රිය කරන්න/අක්‍රිය කරන්න." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS සැකසුම් මෙවලම" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "එක්කරන්න" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "ධාවකය" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "ලිවිය හැකි" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "සම්පූර්ණ" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "භාවිතා කරන" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "කලින් සංස්කරණයට මාරුවනවාද?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "ඔබ කළ සියළු වෙනස්කම් නැතිවනු ඇත.\n" "ඔබට මෙය ඉටුකිරීමට අවශ්‍යද?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "ඔබ පහත සඳහන් ධාවකයන් අක්‍රිය කරන ලදී:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/en_CA.po0000644000175000017500000001533010646642503012602 00000000000000# English (Canada) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-04-24 19:16+0000\n" "Last-Translator: Jonathan Zeppettini \n" "Language-Team: English (Canada) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:46+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS write support configuration tool" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Enable write support for external device" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Enable write support for internal device" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Enable/disable write support for NTFS with a simple click." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Configuration Tool" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/sv.po0000644000175000017500000003435010646642506012273 00000000000000# Swedish translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:43+0000\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:43+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" "Du behöver administrativa rättigheter för att starta det här programmet." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Drivrutin för att läsa/skriva NTFS är inte installerad" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "För att aktivera skrivstöd för dina NTFS-enheter behöver du först installera " "drivrutinen ntfs-3g.\n" "Om din distribution inte tillhandahåller den kan du hämta den från:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Konfigurationsverktyg för NTFS-skrivstöd" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Nya partitioner identifierades" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Avancerad konfiguration" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativt kan du konfigurera dem \n" "automatiskt med \"Konfigurera automatiskt\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Verkställer ändringar.\n" "Vänta tills processen är färdig." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Konfigurera automatiskt" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Aktivera skrivstöd för extern enhet" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Aktivera skrivstöd för intern enhet" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Följande nya partitioner identifierades.\n" "Välj de som du vill konfigurera:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Aktivera/inaktivera skrivstöd för NTFS med ett enda klick." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Konfigurationsverktyg för NTFS-skrivstöd" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Lägg till" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Enhet" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Monteringspunkt" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Formateringsfel" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s innehåller ett ogiltigt tecken.\n" "Monteringspunkten ska vara i /media/. Alternativt kan du ange ett enkelt " "namn, t.ex. disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Skrivbar" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Monteringspunkt" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Totalt" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Används" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Återställ till föregående version?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Alla ändringar som du precis har gjort kommer att gå förlorade.\n" "Vill du fortsätta?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Avmontera inaktiverade enheter?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Du inaktiverade följande enheter:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Vill du avmontera dem?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Avmontera markerade" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Omstart krävs" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Du behöver starta om din dator för att\n" "dina ändringar ska verkställas." #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Montering av %s misslyckades.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Montering av %s misslyckades.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Avmonterar %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Monterar %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Avmontering misslyckades" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Avmonteringen av %s misslyckades på grund av följande fel:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Avmonteringen av %s misslyckades på grund\n" "av att den för närvarande används av följande program:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Prova att avmontera igen" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Monteringen misslyckades" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Monteringen av %s misslyckades på grund av följande fel:" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Prova att avmontera igen" #: ../NtfsConfig/Fstab/Mounter.py:188 #, fuzzy msgid "You can try one of the following action:" msgstr "Du inaktiverade följande enheter:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Ta bort okända enheter från\n" #~ "konfigurationsfilen?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Jag kan inte hitta några befintliga blockenheter\n" #~ "som motsvarar följande enheter:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Det är rekommenderat att ta bort dem för att undvika misslyckade\n" #~ "monteringar vid uppstart. Markera de som du vill ta bort." #~ msgid "Remove selected" #~ msgstr "Ta bort markerade" #~ msgid "Duplicate entry detected" #~ msgstr "Dubblettpost identifierades" #, fuzzy #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "Följande poster i din konfigurationsfil är dubbletter:" #, fuzzy #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Det här programmet kan för närvarande inte hantera dubblettposter\n" #~ "Du bör markera de som du vill ha kvar, resten kommer att kommenteras ut.\n" #~ "De kommer att behållas i konfigurationsfilen men kommer att vara " #~ "inaktiverade." #~ msgid "Keep selected" #~ msgstr "Behåll markerade" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Felmeddelande :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Fel: Kunde inte öppna /etc/mtab i läsläge.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s innehåller ett ogiltigt tecken.\n" #~ "du måste välja ett enkelt namn, och inte en katalog." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s används redan.\n" #~ "Välj en annan." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Fel : Ett fel inträffade vid försök att konfigurera\n" #~ " %s, försök igen. Tack." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Fel : Kan inte öppna %s i läsläge.\n" #~ msgid "translator-credits" #~ msgstr "Daniel Nylander " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Aktivera/inaktivera skrivstöd för NTFS med ett klick.\n" #~ "Det här verktyget använder drivrutinen ntfs-3g.\n" #~ "http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Fel : Kan inte säkerhetskopiera /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Fel: Misslyckades med att aktivera skrivstöd för intern enhet." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "Fel : Misslyckades med att inaktivera skrivstöd för intern enhet." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Fel : Misslyckades med att aktivera skrivstöd för extern enhet.\n" #~ "Det här kan betyda att din installation inte är komplett. Installera om " #~ "ntfs-config och försök igen." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "Fel : Misslyckades med att inaktivera skrivstöd för extern enhet." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Fel : Kan inte öppna /etc/fstab\n" #~ " Det här kommer inte att fungera." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Fel : Kunde inte hitta fdi-filen.\n" #~ "Konfiguration av extern enheter är inaktiverat.\n" #~ "Du kommer antagligen behöva installera om\n" #~ "ntfs-config för att återställa den." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Varning : Kunde inte hitta %s.\n" #~ "Vi antar att det här betyder att hal inte är korrekt\n" #~ "installerad. Konfiguration av externa enheter är\n" #~ "nu inaktiverat." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Aktivera/inaktivera skrivstöd för NTFS med ett enda klick.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Fel : Det här programmet behöver köras som root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Fel : Ett fel inträffade vid försök att initiera hal. Kan inte söka efter " #~ "ny partition.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Välj partitionerna du vill konfigurera\n" #~ "- Lägg till ett namn för monteringspunkten\n" #~ "- Klicka på Verkställ" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "Monterar om din interna NTFS-enhet. Vänta." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Ommonterering av följande enhet misslyckades.\n" #~ "Stäng alla program som kan använda dem och \n" #~ "försök igen." ntfs-config-1.0.1/po/lt.po0000644000175000017500000003756010646642504012266 00000000000000# Lithuanian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-28 20:25+0000\n" "Last-Translator: zolookas \n" "Language-Team: Lithuanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:32+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Nepakankamos teisės" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Jums reikia administratoriaus teisių paleisti šiai programai" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Skaitymo/Rašymo NTFS tvarkyklė neįdiegta" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Kad įgalinti rašymą į NTFS įrenginius, jums reikia ntfs-3g tvarkyklės.\n" "Jeigu jūsų distribucija jos neteikia, atsisiųskite ją iš:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Rašymo į NTFS (Windows) skirsnius konfigūracija" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Aptikti nauji skirsniai" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Išsamesnė konfigūracija" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Jus galite sukonfigūruoti automatiškai \n" "naudodami \"Auto konfigūracija\" mygtuką" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Taikomi pakitimai.\n" "Prašome palaukti kol procesas pasibaigs." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Auto konfigūracija" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Įjungti rašymo palaikymą išoriniams įrenginiams" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Įjungti rašymo palaikymą vidiniams įrenginiams" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Rasti šie nauji skirsniai.\n" "Pasirinkite kuriuos norite konfigūruoti:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Įjungti ar išjungti rašymą į NTFS (Windows) skirsnius." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Rašymo į NTFS (Windows) skirsnius nustatymas" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "<Įveskite prijungimo tašką>" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Pridėti" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Įrengimas" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Prijungimo taškas:" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Formatavimo klaida" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s turi neteisingą simbolį.\n" "Prijungimo tašas turi būti /media/ kataloge. Arba jūs galite tiesiog įvesti " "paprastą pavadinimą, pvz.: diskas" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Rašomas" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Prijungimo taškas" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Viso" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Naudojama" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Atšaukti pakitimus?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Visi padaryti pakitimai bus prarasi.\n" "Ar norite tęsti?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Atjungti išjungtus įrenginius?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Jūs atjungėte šiuos įrenginius:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Ar norite atjungti juos?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Atjungti pasirinktus" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Reikia perkrauti" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Kad pakitimai būtų pritaikyti,\n" "jums reiks perkrauti kompiuterį" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Montuoti %s nepavyko.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Montuoti %s nepavyko.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Pritaikomi pakeitimai" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Atjungiama %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Prijungiama %s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "Montuoti %s nepavyko.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Atjungti %s nepavyko, nes įvyko ši klaida:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "Jūs gali naudoti 'lazy' parametrus, kad atjungtumėte failų sistemą dabar." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Npeavyko atjungti %s, nes jį\n" "dabar naudoja šios programos:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "Uždarykite programas, kurios jį naudoja ir bandykite dar kartą." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Failų sistema gali būti laikinai užimta. Palaukite keletą sekundžių ir " "bandykite vėl." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Atjungti su 'lazy' parametru" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Bandyti atjungti vėl" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Netgi panaudojus 'lazy' parametrą, įrenginio atjungti nepavyko." #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "Montuoti %s nepavyko.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Prijungti %s nepavyko dėl šios klaidos:" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Bandyti prijungti" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Jūs galite bandyti šios veiksmus:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Rodos, kad '%s' parametras nėra leidžiamas." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "sugražinti numatytus parametrus" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Nenaudoti '%s' parametro" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Atrodo kad '%s' tipas nėra teisingas." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Šiai failų sistemai nėra jokios tvarkyklės: '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Jūs galite bandyti 'force' (priverstinai) parametrą, bet tai gali būti " "rizikinga." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Naudoti 'force' (priverstinai) parametrą" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Pašalinti nežinomus įtaisus iš\n" #~ "konfigūracijos failo?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Nepavyko rasti egzistuojančių blokinių įrenginių\n" #~ "atitinkančių šiuos įrenginius:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Patariama pašalinti juos, kad apsisaugoti nuo nepavykusio prijungimo\n" #~ "paleidimo metu. Pasirinkite ką norite pašalinti." #~ msgid "Remove selected" #~ msgstr "Pašalinti pažymėtus" #~ msgid "Duplicate entry detected" #~ msgstr "Rastas pakartotinis įrašas" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "Šie įtaisai jūsų konfigūracijos faile turi tą patį prijungimo tašką" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Du tokie patys įrenginiai negali naudoti to pačio prijungimo taško.\n" #~ "Jūs turėtumėte pasirinkti kurį norite palikti, o kiti bus užkomentuoti.\n" #~ "Jie bus palikti konfigūracijos faile, bet bus išjungti." #~ msgid "Keep selected" #~ msgstr "Palikti pažymėtus" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "Naudoti numatytą '%s' tipą šiai failų sistemai" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Klaidos pranešimas:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Klaida: negalima atverti /etc/mtab skaitymo režimu.\n" #~ msgid "" #~ "Mounting %s failed.\n" #~ "\n" #~ "%s" #~ msgstr "" #~ "Prijungti %s nepavyko.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s turi neteisingą simbolį.\n" #~ "Turite pasirinkti paprastą pavadinimą ir ne aplanką." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s jau naudojamas.\n" #~ "Prašome pasirinkti kitą." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Klaida: Įvyko klaida bandant konfigūruoti\n" #~ " %s, prašome bandyti vėl. Ačiū." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Klaida: negalima atverti %s skaitymo režimu.\n" #~ msgid "translator-credits" #~ msgstr "" #~ "Paskutinieji vertėjai: Julius Vitkauskas , Mantas " #~ "Kriaučiūnas " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Įjungti/išjungti NTFS rašymo palaikymą vienu paspaudimu.\n" #~ "Šis įrankis naudoja ntfs-3g valdyklę: http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Klaida: neina padaryti /etc/fstab kopijos.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Klaida: nepavyko įjungti rašymo palaikymo vidiniams įrenginiams." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "Klaida: nepavyko išjungti rašymo palaikymo vidiniams įrenginiams." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Klaida: nepavyko įjungti rašymo palaikymo išoriniams įrenginiams.\n" #~ "Tai tikriausiai reiškia, kad pilnai neįdiegėte įrankio. Prašome įdiegti " #~ "ntfs-config iš naujo ir bandyti vėl. Ačiū." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "Klaida: nepavyko išjungti rašymo palaikymo išoriniams įrenginiams." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Klaida: negalima atverti /etc/fstab\n" #~ " Tai neveiks." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Klaida: negalima rasti fdi failo.\n" #~ "Išorinių įrenginių konfigūracija išjungta.\n" #~ "Norint konfigūruoti išorinius įrenginius jums\n" #~ "tikriausiai reiks iš naujo įdiegti ntfs-config." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Dėmesio: negalima rasti %s.\n" #~ "Galimas variantas, kad hal teisingai neįdiegtas.\n" #~ "Išorinių įrenginių konfigūracija išjungta." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Lengvai įjungti/išjungti rašymą į NTFS (Windows) skirsnius.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "" #~ "Klaida: ši programa turi būti paleista administratoriaus (root) " #~ "teisėmis.\n" #~ msgid "" #~ "Error : It seams that the ntfs-3g driver necessary\n" #~ "to get write support, is not install on your system.\n" #~ "Check http://www.ntfs-3g.org to know how to install it.\n" #~ msgstr "" #~ "Klaida : Atrodo, kad rašymui į NTFS būtinos ntfs-3g \n" #~ "valdyklės, nėra įdiegtos jūsų sistemoje.\n" #~ "Įdiegimo instrukcijas rasite http://www.ntfs-3g.org.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Klaida: inicializuojant hal įvyko klaida. Neįmanoma rasti naujų " #~ "skirsnių.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Pasirinkte skirsnius\n" #~ "- Įveskite prijungimo taško pavadinimą\n" #~ "- Paspauskite \"(pri)taikyti\"" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Jūsų vidinis NTFS įrenginys prijungiamas iš naujo. Prašome palaukti." #~ msgid "" #~ "The following new partitions were\n" #~ "detected and can be configured :\n" #~ "" #~ msgstr "" #~ "Nauji skirsniai buvo\n" #~ "surasti ir gali būti konfigūruojami:\n" #~ "" #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Šį įrenginį prijungti iš naujo nepavyko. Prašome \n" #~ "užverti visas programas, kurios gali jį naudoti ir pabandyti vėl." #~ msgid "gtk-about" #~ msgstr "Apie" #~ msgid "gtk-cancel" #~ msgstr "Atšaukti" #~ msgid "gtk-ok" #~ msgstr "Gerai" ntfs-config-1.0.1/po/tr.po0000644000175000017500000003107110646642506012265 00000000000000# Turkish translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:42+0000\n" "Last-Translator: konuralp \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:31+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Yazma/Okuma NTFS sürücüsü yüklü değil." #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "NTFS aygıtınıza yazma desteğini etkinleştirmek için öncelikle ntfs-3g " "sürücüsünü yüklemeniz gerekmektedir.\n" "Eğer dağıtımınız size bu sürücüyü sağlamıyorsa, sürücüyü şu adresten elde " "eldebilirsiniz:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS yazma desteği yapılandırma aracı" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Gelişmiş Yapılandırma" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Otomatik Yapılandırma" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Harici aygıt için yazma desteğini etkinleştir" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Dahili aygıt için yazma desteğini etkinleştir" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Aşağıdaki disk bölümleri\n" "bulundu ve yapılandırıldı :\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "NTFS yazma desteğini basit bir tıklamayla etkinleştir/etkisizleştir." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS yazma desteği yapılandırma aracı" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Ekle" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Aygıt" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Yazılabilir" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Yaptığınız tüm değişiklikler kaybolacak.\n" "Devam etmek istiyor usunuz?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Şu cihazları etkisizleştirdiniz:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Değişikliklerinizin uygulanabilmesi için,\n" "bilgisayarınızı tekrar başlatmanız gerekmektedir." #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Tekrar bağlamaya çalış" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "%s bağlama başarısız.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Tekrar bağlamaya çalış" #: ../NtfsConfig/Fstab/Mounter.py:188 #, fuzzy msgid "You can try one of the following action:" msgstr "Şu cihazları etkisizleştirdiniz:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "Remove selected" #~ msgstr "Seçilenleri kaldır" #~ msgid "Keep selected" #~ msgstr "Seçilenleri Sakla" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Hata Mesajı :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Hata : /etc/mtab okunur mod da açılamıyor\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s geçersiz karekter içeriyor.\n" #~ "Daha basit bir isim tercih etmelisiniz ve bir dizin olmamalı." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s zaten kullanılıyor.\n" #~ "Lütfen başka birini seçin." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Hata : Yapılandırmaya çalışılırken bir hata meydana geldi\n" #~ "%s, lütfen tekrar deneyin.Teşekkürler." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Hata : %s okunur mod da açılamıyor.\n" #~ msgid "translator-credits" #~ msgstr "" #~ "Yavuz Selim Burgu konuralp " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "NTFS yazma desteğini tek tıklama ile etkinleştir/etkisizleştir.\n" #~ "Bu araç ntfs-3g sürücülerini kullanmaktadır : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Hata : /etc/fstab yedeklenemiyor.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "" #~ "Hata : Dahili aygıt'a yazma desteğini etkinleştirme başarısızlıkla " #~ "sonuçlandı." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Hata : Dahili aygıt'a yazma desteğini etkisizleştirme başarısızlıkla " #~ "sonuçlandı." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Hata : Harici aygıt'a yazma desteğini etkinleştirme başarısızlıkla " #~ "sonuçlandı.\n" #~ "Bu muhtemelen kurulumuzun tamalamlanmadığı anlamına gelir.Lütfen ntfs-" #~ "config'i bir daha kurun ve tekrar deneyin. Teşekkürler." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Hata : Harici aygıt'a yazma desteğini etkisizleştirme başarısızlıkla " #~ "sonuçlandı." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Hata : /etc/fstab açılamıyor\n" #~ " Bu çalışmayacak" #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Hata : fdi dosyası bulunamadı.\n" #~ "Harici aygıtın yapılandırması başarısız.\n" #~ "Düzeltmek için muhtemelen yeniden kurmanız\n" #~ "gerekecektir." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Uyarı : %s bulunamadı.\n" #~ "Hal düzgün kurulmadığını farz ediyoruz\n" #~ "ve bu yüzden harici aygıtın yapılandırmasını etkisizleştirdik" #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Basit bir tıklamayla NTFS yazma desteğini etkinleştir/etkisizleştir.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Hata : Bu uygulama root hakları ile çalıştırılmalıdır.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Hata : Hal başlatılırken bir hata meydana geldi.Yeni disk bölümleri " #~ "bulunamadı.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Yapılandırmak istediğiniz disk bölümünü seçin\n" #~ "- Bağlama noktası için bir isim ekleyin\n" #~ "- Uygulaya tıklayın" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "Dahili NTFS Aygıtı tekrar bağlanıyor. Lütfen Bekleyin." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Aşağıdaki aygıtların tekrar bağlanması başarsız oldu. Lütfen\n" #~ "onları kullanabilecek uygulamaları kapatın ve tekrar deneyin." ntfs-config-1.0.1/po/he.po0000644000175000017500000001475210646642504012241 00000000000000# Hebrew translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-03-04 08:47+0000\n" "Last-Translator: N!R ^A^ \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:53+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/el.po0000644000175000017500000002261310646642503012237 00000000000000# Greek translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-07-04 15:12+0000\n" "Last-Translator: Ioannis Koniaris \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:28+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Ελλιπή δικαιώματα" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" "Χρειάζεστε δικαιώματα διαχειρηστή για να έχετε το δικαίωμα να εκκινήσετε " "αυτή την εφαρμογή." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Ο οδηγός για εγγραφή/ανάγνωση NTFS δεν είναι εγκατεστημένος" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Γισ να μπορέσετε να γράψετε στις NTFS συσκευές σας, θα χρειαστείτε πρώτα να " "εγκαταστήσετε τον οδηγό ntfs-3g.\n" "Αν η διανομή σας δεν το παρέχει, μπορείτε να τον αποκτήσετε από την " "διεύθυνση:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Εργαλείο ρύθμισης υποστήριξης εγγραφής NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Βρέθηκαν νέες κατατμήσεις" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Προχωρημένες Ρυθμίσεις" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Εναλλακτικά μπορείτε να τα ρυθμίσετε \n" "αυτόματα με το κουμπί \"Αυτόματη Ρύθμιση\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Εφαρμογή αλλαγών\n" "Παρακαλώ περιμένετε μέχρι να ολοκληρωθεί η διαδικασία" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Αυτόματη Ρύθμιση" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Ενεργοποίηση υποστήριξης εγγραφής σε εξωτερική συσκευή" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Ενεργοποιεί την υποστήριξη για εγγραφή σε εσωτερική συσκευή" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Ενεργοποιήστε/ απενεργοποιήστε την υποστήριξη για εγγραφή με ένα κλικ" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Εργαλείο Ρύθμισης NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "<Εισάγετε σημείο προσάρτησης>" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Προσθήκη" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Συσκευή" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Σημείο προσάρτησης" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 #, fuzzy msgid "Formatting error" msgstr "Σφάλμα μορφοποίησης" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Εγγράψιμο" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Σημείο προσάρτησης" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Σύνολο" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Σε χρήση" #: ../NtfsConfig/NtfsConfig.py:284 #, fuzzy msgid "Reverting to previous version?" msgstr "Να γίνει επαναφορά στην προηγούμενη έκδοση;" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Όλες οι αλλαγές που πραγματοποιήσατε θα χαθούν.\n" "Σίγουρα θέλετε να συνεχίσετε;" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Απενεργοποιήσατε τις ακόλουθες συσκευές:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Απαιτήται επανεκκίνηση" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Για να εφαρμοστούν οι αλλαγές σας,\n" "θα πρέπει να επανεκκινήσετε τον υπολογιστή σας." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Γίνεται εφαρμογή αλλαγών" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Η αποπροσάρτηση απέτυχε" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Το σύστημα αρχείων μπορεί να είναι απασχολημένο προσωρινά. Περιμένετε μερικά " "δευτερόλεπτα και ξαναδοκιμάστε." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Μπορείτε να δοκιμάστε μια από τις ακόλουθες ενέργειες:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Μην χρησιμοποιείτε την επιλογή '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "Remove selected" #~ msgstr "Αφαίρεση επιλεγμένων" #~ msgid "Duplicate entry detected" #~ msgstr "Βρέθηκε διπλή καταχώρηση" ntfs-config-1.0.1/po/LINGUAS0000644000175000017500000000020110646642475012321 00000000000000bn ca cs da de el en_AU en_CA en_GB es et fa fr he hi hr hu it ja ko lt nl oc pl pt pt_BR pt_PT ro ru sk si sv tr vi zh_CN zh_HK ntfs-config-1.0.1/po/sk.po0000644000175000017500000003446210646642505012263 00000000000000# Slovak translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # Jozef Riha , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:43+0000\n" "Last-Translator: Jose Riha \n" "Language-Team: Slovak \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:45+0000\n" #: ../ntfs-config.in:61 #, fuzzy msgid "Insufficient rights" msgstr "Nedostatočné oprávnenia" #: ../ntfs-config.in:62 #, fuzzy msgid "You need administrative rights to start this application." msgstr "Pre spustenie tejto aplikácie potrebujete oprávnenia administrátora." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Ovládač pre zápis/čítanie NTFS nie je nainštalovaný" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Pre povolenie zápisu na NTFS zariadenie budete musieť najprv nainštalovať " "ntfs-3g ovládač.\n" "Ak ho vaša distribúcia neposkytuje, môžete ho získať z:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Nástroj na nastavenie podpory zápisu na NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Detegované nové partície" #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "Pokročilá konfigurácia" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Prípadne ich môžete nastaviť automaticky\n" "pomocou tlačidla \"Autokonfigurácia\"" #: ../data/ntfs-config.glade.h:6 #, fuzzy msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Aplikujem zmeny.\n" "Prosím počkajte na ukončenie procesu." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Autokonfigurácia" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Zapnúť podporu zápisu na externé zariadenie" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Zapnúť podporu zápisu na interné zariadenie" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Boli detegované nasledovné nové partície.\n" "Vyberte tie, ktoré chcete nastaviť:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Zapnúť/vypnúť podporu zápisu na NTFS jedným kliknutím." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Nástroj na nastavenie podpory zápisu na NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Pridať" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Zariadenie" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Bod pripojenia" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 #, fuzzy msgid "Formatting error" msgstr "Zlé formátovanie" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Zapisovateľný" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Bod pripojenia" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Celkom" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Použité" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "Odpojiť vypnuté zariadenia?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 #, fuzzy msgid "You disabled the following devices:" msgstr "Vypli ste nasledujúce zariadenia:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 #, fuzzy msgid "Do you want to unmount them?" msgstr "Chcete ich odpojiť?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Odpojiť vybrané" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Vyžadovaný reboot" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Pre aplikovanie vašich zmien,\n" "budete musieť reštartovať váš počítač." #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "Pripájanie zlyhalo" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "Odpájanie " #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Odpájanie zlyhalo" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 #, fuzzy msgid "Close all applications that use it and retry to unmount." msgstr "" "Zatvorte všetky aplikácie, ktoré ho môžu\n" "používať a skúste ho odpojiť znovu." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Opätovne skúsiť odpojiť" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Pripájanie zlyhalo" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Opätovne skúsiť odpojiť" #: ../NtfsConfig/Fstab/Mounter.py:188 #, fuzzy msgid "You can try one of the following action:" msgstr "Vypli ste nasledujúce zariadenia:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #, fuzzy #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Odstrániť tým neznáme zariadenia\n" #~ "z konfiguračného súboru?" #, fuzzy #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Nemôžem nájsť žiadne existujúce blokové zariadenia,\n" #~ "ktoré by zodpovedali nasledujúcim zariadeniam:" #, fuzzy #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Doporučujeme ich odstrániť na zamedzenie zlyhania pripájania\n" #~ "pri štarte. Vyberte tie, ktoré chcete odstrániť." #~ msgid "Remove selected" #~ msgstr "Odstrániť vybrané" #, fuzzy #~ msgid "Keep selected" #~ msgstr "Odstrániť vybrané" #, fuzzy #~ msgid "(followed by the output of dmesg | tail)" #~ msgstr "" #~ " zlyhalo kvôli nasledujúcej chybe:\n" #~ "(nasledované výstupom dmesg | tail)" #, fuzzy #~ msgid "" #~ "%s contains an invalid character. Mount point\n" #~ "should be in /media/. Alternatively, you can\n" #~ "enter a simple name, like disk." #~ msgstr "" #~ "obsahuje neplatný znak. Bod pripojenia\n" #~ "by mal byť v /media/. Môžete tiež vložiť\n" #~ "jednoduché meno, napríklad disk." #~ msgid "(can't show)" #~ msgstr "(nemôžem zobraziť)" #~ msgid "%s partitions" #~ msgstr "%s partície" #~ msgid "Mounting " #~ msgstr "Pripájanie " #, fuzzy #~ msgid "Formating error" #~ msgstr "Zlé formátovanie" #~ msgid "Bad formatting" #~ msgstr "Zlé formátovanie" #, fuzzy #~ msgid "gtk-close" #~ msgstr "gtk-ok" #, fuzzy #~ msgid "gtk-undo" #~ msgstr "gtk-ok" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Chybová hláška:\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Chyba: Nemôžem otvoriť /etc/mtab v režime čítania.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s obsahuje neplatný znak.\n" #~ "musíte vybrať meno, nie adresár." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s sa už používa.\n" #~ "Prosím vyberte iný." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Chyba: Nastala chyba pri pokuse konfigurovať\n" #~ " %s, prosím skúste to znovu. Ďakujem." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Chyba: Nemôžem otvoriť %s v režime čítania.\n" #~ msgid "translator-credits" #~ msgstr "Jozef Říha " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Zapnúť/vypnúť podporu zápisu na NTFS jedným kliknutím.\n" #~ "Tento nástroj používa ntfs-3g ovládač: http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Chyba: Nemôžem zálohovať /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Chyba: Zlyhalo zapnutie podpory zápisu pre interné zariadenie." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "Chyba: Zlyhalo vypnutie podpory zápisu pre interné zariadenie." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Chyba: Zlyhalo zapnutie podpory zápisu pre externé zariadenie.\n" #~ "Toto pravdepodobne znamená, že vaša inštalácia nie je kompletná, prosím " #~ "preinštalujte ntfs-config a skúste to znovu. Ďakujem" #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "Chyba: Zlyhalo vypnutie podpory zápisu pre externé zariadenie." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Chyba: Nemôžem otvoriť /etc/fstab\n" #~ " Toto nebude fungovať." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Chyba: Nemôžem nájsť súbor fdi.\n" #~ "Nastavenie externého zariadenie je deaktivované.\n" #~ "Pravdepodobne budete musieť znovunainštalovať ntfs-config\n" #~ "na jeho obnovenie." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Upozornenie: Nemôžem nájsť %s.\n" #~ "Pravdepodobne to znamená, že HAL nie je správne nainštalovaný\n" #~ "a preto je konfigurácia externých zariadení deaktivovaná." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Zapnúť/vypnúť podporu zápisu na NTFS jedným kliknutím.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Chyba: Tento program musíte spustiť ako root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Chyba: Počas inicializácia HAL sa objavila chyba. Nemôžem hľadať novú " #~ "partíciu.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Vyberte partíciu, ktorú chcete nastaviť\n" #~ "- Pridajte názov prípojného bodu (mount point)\n" #~ "- Kliknite na použiť" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "" #~ "Opätovne pripájam vaše interné NTFS zariadenie. Prosím čakajte." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Opätovné pripájanie nasledujúceho zariadenia zlyhalo. Prosím\n" #~ "zatvorte všetky aplikácie, ktoré by ho mohli používať a skúste to znovu." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" ntfs-config-1.0.1/po/en_AU.po0000644000175000017500000002741210646642503012630 00000000000000# English (Australia) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-12 01:40+0000\n" "Last-Translator: Glennji Mason \n" "Language-Team: English (Australia) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:41+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS write support configuration tool" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 #, fuzzy msgid "Advanced Configuration" msgstr "NTFS Configuration Tool" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Enable write support for external device" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Enable write support for internal device" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "The following new partitions were\n" "detected and can be configured :\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Enable and disable write support for NTFS with a single click." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS Configuration Tool" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Retry remount" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "Mounting %s failed.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Retry remount" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Mounting %s failed.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "Mounting %s failed.\n" #~ "\n" #~ "%s" #, fuzzy #~ msgid "gtk-close" #~ msgstr "gtk-ok" #, fuzzy #~ msgid "gtk-undo" #~ msgstr "gtk-ok" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Greška :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Grečka : Ne mogu da otvorim /etc/mtab in read mode.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s sadrži nepravilne karaktere.\n" #~ "Morate da izaberete jednostavno ime, a ne direktorijum." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s se već koristi.\n" #~ "Molimo vas da probate drugu lokaciju." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Dolazi do greške prilikom konfigurisanja.\n" #~ " %s, molimo vas da ponovite" #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Error : Can't open %s in read mode.\n" #~ msgid "translator-credits" #~ msgstr "Vejin Nikola" #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Omogućite ili sprečite NTFS dozvolu za pisanje jednostavnim klikom.\n" #~ "Ovaj alat obavezno koristi ntfs-3g driver : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Error : Ne mogu da vratim na prethodno stanje /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Error : Failed to enable write support for internal device." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "Error : Failed to disable write support for internal device." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably mean that your installation is not complete. Please " #~ "reinstall ntfs-config and retry." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "Error : Failed to disable write support for external device." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Error : Can't open /etc/fstab\n" #~ "This will not work." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disabled.\n" #~ "You probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Warning : Could not find %s.\n" #~ "This may mean that hal is not installed or is incorrectly configured.\n" #~ "Disabling configuration of external device." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Enable and disable write support for NTFS with a single click.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Error : This program need to be run as root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Error : An error occurred when trying to initialize hal. Unable to search " #~ "for new partition.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click 'apply'" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "Remouting your NTFS internal device. Please wait." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Remounting the following device failed. Please \n" #~ "close any application that may be using it and retry." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" ntfs-config-1.0.1/po/Makefile.in.in0000644000175000017500000001530410646710024013742 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # Please note that the actual code is *not* freely available. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all $(mkdir_p) $(DESTDIR)$(itlocaledir) linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info tags TAGS ID: # Define this as empty until I found a useful application. installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/po/et.po0000644000175000017500000001530410646642503012246 00000000000000# Estonian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-03-26 16:54+0000\n" "Last-Translator: jklök \n" "Language-Team: Estonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:41+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "NTFS kirjutamise seadistuse tööriist." #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Väljundseadme kirjutamise sisse lülitamine" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Sisendseadme kirjutamise sisselülitamine" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Lülita sisse/välja NTFS kirjutamise tuge lihtsa klikkiga." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS konfiguratsiooni vahend" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/hu.po0000644000175000017500000001520210646642504012250 00000000000000# Hungarian translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-05-03 15:06+0000\n" "Last-Translator: Frigyes \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:31+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 #, fuzzy msgid "Enable write support for external device" msgstr "Külső eszköz írhatóságának engedélyezése" #: ../data/ntfs-config.glade.h:10 #, fuzzy msgid "Enable write support for internal device" msgstr "Belső eszköz írhatóságának engedélyezése" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "NTFS beállító eszköz" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/POTFILES.in0000644000175000017500000000045710636742637013066 00000000000000# List of source files containing translatable strings. ntfs-config.in data/ntfs-config.glade data/ntfs-config.desktop.in.in NtfsConfig/AddWizard.py NtfsConfig/NtfsConfig.py NtfsConfig/Fstab/FstabDialogs.py NtfsConfig/Fstab/FstabUtility.py NtfsConfig/Fstab/FstabHandler.py NtfsConfig/Fstab/Mounter.py ntfs-config-1.0.1/po/vi.po0000644000175000017500000002312410646642506012256 00000000000000# Vietnamese translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-25 08:28+0000\n" "Last-Translator: Viet Hung \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:47+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Không đủ quyền" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Bạn cần có quyền quản trị hệ thống để chạy ứng dụng này" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Trình điều khiển Đọc/Ghi NTFS chưa được cài đặt" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Để hỗ trợ khả năng ghi thiết bị định dạng NTFS, trước hết bạn phải cài đặt " "trình điều khiển ntfs-3g.\n" "Nếu bản phân phối cài đặt không cung cấp, bạn có thể lấy nó từ:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Công cụ cấu hình hỗ trợ ghi định dạng NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Phát hiện các phân vùng mới" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Cấu hình nâng cao" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Bạn có thể cấu hình chúng bằng cách khác \n" "một cách tự động với nút \"Cấu hình tự động\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Áp dụng các thay đổi.\n" "Vui lòng chờ đến khi quá trình kết thúc." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Cấu hình tự động" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Hỗ trợ khả năng ghi cho thiết bị ngoài" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Hỗ trợ khả năng ghi cho thiết bị bên trong" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Các phân vùng sau đây được tìm thấy.\n" "Chọn các phân vùng bạn muốn cấu hình:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Bật/Tắt hỗ trợ khả năng ghi NTFS chỉ với một thao tác." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Công cụ cấu hình NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Thêm" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Thiết bị" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Điểm gắn" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Lỗi tạo định dạng" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s chứa một ký tự không hợp lệ.\n" "Điểm gắn phải nằm trong /media/. Lựa chọn khác, bạn có thể nhập vào một tên " "đơn giản, chẳng hạn đĩa." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Ghi được" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Điểm gắn" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Tổng cộng" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Dùng" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Chuyển về phiên bản trước" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Tất cả các thay đổi bạn đã thực hiện sẽ bị mất.\n" "Bạn có muốn tiếp tục?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Bỏ gắn đối với các thiết bị đã cấm?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Bạn sẽ cấm các thiết bị sau:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Bạn có muốn bỏ gắn chúng không?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Bỏ gắn các thiết bị được chọn" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Cần khởi động lại hệ thống" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Để áp dụng tất cả các thay đổi,\n" "bạn cần khởi động lại máy." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Phân vùng đang gắn" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Phân vùng đã bỏ gắn" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Áp dụng các thay đổi" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Đang bỏ gắn %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Đang gắn %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Lỗi khi bỏ gắn" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Không thể bỏ gắn %s do gặp lỗi sau:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "Bạn có thể sử dụng tùy chọn 'trễ' để gỡ bỏ hệ thống file ngay lập tức." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Không thể bỏ gắn cho %s, do\n" "nó đang được dùng bởi các ứng dụng sau:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "Đóng toàn bộ các ứng dụng đang dùng nó và thử bỏ gắn lần nữa." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "Hệ thống file có thể tạm thời đang bận. Vui lòng chờ vài giây và thử lại." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Bỏ gắn với tùy chọn 'trễ'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Làm lại thao tác bỏ gắn" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Vẫn không thực hiện bỏ gắn được dù với tùy chọn 'trễ'" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Không gắn được" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Không gắn được %s do gặp lỗi sau:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Thử gắn lại" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Bạn có thể thử một trong các thao tác sau:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Có thể tùy chọn '%s' không được cho phép." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Khôi phục các tùy chọn về giá trị mặc định" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Không nên dùng tùy chọn '%s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Có thể kiểu định dạng '%s' không hợp lệ." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Không có trình điều khiển thích hợp cho kiểu hệ thống file: '%s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Bạn có thể thử với tùy chọn 'bắt buộc'. Tùy chọn này có thể mang lại nhiều " "rủi ro." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Dùng tùy chọn 'bắt buộc'" ntfs-config-1.0.1/po/bn.po0000644000175000017500000003404710646642502012241 00000000000000# Bengali translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-05 14:10+0000\n" "Last-Translator: Sukanto Ghosh \n" "Language-Team: Bengali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:39+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "এই এপ্প্লিকেষন চালাবার জন্য আপনার প্রশাসনিক অধিকার লাগীবে" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "রিড/রাইট এন.টি.এফ.এস. ড্রাইভার ইন্স্ট্ল করা নেই" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "আপনার এন.টি.এফ.এস. ডিভাইস গুলিতে লেক্ষন ক্ষমতা চালু করার জন্য আপনাকে আগে ntfs-3 " "ড্রাইভার ইন্স্ট্ল করতে হবে.\n" "জদি আপনার লিনাক্স দিস্ট্রিব্যুশন এটি প্রদান করে না, তাহলে আপনি সেটি\n" "http://www.ntfs-3g.org থেকে পেতে পারেন" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "এন.টি.এফ.এস. এ লেক্ষন ক্ষমতা কনফিগারেশন উপকরন" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "নুতন পার্টিষন আবিষ্ক্রিত করা হইযাছে" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "অগ্রসর কনফিগারেশন" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "অন্যথা আপনি \"স্বযং কনফিগার\" বোতাম টিপে \n" "ওগুলিকে আপনা হইতে কনফিগার করতে পারেন" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "পরিবর্তন সংযুক্ত করা হচ্ছে\n" "প্রক্রিযা সমাপ্ত না হওযা পর্যন্ত দযা করিযা অপেখ্ণা করুন" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "স্বযং কনফিগার" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "বহিরাগত ডিভাইসের লেক্ষন সক্ষমতা চালু করুন" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "অন্তর্নিহিত ডিভাইসের লেক্ষন সক্ষমতা চালু করুন" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "নিম্নলিখিত নুতন পার্টিষান গুলি আবিষ্ক্রিত করা হইযাছে. \n" "জেগুলিকে আপনি কনফিগার করতে চান সেগুলিকে বেচ্হে নিন" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "একটী ক্লিক দ্বারা এন.টি.এফ.এস. এ রাইট করা সক্ষম/অক্ষম করুন" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "এন.টি.এফ.এস. কনফিগারেশন উপকরন" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "<মাউন্ট পয়েন্ট লিপিবদ্ধ করুন>" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "যোগ করুন" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "ডিভাইস" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "মাউন্ট পয়েন্ট" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "ফরম্যটিণ্গ ভুল" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s তে একটী অসিধ্ব অক্ষর আচ্হে.\n" "মাউন্ট পএন্ট /media/ এ থাকা উচিত. অন্যথা, আপনি disk র মত একটী সজা নাম " "দিতে পারেন" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "লেখণীয়" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "মাউন্ট পয়েন্ট" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "মোট" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "ব্যবহৃত" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "আগের ভার্ষানে ফেরাতে চান?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "আপনি জে পরিবর্তন গুলি করিলেন সেগুলি হারিযে জাবে. \n" "আপনি কি চালিযে যেতে চান?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "অক্ষম ডিভাইস গুলিকে আনমাউন্ট করিবেন?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "আপনি নিম্নলিখিত ডিভাইস গুলিকে অক্ষম করেচ্হেন:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "আপনি কি ওগুলিকে আনমাউন্ট করতে চান?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "সেলেক্ট করাটি আনমাউন্ট" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "কম্প্যুটার রিবুট প্রয়োজন" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "আপনার প্রত্যেকটী পরিবর্ত্তন সংযুক্ত করার জন্য\n" "আপনাকে কম্প্যুটার রিবুট করতে হবে" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "%s আনমাউন্ট করা হছে" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "%s মাউন্ট করা হছে" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "আনমাউন্ট ব্যর্থ" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "নিম্নলিখিত ভুলের জন্য %s আনমাউন্ট ব্যর্থ" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "%s কে আনমাউন্ট করা ব্যর্থ হইযছে, জেহেতু\n" "এটি এখন নিম্নলিখিত এপ্প্লিকেশন গুলি ব্যবহার করচ্হে:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "আনমাউন্টের পুনঃছেষ্টা" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "মাউন্ট ব্যর্থ" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "নিম্নলিখিত ভুলের জন্য %s মাউন্ট ব্যর্থ" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "Insufficient rights" #~ msgstr "অপর্যাপ্ত অধিকার" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "কনফিগারেশন ফাইল থেকে অজানা য্ন্ত্র সরানো হইবে ?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "আমি নিম্নলিখিত ডিভাইস গুলির উপযুক্ত\n" #~ "কন ব্ল্ক ডিভাইস খুঁজে পাইনি:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "স্টার্ট-আপ এর সময় মাউন্ট ব্যর্থ হওঅ রুখতে এটি উপদেশ দেওঅ হইতেছে জে ওগুলিকে " #~ "ক্রমাগত ভাবে হটান হোক. জেগুলিকে আপনি হটাতে চান সেগুলিকে সেলেক্ট করুন." #~ msgid "Remove selected" #~ msgstr "সেলেক্ট করাকে হটানো" #~ msgid "Duplicate entry detected" #~ msgstr "একাধিক লিপিবদ্ধ বিষয আবিষ্ক্রিত করা হইযাছে" #~ msgid "The following entries of your configuration file are duplicates:" #~ msgstr "আপনার কনফিগারেশন ফাইলের নিম্নলিখিত লিপিবদ্ধ বিষয গুলি পুনরাবৄত্ত হইযাছে:" #~ msgid "" #~ "This program can not manage for the moment duplicate entries\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "এই প্রগ্রামটি এই মুহুর্তে প্রতিরুপিত এন্ট্রি সামলাতে পারে না\n" #~ "আপনি জেটিকে চান সেটিকে সেলেক্ট করুন, আর বাকি গুলি কোমেন্ট করে দেওআ হবে.\n" #~ "সেগুলি কনফিগারেশন ফাইলে অক্ষম ভাবে থাকবে" #~ msgid "Keep selected" #~ msgstr "সেলেক্ট করাটি থাকুক" #~ msgid "Mounting partitions" #~ msgstr "পার্টিষান মাউন্ট করা হইতেছে" #~ msgid "Unmounting partitions" #~ msgstr "পার্টিষান আনমাউন্ট করা হইতেছে" #~ msgid "Close all applications that could use it and retry to unmount." #~ msgstr "যে এপ্প্লিকেষন গুলি এটি ব্যবহার করিতে পারে সেগুলিকে বন্ধ করে পুনঃছেষ্টা করুন" #~ msgid "(followed by the output of dmesg | tail)" #~ msgstr "(dmesg | tail এর আউটপুটের পরে)" ntfs-config-1.0.1/po/ja.po0000644000175000017500000001530610646642504012233 00000000000000# Japanese translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-13 02:25+0000\n" "Last-Translator: José Lou C. \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:52+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "自動設定" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "" #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "デバイス" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "マウント・ポイント" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "書き込み可能" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "マウント・ポイント" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "使用中" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "マウント失敗" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "アンマウント失敗" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "アンマウント失敗" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "マウント失敗" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" ntfs-config-1.0.1/po/ca.po0000644000175000017500000003013010646642502012212 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-03-18 02:18+0000\n" "Last-Translator: Antonio Cuñat Alario \n" "Language-Team: Catalan\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Catalan\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:38+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Eina de configuració del suport d'escriptura NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Activar suport d'escriptura per a dispositius externs" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Activar suport d'escriptura per a dispositius interns" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Activa/Desactiva amb un clic el suport NTFS d'escriptura." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Eina de Configuració de NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Missatge d'Error :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Error: no s'ha pogut obrir /etc/mtab en mode lectura.\n" #~ msgid "" #~ "Mounting %s failed.\n" #~ "\n" #~ "%s" #~ msgstr "" #~ "No s'ha pogut muntar %s.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s conté un caràcter no vàlid.\n" #~ "cal escollir un nom, no un directori." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s ja està en ús.\n" #~ "Escull un altre." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Error : Ha ocorregut un error en intentar configurar\n" #~ "%s, torna-ho a intentar. Gracies." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Error : No s'ha pogut obrir %s en mode lectura.\n" #~ msgid "translator-credits" #~ msgstr "Toni Cuñat Remouting your NTFS internal device. Please wait." #~ msgstr "Tornant a muntar el teu dispositiu intern NTFS. Espereu." #~ msgid "" #~ "The following new partitions were\n" #~ "detected and can be configured :\n" #~ "" #~ msgstr "" #~ "S'han detectat les següents particions\n" #~ "i es poden configurar :\n" #~ "" #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Ha fallat en tornar a muntar el següent dispositiu.\n" #~ "Tanca totes les aplicacions que el puguen usar i reintenta-ho." #~ msgid "Retry to remount" #~ msgstr "Intenta tornar-lo a muntar" #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" ntfs-config-1.0.1/po/pt_BR.po0000644000175000017500000003412610646642505012651 00000000000000# Portuguese (Brazil) translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-06-26 10:37+0000\n" "Last-Translator: wilson_p_junior \n" "Language-Team: Portuguese (Brazil) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:53+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "" #: ../ntfs-config.in:68 #, fuzzy msgid "Read/Write NTFS driver not installed" msgstr "O driver de leitura/escrita em NTFS não está instalado" #: ../ntfs-config.in:69 #, fuzzy msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Para permitir suporte à escrita em suas partições NTFS, você precisa " "instalar o driver ntfs-3g.\n" "Caso sua distribuição não o forneça, pode encontrá-lo em:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Ferramenta de configuração do suporte a escrita NTFS" #: ../data/ntfs-config.glade.h:2 #, fuzzy msgid "New partitions detected" msgstr "Novas partições detectadas" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Configurações Avançadas" #: ../data/ntfs-config.glade.h:4 #, fuzzy msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternativamente você pode configurá-los \n" "automaticamente com o botão \"Auto Configurar\"" #: ../data/ntfs-config.glade.h:6 #, fuzzy msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Aplucando as alterações.\n" "Por favor aguarde até o fim do processo." #: ../data/ntfs-config.glade.h:8 #, fuzzy msgid "Auto Configure" msgstr "Auto Configurar" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Ativar suporte a escrita para dispositivo externo" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Ativar suporte a escrita para dispositivo interno" #: ../data/ntfs-config.glade.h:11 #, fuzzy msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "As seguintes partições foram\n" "detectadas e podem ser configuradas :\n" "" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Ativar/desativar suporte a escrita NTFS com um simples clique." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Ferramenta de Configuração NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 #, fuzzy msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "adicionar" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Dispositivo" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Ponto de montagem" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 #, fuzzy msgid "Formatting error" msgstr "Erro de formatação" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Gravável" #: ../NtfsConfig/NtfsConfig.py:116 #, fuzzy msgid "Mount point" msgstr "Ponto de montagem" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Total" #: ../NtfsConfig/NtfsConfig.py:124 #, fuzzy msgid "Used" msgstr "Utilizado" #: ../NtfsConfig/NtfsConfig.py:284 #, fuzzy msgid "Reverting to previous version?" msgstr "Reverter para a versão anterior?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Todas as modificações serão perdidas.\n" "você deseja continuar?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 #, fuzzy msgid "Unmounting disabled devices?" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:434 #, fuzzy msgid "Unmount selected" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:59 #, fuzzy msgid "Mounting partition" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:61 #, fuzzy msgid "Unmounting partition" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:69 #, fuzzy, python-format msgid "Unmounting %s" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, fuzzy, python-format msgid "Mounting %s" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:118 #, fuzzy msgid "Unmounting failed" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:138 #, fuzzy msgid "Retry unmount" msgstr "Tentar remontagem novamente" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:153 #, fuzzy msgid "Mounting failed" msgstr "" "Mountagem %s falhou.\n" "\n" "%s" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:157 #, fuzzy msgid "Retry mount" msgstr "Tentar remontagem novamente" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "posso remover as partições desconhecidas do \n" #~ "arquivo de configuração?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Eu não posso encontrar nenhuns dispositivos correspondentes aos " #~ "seguintes dispositivos:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "É aconselhável removê-los a fim evitar a falha na montagem\n" #~ "durante o boot. Seleccione os que você quer remover." #, fuzzy #~ msgid "Remove selected" #~ msgstr "" #~ "Mountagem %s falhou.\n" #~ "\n" #~ "%s" #~ msgid "Duplicate entry detected" #~ msgstr "Entrada duplicada detectada" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "" #~ "As seguintes entradas de sua configuração usam o mesmo ponto de montagem:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Dois dispositivos diferentes não podem usar o mesmo ponto de montagem.\n" #~ "Você deve selecionar apenas um, e o outro será comentado.\n" #~ "Serão mantidos na configuração, mas serão desativados." #, fuzzy #~ msgid "Keep selected" #~ msgstr "" #~ "Mountagem %s falhou.\n" #~ "\n" #~ "%s" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Mensagem de Erro :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Erro : Não foi possivel abrir /etc/mtab em modo de leitura.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s contém um caractere invalido.\n" #~ "você precisa escolher um nome simples, e não um diretório." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s esta sendo usada.\n" #~ "Por favor escolha outra." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Erro : Ocorreu um erro durante a configuração\n" #~ " %s, por favor tente de novo. Obrigado." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Erro : Não foi possivel abrir %s em modo de leitura.\n" #~ msgid "translator-credits" #~ msgstr "Marco A S Ribeiro " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Ativar/Desativar suporte a escrita NTFS com um click.\n" #~ "Essa ferramenta usa o driver ntfs-3g: http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Erro : Não foi possivel fazer backup /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Erro : Falha ao ativar suporte a escrita para dispositivo interno." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "" #~ "Erro : Falha ao desativar suporte a escrita para dispositivo interno." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Erro : Falha ao ativar suporte a escrita para dispositivo externo.\n" #~ "Isso provavelmente significa que sua instalação não foi completada, por " #~ "favor reinstale o ntfs-config e tente de novo. Obrigado." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "" #~ "Erro : Falha ao desativar suporte a escrita para dispositivo externo." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Error : Não foi possivel abrir /etc/fstab\n" #~ "Não vai funcionar.." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Erro : Não foi possivel encontrar o arquivo fdi.\n" #~ "Configuração de dispositivo exterdo esta desativada.\n" #~ "Você provavelmente terá que reinstalar o ntfs-config\n" #~ "para restaurar." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Cuidado: Não foi possivel encontrar %s.\n" #~ "Acreditamos que significa que o hal não esta instalado de forma " #~ "apropiada\n" #~ "então estamos desativando a Configuração de dispositivos externos." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "" #~ "%s.\n" #~ "Ativar/desativar suporte a escrita NTFS com um simples clique.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Erro : Esse programa precisa ser rodado como root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Error : Ocorreu um erro tentando inicializar o hal. Não foi possivel " #~ "procurar novas partições.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Selecione as partições que quer configurar\n" #~ "- Dê um nome para o ponto de montagem\n" #~ "- Clique em aplicar" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "Remontando seu dispositivo interno NTFS. Por favor espere." #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Remontagem do seguinte dispositivo falhou. Por favor \n" #~ "feche todos aplicativos que o estejam usando e tente de novo." ntfs-config-1.0.1/po/pl.po0000644000175000017500000003653110646642505012260 00000000000000# Polish translation for ntfs-config # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the ntfs-config package. # FIRST AUTHOR , 2007. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ntfs-config\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-07-16 12:15+0200\n" "PO-Revision-Date: 2007-07-04 16:35+0000\n" "Last-Translator: e.s.t \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Rosetta-Export-Date: 2007-07-15 23:18:27+0000\n" #: ../ntfs-config.in:61 msgid "Insufficient rights" msgstr "Niewystarczające uprawnienia" #: ../ntfs-config.in:62 msgid "You need administrative rights to start this application." msgstr "Musisz mieć prawa administratora aby uruchomić tą palikację." #: ../ntfs-config.in:68 msgid "Read/Write NTFS driver not installed" msgstr "Sterownik NTFS Odczytu/Zapisu nie zainstalowany" #: ../ntfs-config.in:69 msgid "" "In order to enable write support for your NTFS devices, you'll need first to " "install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org" msgstr "" "Przed włączeniem możliwości zapisu dla urządzeń NTFS musisz zainstalować " "sterownik ntfs-3g.\n" "Jeżeli nie jest on dostarczony razem z Twoją dystrybucją, możesz go pobrać " "ze strony:\n" "http://www.ntfs-3g.org" #: ../data/ntfs-config.glade.h:1 msgid "NTFS write support configuration tool" msgstr "Narzędzie konfiguracji trybu zapisu dla NTFS" #: ../data/ntfs-config.glade.h:2 msgid "New partitions detected" msgstr "Wykryto nowe partycje" #: ../data/ntfs-config.glade.h:3 msgid "Advanced Configuration" msgstr "Konfiguracja zaawansowana" #: ../data/ntfs-config.glade.h:4 msgid "" "Alternatively you can configure them \n" "automatically with the \"Auto Configure\" button" msgstr "" "Alternatywnie można skonfigurować je \n" "automatycznie za pomocą przycisku \"Autokonfiguracja\"" #: ../data/ntfs-config.glade.h:6 msgid "" "Applying changes.\n" "Please wait until the process finishes." msgstr "" "Zachowywanie zmian.\n" "Proszę czekać." #: ../data/ntfs-config.glade.h:8 msgid "Auto Configure" msgstr "Autokonfiguracja" #: ../data/ntfs-config.glade.h:9 msgid "Enable write support for external device" msgstr "Włącz możliwość zapisu dla urządzeń zewnętrznych" #: ../data/ntfs-config.glade.h:10 msgid "Enable write support for internal device" msgstr "Włącz możliwość zapisu dla urządzeń wewnętrznych" #: ../data/ntfs-config.glade.h:11 msgid "" "The following new partitions were detected.\n" "Select the ones you want to configure:" msgstr "" "Zostały wykryte nowe partycje.\n" "Wybierz te, które chcesz skonfigurować:" #: ../data/ntfs-config.desktop.in.in.h:1 msgid "Enable/disable write support for NTFS with a simple click." msgstr "Włącz/wyłącz możliwość zapisu na partycjach NTFS jednym kliknięciem." #: ../data/ntfs-config.desktop.in.in.h:2 ../NtfsConfig/NtfsConfig.py:49 msgid "NTFS Configuration Tool" msgstr "Narzędzie konfiguracji trybu zapisu dla NTFS" #. Add new devices in the treeview #: ../NtfsConfig/AddWizard.py:64 msgid "" msgstr "" #: ../NtfsConfig/AddWizard.py:87 msgid "Add" msgstr "Dodaj" #: ../NtfsConfig/AddWizard.py:91 ../NtfsConfig/NtfsConfig.py:110 msgid "Device" msgstr "Urządzenie" #: ../NtfsConfig/AddWizard.py:97 msgid "Mount Point" msgstr "Punkt montowania" #: ../NtfsConfig/AddWizard.py:129 ../NtfsConfig/NtfsConfig.py:265 msgid "Formatting error" msgstr "Błąd formatowania" #: ../NtfsConfig/AddWizard.py:130 ../NtfsConfig/NtfsConfig.py:266 #, python-format msgid "" "%s contains an invalid character.\n" "Mount point should be in /media/. Alternatively, you can enter a simple " "name, like disk." msgstr "" "%s zawiera nieprawidłowy znak.\n" "Punkt montowania powinien być w folderze /media/. Alternatywnie spróbuj " "wpisać prostą nazwę, np. disk." #: ../NtfsConfig/NtfsConfig.py:106 msgid "Writable" msgstr "Zapisywalny" #: ../NtfsConfig/NtfsConfig.py:116 msgid "Mount point" msgstr "Punkt montowania" #: ../NtfsConfig/NtfsConfig.py:120 msgid "Total" msgstr "Suma" #: ../NtfsConfig/NtfsConfig.py:124 msgid "Used" msgstr "Używany" #: ../NtfsConfig/NtfsConfig.py:284 msgid "Reverting to previous version?" msgstr "Przywrócić poprzednią wersję?" #: ../NtfsConfig/NtfsConfig.py:285 msgid "" "All changes that you just made will be lost.\n" "Do you want to continue?" msgstr "" "Wszystkie twoje zmiany, które ustawiłeś teraz zostaną utracone.\n" "Czy chcesz kontynuować?" #: ../NtfsConfig/Fstab/FstabHandler.py:431 msgid "Unmounting disabled devices?" msgstr "Wymontować wyłączone urządzenia?" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "You disabled the following devices:" msgstr "Wyłączyłeś następujące urządzenia:" #: ../NtfsConfig/Fstab/FstabHandler.py:432 msgid "Do you want to unmount them?" msgstr "Czy chcesz je wymontować?" #: ../NtfsConfig/Fstab/FstabHandler.py:434 msgid "Unmount selected" msgstr "Wymontuj wybrany/e" #: ../NtfsConfig/Fstab/FstabHandler.py:443 msgid "Reboot require" msgstr "Wymagany restart komputera" #: ../NtfsConfig/Fstab/FstabHandler.py:444 msgid "" "In order to apply all your changes,\n" "you'll need to reboot your computer." msgstr "" "Aby wprowadzić zmiany,\n" "konieczny jest restart komputera." #: ../NtfsConfig/Fstab/Mounter.py:59 msgid "Mounting partition" msgstr "Montowanie partycji" #: ../NtfsConfig/Fstab/Mounter.py:61 msgid "Unmounting partition" msgstr "Wymontowywanie partycji" #: ../NtfsConfig/Fstab/Mounter.py:63 msgid "Applying changes" msgstr "Zatwierdzanie zmian" #: ../NtfsConfig/Fstab/Mounter.py:69 #, python-format msgid "Unmounting %s" msgstr "Wymontowywanie %s" #: ../NtfsConfig/Fstab/Mounter.py:83 #, python-format msgid "Mounting %s" msgstr "Montowanie %s" #: ../NtfsConfig/Fstab/Mounter.py:118 msgid "Unmounting failed" msgstr "Wymontowywanie nie powiodło się" #: ../NtfsConfig/Fstab/Mounter.py:119 #, python-format msgid "Unmounting %s failed because of the following error:" msgstr "Wymontowywanie %s nie powiodło się ze względu na błąd:" #: ../NtfsConfig/Fstab/Mounter.py:124 msgid "You can also use the 'lazy' options to detach the filesystem now." msgstr "" "Możesz także użyć opcji leniwej (lazy) aby odczepić teraz system plików." #: ../NtfsConfig/Fstab/Mounter.py:129 #, python-format msgid "" "Unmounting %s failed, because\n" "it is currently used by the following applications:" msgstr "" "Wymontowywanie %s nie powiodło się, ponieważ\n" "jest używane przez następujące aplikacje:" #: ../NtfsConfig/Fstab/Mounter.py:131 msgid "Close all applications that use it and retry to unmount." msgstr "Zamknij wszystkie aplikacje które go używają i ponów wymontowywanie." #: ../NtfsConfig/Fstab/Mounter.py:134 msgid "The filesystem might be temporary buzy. Wait few seconds and retry." msgstr "" "System plików może być tymczasowo zajęty. Poczekaj kilka sekund i spróbuj " "ponownie." #: ../NtfsConfig/Fstab/Mounter.py:137 msgid "Unmount with the 'lazy' option" msgstr "Wymontuj z opcją 'lazy'" #: ../NtfsConfig/Fstab/Mounter.py:138 msgid "Retry unmount" msgstr "Wymontuj ponownie" #: ../NtfsConfig/Fstab/Mounter.py:141 msgid "Even with the lazy option, unmounting failed." msgstr "Nawet z opcją leniwą (lazy), wymontowywanie nie powiodło się." #: ../NtfsConfig/Fstab/Mounter.py:153 msgid "Mounting failed" msgstr "Montowanie nie powiodło się" #: ../NtfsConfig/Fstab/Mounter.py:154 #, python-format msgid "Mounting %s failed because of the following error:" msgstr "Montowanie %s nie powiodło się ze względu na błąd:" #: ../NtfsConfig/Fstab/Mounter.py:157 msgid "Retry mount" msgstr "Zamontuj ponownie" #: ../NtfsConfig/Fstab/Mounter.py:188 msgid "You can try one of the following action:" msgstr "Możesz spróbować wykonać jedną z następujących czynności:" #: ../NtfsConfig/Fstab/Mounter.py:191 #, python-format msgid "It seams that option '%s' is not allowed." msgstr "Wygląda na to, że opcja %s' nie jest dozwolona." #: ../NtfsConfig/Fstab/Mounter.py:193 msgid "Return options to defaults" msgstr "Przywróć opcje domyślne" #: ../NtfsConfig/Fstab/Mounter.py:195 #, python-format msgid "Don't use the '%s' option" msgstr "Nie używaj opcji %s'" #: ../NtfsConfig/Fstab/Mounter.py:197 #, python-format msgid "It seams that fs type '%s' is not valid." msgstr "Wygląda na to, że typ systemu plików %s' nie jest prawidlowy." #: ../NtfsConfig/Fstab/Mounter.py:201 #, python-format msgid "Using driver '%s' (%s)" msgstr "Używam sterownika '%s' (%s)" #: ../NtfsConfig/Fstab/Mounter.py:204 #, python-format msgid "No driver is available for this type of filsystem : '%s'" msgstr "Nie ma dostępnego sterownika dla tego typu systemu plików: %s'" #: ../NtfsConfig/Fstab/Mounter.py:207 msgid "" "You can try to use the 'force' option. Be Aware that this could be risky." msgstr "" "Możesz spróbować użyć opcji wymuszonej (force). Pamiętaj, że może to być " "ryzykowne." #: ../NtfsConfig/Fstab/Mounter.py:208 msgid "Use the 'force' option" msgstr "Użyj opcji wymuszonej (force)" #~ msgid "" #~ "Removing unknown devices from\n" #~ "the configuration file?" #~ msgstr "" #~ "Usunąć nieznane urządzenia z \n" #~ "pliku konfiguracyjnego?" #~ msgid "" #~ "I can not find any existing block devices\n" #~ "corresponding to the following devices:" #~ msgstr "" #~ "Nie mogę znaleźć żadnych istniejących użądzeń blokowych\n" #~ "odpowiadających następującym napędom:" #~ msgid "" #~ "It is advisable to remove them in order to avoid failed mount\n" #~ "at start-up. Select the ones you want to remove." #~ msgstr "" #~ "Zalecane jest usunięcie ich aby zapobiec nieudanemu montowaniu\n" #~ "podczas startu systemu. Wybierz te, które chcesz usunąć." #~ msgid "Remove selected" #~ msgstr "Usuń wybrany/e" #~ msgid "Duplicate entry detected" #~ msgstr "Wykryto zduplikowany wpis" #~ msgid "" #~ "The following entries of your configuration file use the same mount point:" #~ msgstr "" #~ "Następujące wpisy pliku konfiguracyjnego używają tego samego punktu " #~ "montowania:" #~ msgid "" #~ "Two different devices can not share the same mount point.\n" #~ "You should select the one you want, and the others will be commented.\n" #~ "They will be kept in the configuration file, but will be disabled." #~ msgstr "" #~ "Dwa różne urządzenia nie mogą używać tego samego punktu montowania.\n" #~ "Wybierz jedno które chcesz zachować, pozostałe zostaną wykomentowane.\n" #~ "Zachowają się w pliku konfiguracyjnym ale zostaną wyłączone." #~ msgid "Keep selected" #~ msgstr "Zachowaj wybrany/e" #~ msgid "Use default type '%s' for this fileystem" #~ msgstr "Użyj domyślnego typu %s' dla tego systemu plików" #, fuzzy #~ msgid "gtk-close" #~ msgstr "gtk-ok" #, fuzzy #~ msgid "gtk-undo" #~ msgstr "gtk-ok" #~ msgid "" #~ "%s\n" #~ "\n" #~ "Error Message :\n" #~ "%s" #~ msgstr "" #~ "%s\n" #~ "\n" #~ "Komunikat błędu :\n" #~ "%s" #~ msgid "Error : Can't open /etc/mtab in read mode.\n" #~ msgstr "Błąd : Nie mogę otworzyć /etc/mtab do odczytu.\n" #~ msgid "" #~ "%s contains an invalid caracter.\n" #~ "you must choose a name, not a directory." #~ msgstr "" #~ "%s zawiera nieprawidłowy znak.\n" #~ "musisz wybrać pojedynczą nazwę, nie katalog." #~ msgid "" #~ "/media/%s is already in use.\n" #~ "Please choose another one." #~ msgstr "" #~ "/media/%s jest już w użyciu.\n" #~ "Wybierz inną możliwość." #~ msgid "" #~ "Error : An error occured when trying to configure\n" #~ " %s, please retry. Thanks." #~ msgstr "" #~ "Błąd : Pojawił się problem podczas konfiguracji\n" #~ " %s, spróbuj jeszcze raz. Dzięki." #~ msgid "Error : Can't open %s in read mode.\n" #~ msgstr "Błąd : Nie mogę otworzyć %s do odczytu.\n" #~ msgid "translator-credits" #~ msgstr "e.s.t " #~ msgid "" #~ "Enable/disable NTFS write support with one click.\n" #~ "This tool use the ntfs-3g driver : http://www.ntfs-3g.org" #~ msgstr "" #~ "Włącz/wyłącz tryb zapisu dla partycji NTFS przy pomocy jednego " #~ "kliknięcia.\n" #~ "Ten program używa sterownika ntfs-3g : http://www.ntfs-3g.org" #~ msgid "Error : Can't backup /etc/fstab.\n" #~ msgstr "Błąd : nie mogę zrobić kopii /etc/fstab.\n" #~ msgid "Error : Failed to enable write support for internal device." #~ msgstr "Błąd : Nie udało się włączyć trybu zapisu dla wewnętrznego napędu." #~ msgid "Error : Failed to disable write support for internal device." #~ msgstr "Błąd : Nie udało się wyłączyć trybu zapisu dla wewnętrznego napędu." #~ msgid "" #~ "Error : Failed to enable write support for external device.\n" #~ "This probably means that your installation is not complete please " #~ "reinstall ntfs-config and retry. Thanks." #~ msgstr "" #~ "Błąd : Nie udało się włączyć trybu zapisu dla zewnętrznego napędu.\n" #~ "To prawdopodobnie oznacza, że Twoja instalacja jest niekompletna, " #~ "zainstaluj ntfs-config ponownie i spróbuj jeszcze raz. Dzięki." #~ msgid "Error : Failed to disable write support for external device." #~ msgstr "Błąd : Nie udało się wyłączyć trybu zapisu dla zewnętrznego napędu." #~ msgid "" #~ "Error : Can't open /etc/fstab\n" #~ " This is not going to work." #~ msgstr "" #~ "Błąd : Nie mogę otworzyć /etc/fstab\n" #~ " To nie zadziała." #~ msgid "" #~ "Error : Could not find the fdi file.\n" #~ "Configuration of external device is disable.\n" #~ "You'll probably need to reinstall ntfs-config\n" #~ "to restore it." #~ msgstr "" #~ "Błąd : Nie mogę znaleźć pliku fdi.\n" #~ "Konfiguracja urządzenia zewnętrznego jest wyłączona.\n" #~ "Prawdopodobnie musisz przeinstalować ntfs-config\n" #~ " by go odzyskać." #~ msgid "" #~ "Warning : Could not find %s.\n" #~ "Assuming that this means the HAL is not properly installed\n" #~ "and therefore configuration of external devices is disabled." #~ msgstr "" #~ "Ostrzeżenie : Nie mogę znaleźć %s.\n" #~ "Przypuszczamy, że hal nie jest poprawnie zainstalowany\n" #~ "w takim wypadku wyłączamy możliwość konfiguracji zewnętrznego urządzenia." #~ msgid "" #~ "%s.\n" #~ "Enable/disable write support for NTFS with a simple click.\n" #~ msgstr "%s.\n" #~ msgid "Error : This programm need to be run as root.\n" #~ msgstr "Błąd : Ten program należy uruchomić jako root.\n" #~ msgid "" #~ "Error : An error occured when trying to initialize HAL. Can't search for " #~ "new partition.\n" #~ msgstr "" #~ "Błąd : Wystąpił problem podczas próby inicjacji hal. Nie mogę szukać " #~ "nowej partycji.\n" #~ msgid "" #~ "- Select the partitions you want to configure\n" #~ "- Add a name for the mount point\n" #~ "- Click on apply" #~ msgstr "" #~ "- Wybierz partycje, które chcesz skonfigurować\n" #~ "- Dodaj nazwę dla punktu montowania\n" #~ "- Kliknij zastosuj" #~ msgid "Remouting your NTFS internal device. Please wait." #~ msgstr "Wymontowuję wewnętrzne napędy NTFS. Proszę czekać. " #~ msgid "" #~ "Remounting the following device failled. Please \n" #~ "close all applications that could use them and retry." #~ msgstr "" #~ "Wymontowanie poniższego napędu nie powiodło się. Proszę \n" #~ "zamknij wszystkie aplikacje mogące z niego korzystać i spróbuj ponownie." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" ntfs-config-1.0.1/install-sh0000755000175000017500000002202110627104012012641 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ntfs-config-1.0.1/NtfsConfig/0000777000000000000000000000000010646710035012743 500000000000000ntfs-config-1.0.1/NtfsConfig/__init__.py0000644000175000017500000000000010627104012014777 00000000000000ntfs-config-1.0.1/NtfsConfig/Utility.py0000644000175000017500000001313610645653606014743 00000000000000# -*- coding: UTF-8 -*- # # Utility.py : Various utility # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import pwd import logging from subprocess import * from urllib import quote from gettext import gettext as _ from config import * pref_browser = { "GNOME" : { "file" : [["gnome-open"], ["nautilus", "--no-desktop"]], \ "http" : [["gnome-open"], ["epiphany"], ["firefox"], ["mozilla"]] }, \ "KDE" : { "file" : [["kfmclient", "exec"], ["konqueror"], ["dolphin"]], \ "http" : [["kfmclient", "exec"], ["konqueror"], ["opera"]] }, \ "XFCE" : { "file" : [["exo-open"], ["thunar"], ["nautilus", "--no-desktop"]], \ "http" : [["exo-open"], ["firefox"], ["mozilla"], ["epiphany"]]}} def size_renderer(size) : ''' Return a string that show the size in a human readable way ''' if not size : return "0" for unit in [_("KB"), _("MB"), _("GB"), _("TB") ] : size = float(size)/1024. if size/1024. < 1 : return str(round(size, 1)) + " " + unit return str(round(size, 1)) + " " + unit def get_user(request = "name") : ''' Get user information. Request could be name, uid, gid, dir, shell, ... ''' try : if os.environ.has_key("USERNAME") : user = pwd.getpwnam(os.environ["USERNAME"]) elif os.environ.has_key("SUDO_USER") : user = pwd.getpwnam(os.environ["SUDO_USER"]) elif os.environ.has_key("USERHELPER_UID") : user = pwd.getpwuid(int(os.environ["USERHELPER_UID"])) else : user = pwd.getpwnam(os.environ["USER"]) except : logging.warning("Can't find your username. I assume for now that you are root.\n"\ "But please report that bug and attach the following :\n%s" \ % "\n".join([ "%s = %s" % k for k in os.environ.items() ])) user = pwd.getpwnam(0) if user.pw_uid == "0" : logging.warning("Can't find your real username. Some features will not work.") return getattr(user, "pw_" + request) def open_url(url) : ''' Select a browser depending on the requested url, and on the desktop currently used. We also do some ugly tweaks to be able to execute this browser as non root ''' if url[:7] == "http://" : url = "http://%s" % quote(url.split("http://")[1]) elif url[:7] == "file://" : url = "file://%s" % quote(url.split("file://")[1]) else : url = "file://%s" % quote(url) user = get_user() desktop = get_desktop(default = "GNOME") browsers= pref_browser[desktop][url[:4]] [ browsers.extend(k) for k in [ k[url[:4]] for k in pref_browser.values() ] ] for test in browsers : if test_cmd(test[0]) : browser = " ".join(test) break if not browser or not user or user == "root" : return False for key in ["HOME", "USER", "XAUTHORITY", "LOGNAME"] : if os.environ.has_key(key) : setattr(open_url, "current_%s" % key, os.environ[key]) os.putenv("USER", user) os.putenv("LOGNAME", user) os.putenv("HOME", get_user("dir")) if os.environ.has_key("%s_user-XAUTHORITY" % PACKAGE) : os.putenv("XAUTHORITY", os.environ["%s_user-XAUTHORITY" % PACKAGE]) cmd = "su - %s -m -c '%s %s'" % (user, browser, url) logging.debug("Launching %s as user %s with command : %s" % (browser, user, cmd)) Popen(cmd, close_fds=True, shell=True) for key in ["HOME", "USER", "XAUTHORITY", "LOGNAME"] : if hasattr(open_url, "current_%s" % key) : os.putenv(key, getattr(open_url, "current_%s" % key)) return True def test_cmd(cmd) : return not call(["which " + cmd], stdout=PIPE, stderr=PIPE, \ close_fds=True, shell=True) def pidof(proc_name) : return not call(["pidof " + proc_name], stdout=PIPE, stderr=PIPE, \ close_fds=True, shell=True) def get_desktop(default = None) : ''' Get current running desktop. Search first for an environment key, otherwise for a process. This way we are not fool by people running a gnome-panel in a kde session for example, but we still can detect a desktop if keys are unset by a su helper (conseolheper for example). ''' if os.environ.has_key("KDE_FULL_SESSION") or os.environ.has_key("KDE_MULTIHEAD"): desktop = "KDE" elif os.environ.has_key("GNOME_DESKTOP_SESSION_ID") : desktop = "GNOME" elif pidof("startkde") or pidof("kicker") : desktop = "KDE" elif pidof("gnome-session") or pidof("gnome-panel") : desktop = "GNOME" elif pidof("xfce4-session") or pidof("xfce-mcs-manager") : desktop = "XFCE" else : logging.debug("No desktop environement found. Using default one : %s" % default) desktop = default logging.debug("Detected %s session" % desktop) return desktop ntfs-config-1.0.1/NtfsConfig/Makefile.in0000644000175000017500000003673110646710026014770 00000000000000# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BLKID = @BLKID@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONSOLEHELPER = @CONSOLEHELPER@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DMSETUP = @DMSETUP@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_PAM_FALSE = @ENABLE_PAM_FALSE@ ENABLE_PAM_TRUE = @ENABLE_PAM_TRUE@ EXEC_PATH = @EXEC_PATH@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MODPROBE = @MODPROBE@ MOUNT = @MOUNT@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYOPTIONS = @PYOPTIONS@ PYTHON = @PYTHON@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UMOUNT = @UMOUNT@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = Fstab appdir = $(pyexecdir)/NtfsConfig app_PYTHON = __init__.py \ NtfsConfig.py \ AddWizard.py \ SimpleGladeApp.py \ config.py \ Config.py \ Utility.py CLEANFILES = config.py EXTRA_DIST = config.py.in subdir = NtfsConfig ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = config.py DIST_SOURCES = py_compile = $(top_srcdir)/py-compile RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ ps-recursive install-info-recursive uninstall-info-recursive \ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive DIST_COMMON = $(app_PYTHON) $(srcdir)/Makefile.in Makefile.am \ config.py.in DIST_SUBDIRS = $(SUBDIRS) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu NtfsConfig/Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) config.py: $(top_builddir)/config.status config.py.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ uninstall-info-am: appPYTHON_INSTALL = $(INSTALL_DATA) install-appPYTHON: $(app_PYTHON) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(appdir) @list='$(app_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ d=`echo "$$p" | sed -e 's,^.*/,,'`; \ dlist="$$dlist $$d"; \ echo " $(appPYTHON_INSTALL) $$b$$p $(DESTDIR)$(appdir)/$$d"; \ $(appPYTHON_INSTALL) $$b$$p $(DESTDIR)$(appdir)/$$d; \ else :; fi; \ done; \ PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(appdir) $$dlist uninstall-appPYTHON: @$(NORMAL_UNINSTALL) list='$(app_PYTHON)'; for p in $$list; do \ d=`echo "$$p" | sed -e 's,^.*/,,'`; \ rm -f $(DESTDIR)$(appdir)/$$d; \ rm -f $(DESTDIR)$(appdir)/$${d}c; \ rm -f $(DESTDIR)$(appdir)/$${d}o; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if (etags --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ else \ include_option=--include; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" \ distdir=../$(distdir)/$$subdir \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile all-local installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(appdir) install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: info: info-recursive info-am: install-data-am: install-appPYTHON install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-appPYTHON uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-recursive \ distclean-tags distdir dvi dvi-am dvi-recursive info info-am \ info-recursive install install-am install-appPYTHON \ install-data install-data-am install-data-recursive \ install-exec install-exec-am install-exec-recursive \ install-info install-info-am install-info-recursive install-man \ install-recursive install-strip installcheck installcheck-am \ installdirs installdirs-am installdirs-recursive \ maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ ps-recursive tags tags-recursive uninstall uninstall-am \ uninstall-appPYTHON uninstall-info-am uninstall-info-recursive \ uninstall-recursive all-local: config.py # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/NtfsConfig/config.py0000644000175000017500000000302710646710034014531 00000000000000# -*- coding: UTF-8 -*- # # config.py : Store all dirs, commands, files used in the same place # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # prefix = "/usr/local" PACKAGE = "ntfs-config" VERSION = "1.0.1" HOMEPAGE = "http://flomertens.free.fr/ntfs-config/" AUTHORS = ["Mertens Florent "] DATADIR = prefix + "/share/" + PACKAGE GLADEFILE = DATADIR + "/" + PACKAGE + ".glade" localedir = prefix + "/share/locale" # NTFS external policy files : HAL_CONFIG_DIR = "/etc/hal/fdi/policy" TARGET_NTFS_WRITE = HAL_CONFIG_DIR + "/20-ntfs-config-write-policy.fdi" TARGET_NTFS_READ = HAL_CONFIG_DIR + "/20-ntfs-config-read-policy.fdi" NTFS_WRITE = DATADIR + "/write-policy.fdi" NTFS_READ = DATADIR + "/ro-policy.fdi" # Config files : CONF_FILE = "/.ntfs-config.conf" ntfs-config-1.0.1/NtfsConfig/config.py.in0000644000175000017500000000300410634101757015134 00000000000000# -*- coding: UTF-8 -*- # # config.py : Store all dirs, commands, files used in the same place # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # prefix = "@prefix@" PACKAGE = "@PACKAGE@" VERSION = "@VERSION@" HOMEPAGE = "@PACKAGE_BUGREPORT@" AUTHORS = ["Mertens Florent "] DATADIR = prefix + "/share/" + PACKAGE GLADEFILE = DATADIR + "/" + PACKAGE + ".glade" localedir = prefix + "/share/locale" # NTFS external policy files : HAL_CONFIG_DIR = "/etc/hal/fdi/policy" TARGET_NTFS_WRITE = HAL_CONFIG_DIR + "/20-ntfs-config-write-policy.fdi" TARGET_NTFS_READ = HAL_CONFIG_DIR + "/20-ntfs-config-read-policy.fdi" NTFS_WRITE = DATADIR + "/write-policy.fdi" NTFS_READ = DATADIR + "/ro-policy.fdi" # Config files : CONF_FILE = "/.ntfs-config.conf" ntfs-config-1.0.1/NtfsConfig/Fstab/0000777000000000000000000000000010646710035014002 500000000000000ntfs-config-1.0.1/NtfsConfig/Fstab/FstabData.py0000755000175000017500000000606110646641425016167 00000000000000# -*- coding: UTF-8 -*- # # FstabData.py : Fstab data # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Default options for an fs defaults = { "ext3" : ("defaults", "0", "2"), "ext2" : ("defaults", "0", "2"), "vfat" : ("defaults,utf8,umask=0", "0", "2"), "ntfs" : ("defaults,nls=utf8,umask=0222", "0", "0"), "ntfs-3g" : ("defaults,locale=autoset", "0", "0"), "ntfs-fuse" : ("defaults,locale=autoset,umask=0", "0", "0"), "jfs" : ("defaults,iocharset=utf8", "0", "0"), "__default__" : ("defaults", "0", "0")} # Known special driver special_driver = { "ntfs-3g" : "Read-write driver", "ntfs-fuse" : "Read-write driver", "__unknow__" : "Unknow driver" } # Secondary driver secondary_driver = { "ext3" : ("ext2"), "vfat" : ("msdos"), "__all__" : ("auto")} # List type of device that have an FS_TYPE, but that we don't want to configure ignore_fs = ("swap", "iso9660", "udf", "iso9660,udf", "udf,iso9660") # List of virtual device name virtual_dev = ("proc", "devpts", "tmpfs", "sysfs", "shmfs", "usbfs") # Common options. Keep them when we change fs common = ("atime","noatime","diratime","nodiratime","auto","noauto","dev","nodev","exec",\ "noexec","mand","nomand","user","nouser","users","group","_netdev","owner","suid","nosuid",\ "ro","rw","sync","async","dirsync") # List of options that don't require a remount dont_need_remount = ("auto", "noauto", "check=none", "nocheck", "errors=continue", "errors=remount-ro", "error=panic") # Write entry in MntFile in this order : path_order = ("/", "/usr", "/home") # System partitions : system = { "exact" : ("/", "/home", "/tmp"), "extand" : ("/usr", "/var", "/boot", "/sys", "/proc")} # MntFile header header = "# /etc/fstab: static file system information.\n" + \ "#\n" +\ "# \n\n" # Categories of an entry categorie = ("FSTAB_NAME", "FSTAB_PATH", "FSTAB_TYPE", "FSTAB_OPTION", "FSTAB_FREQ", "FSTAB_PASO") # Divers special_char = ('"', "'", " ", "<", ">", "&", "$", "(", ")", "`", "-", "|", ";", "~", "{", "}", "^") ntfs-config-1.0.1/NtfsConfig/Fstab/FstabDialogs.py0000644000175000017500000002527310640035335016672 00000000000000# -*- coding: UTF-8 -*- # # FstabDialogs.py : Provide dialogs for FstabHandler # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import pygtk pygtk.require("2.0") import gtk import pango from gettext import gettext as _ from Fstabconfig import * from SimpleGladeApp import SimpleGladeApp ACCEPTED_TYPE = ["warning", "info", "error", "question"] class WrongDialogType(Exception) : def __init__(self, value) : self.value = value def __str__(self) : return "'%s' is not an accepted dialog type. " \ "Should be '%s'" % (self.value, "' or '".join(ACCEPTED_TYPE)) class DialogBuilder(SimpleGladeApp) : ''' This class will create a builder with widget appropriate to the data you give hime ''' def __init__(self, type, buttons, title, text, data = None, options = None, parent = None) : ''' See dialog doc for more information. You should not need to call this method directly, but use the dialog fct instead ''' self.type = type self.buttons = buttons self.title = title self.text = text self.data = data self.options = options if not self.buttons : self.buttons = [] elif isinstance(self.buttons, str) : self.buttons = [ self.buttons ] if type in ("warning", "info", "error") : if not self.buttons : self.buttons = ["close"] else : self.buttons.insert(0, "cancel") elif type == "question" : self.buttons.insert(0, "yes") self.buttons.insert(0, "no") else : raise WrongDialogType(type) SimpleGladeApp.__init__(self, GLADEFILE, "dialog_template", domain = PACKAGE) self.dialog_main = self.dialog_template self.dialog_main.set_title("") if parent : self.dialog_main.set_transient_for(parent) self.build_advance_dialog() self.set_size() def build_advance_dialog(self) : for button in self.buttons : if not isinstance(button, str) : continue try : response = getattr(gtk, "RESPONSE_%s" % button.upper()) except : response = 0 if hasattr(gtk, "STOCK_%s" % button.upper()) : button = getattr(gtk, "STOCK_%s" % button.upper()) widget = self.dialog_main.add_button(button, response) self.dialog_main.set_focus(widget) self.title_label.set_label("" + self.title + "") try : self.image.set_from_stock(getattr(gtk, "STOCK_DIALOG_%s" % self.type.upper()), gtk.ICON_SIZE_DIALOG) except : pass if isinstance(self.text, list) : self.text_top_label.set_label(self.text[0]) self.text_down_label.set_property("wrap", False) self.text_down_label.set_label(self.text[1]) else : self.text_down_label.hide() self.text_top_label.set_label(self.text) if self.options : self.setup_check_button() if isinstance(self.data, list) : self.setup_treeview() elif isinstance(self.data, str) : self.setup_textview() def on_treeview_toggled(self, widget) : path = self.treeview.get_cursor()[0] self.tree_store[path][0] = not self.tree_store[path][0] def setup_treeview(self) : self.treeview = gtk.TreeView() self.treeview.set_headers_visible(False) self.scrolledwindow.add(self.treeview) if len(self.data) > 1 and isinstance(self.data[1], bool) : sensitive = self.data[1] data = self.data[0] else : sensitive = True data = self.data renderer1 = gtk.CellRendererToggle() renderer1.set_property("sensitive", sensitive) if sensitive : self.treeview.connect("cursor-changed", self.on_treeview_toggled) column = gtk.TreeViewColumn("", renderer1, active=0) self.treeview.append_column(column) renderer2 = gtk.CellRendererText() column = gtk.TreeViewColumn("", renderer2, text=1) self.treeview.append_column(column) self.tree_store = gtk.ListStore(bool, str) self.treeview.set_model(self.tree_store) for entry in data : if isinstance(entry, list) : value = entry[1] entry = entry[0] else : value = True self.tree_store.append((value, entry)) self.scrolledwindow.show_all() def setup_textview(self) : self.textview = gtk.TextView() self.textview.set_editable(False) self.textview.set_cursor_visible(False) self.scrolledwindow.add(self.textview) buf = gtk.TextBuffer() buf.set_text(self.data) self.textview.set_buffer(buf) self.scrolledwindow.show_all() def setup_check_button(self) : box = gtk.VBox(homogeneous=True, spacing = 0) if len(self.options) > 1 and isinstance(self.options[1], bool) : grouped = self.options[1] options = self.options[0] else : grouped = False options = self.options widget = None for option in options : if isinstance(option, list) : option = option[0] value = option[1] else : value = False if grouped : widget = gtk.RadioButton(label = option, group = widget) else : widget = gtk.CheckButton(option) widget.set_active(value) box.pack_start(widget, expand=False) self.check_box = box self.vbox.pack_end(self.check_box, expand=False) self.check_box.show_all() def set_size(self) : if hasattr(self, "treeview") : widget = self.treeview if len(self.data) > 1 and isinstance(self.data[1], bool) : sample = self.data[0] else : sample = self.data ypad = 6 maxrow = 8 elif hasattr(self, "textview") : widget = self.textview sample = self.data.split("\n") ypad = 2 maxrow = 8 else : return ctx = widget.get_pango_context() layout = pango.Layout(ctx) row = min(len(sample) + 2, maxrow) if self.options and row > 5 : row -= min(len(self.options), 3) w = [] for k in sample : if isinstance(k, list) : k = k[0] layout.set_text(k + "O" * 2 * row) w.append(layout.get_pixel_size()[0]) width = min(max(w), 450) height = (layout.get_pixel_size()[1] + ypad) * row widget.set_size_request(width, height) def run(self) : ret = self.dialog_main.run() if ret in (gtk.RESPONSE_DELETE_EVENT, gtk.RESPONSE_CANCEL, gtk.RESPONSE_CLOSE, gtk.RESPONSE_NO) : ret = gtk.RESPONSE_REJECT result = [ret, None, None] if not ret == gtk.RESPONSE_REJECT : if hasattr(self, "treeview") : select = [] unselect = [] iter = self.tree_store.get_iter_first() for i in range(len(self.tree_store)) : if self.tree_store.get_value(iter, 0) : select.append(i) else : unselect.append(i) iter = self.tree_store.iter_next(iter) result[1] = [select, unselect] if hasattr(self, "check_box") : select = [] unselect = [] i = 0 for widget in self.check_box.get_children() : if widget.get_active() : select.append(i) else : unselect.append(i) i += 1 result[2] = [select, unselect] self.dialog_main.hide() return result def dialog(type, title, text, data = None, action = None, options = None, parent = None) : ''' dialog(type, title, text, [data], [action], [options], [parent] -> launch a graphical dialog\n type : type of the dialog. should be "warning", "error", "info" or "question" title : title of the dialog text : the text to show in the dialog. If text = [text1, text2] text1 will be shown on top text2 will be shown on the bottom data : data to show in the dialog. If data is a list, show it in a treeview. otherwise, show it in a textview. If treeview, list should be of the type : [[data, value], sensitive] sensitive : True/False, set the sensitivity of the check button. Default to True [data, value] : a list of data and it respectives values. Default value are False exemples : [ [data1, data2], False] : show a treeview with 2 unactivable, unselected row. [data1, data2] : show a treeview with 2 activable, unselected row. [[data1, True], [data2, False]] : show a treeview with 2 activable row, the first selected, the second unselected. options : list of options to show at the bottom of the dialog. options should be of the type : [[[option, value]], group] group : True/False, if True options are grouped and only one could be selected. Default to False [option, value] : a list of options and their respective values. Default values are False. See data for an exemple of how it works, it is nearly the same parent : the parent window\n return code : [dialog return code, [(selected data, unselected data)], [(selected opt, unselected opt)]]''' dialog = DialogBuilder(type, action, title, text, data, options, parent) return dialog.run() ntfs-config-1.0.1/NtfsConfig/Fstab/FstabUtility.py0000644000175000017500000001406110644753552016760 00000000000000# -*- coding: UTF-8 -*- # # Utility.py : Various utility for Fstab # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import sys import time import glob from commands import * import FstabData from Fstabconfig import * def get_used_file(path) : cmd = "%s +c 0 %s" %(LSOF, escape_special(path)) lines = getoutput(cmd).split("\n") result = [] for line in lines : used = path + line.split(path)[-1].strip() if ( used == path or not used.find(path + "/") == -1 ) and len(line.split()) > 0 : result.append(line.split()[0] + " -> " + used) return result def get_dmesg_output() : return "\n".join(getoutput(DMESG + " | tail").split("\n")) def get_fuse_options(entry) : cmd = "ps -eo cmd | grep -F %s" % escape_special(entry["FSTAB_PATH"]) lines = getoutput(cmd).split("\n") for line in lines : res = line.split() if os.path.exists(res[1]) and os.path.realpath(res[1]) == entry["DEVICE"] : entry["FSTAB_TYPE"] = entry["FS_TYPE"] for driver in glob.glob("/sbin/mount.*") : if os.path.basename(res[0]) == os.path.basename(driver) \ or os.path.basename(res[0]) == os.path.basename(os.path.realpath(driver)) : entry["FSTAB_TYPE"] = driver.split("mount.")[-1] if "-o" in res : entry["FSTAB_OPTION"] = res[res.index("-o") + 1] def encode(string) : ''' encode space to \040 si it can be use in fstab ''' return string.replace(" ", "\\040") def decode(string) : ''' decode \040 as space ''' return string.replace("\\040", " ") def escape_special(text) : ''' escape special charachter so it can be use in a command line ''' for char in FstabData.special_char : text = text.replace(char, "\\%s" % char) return text def change_tracker(x, y) : ''' Track changes between two version of a MntFile ''' (log, to_mount, to_umount, removed) = ([], [], [], []) if not x == y : for i in range(len(y)) : iy = y[i] iydev = iy["DEVICE"] iypath = iy["FSTAB_PATH"] if not len(x.search(iydev, keys = ["DEVICE"])) == len(y.search(iydev, keys = ["DEVICE"])) : if not x.search(iypath) : log.append("Adding %s on %s" % (iydev, iypath)) if not iy.get_is_mounted() : to_mount.append(iy) continue if len(y.search(iydev, keys = ["DEVICE"])) > 1 : if x.search(iypath) : ix = x[x.search(iypath)[0]] ixpath = ix["FSTAB_PATH"] else : log.append("Adding duplicate %s on %s" % (iydev, iypath)) if not iy.get_is_mounted() : to_mount.append(iy) continue else : ix = x[x.search(iydev, keys = ["DEVICE"])[0]] ixpath = ix["FSTAB_PATH"] if ix == iy : continue log.append("Changing %s on %s:" % (iydev, ixpath)) if not iypath == ixpath : log.append("+ path %s -> %s" % (ixpath, iypath)) if not iy.get_is_mounted() and ix.get_is_mounted() : to_umount.append(ix) to_mount.append(iy) if not iy["FSTAB_TYPE"] == ix["FSTAB_TYPE"] : log.append("+ type: %s -> %s" % (ix["FSTAB_TYPE"], iy["FSTAB_TYPE"])) if not iy in to_mount and ix.get_is_mounted() : to_umount.append(ix) to_mount.append(iy) if not iy["FSTAB_OPTION"] == ix["FSTAB_OPTION"] : log.append("+ options: %s -> %s" % (ix["FSTAB_OPTION"], iy["FSTAB_OPTION"])) if not iy in to_mount and ix.get_is_mounted() : for opt in ix.listopt() : if opt not in iy.listopt() \ and opt not in FstabData.dont_need_remount : to_umount.append(ix) to_mount.append(iy) break for opt in iy.listopt() : if opt not in ix.listopt() \ and opt not in FstabData.dont_need_remount : to_umount.append(ix) to_mount.append(iy) break if not iy["FSTAB_PASO"] == ix["FSTAB_PASO"] : log.append("+ check at boot: %s -> %s" % (ix["FSTAB_PASO"], iy["FSTAB_PASO"])) for i in range(len(x)) : ix = x[i] ixdev = ix["DEVICE"] ixpath = ix["FSTAB_PATH"] if not y.search(ixpath) : if not len(y.search(ixdev, keys = ["DEVICE"])) == len(x.search(ixdev, keys = ["DEVICE"])) : log.append("Removing %s on %s" % (ixdev, ixpath)) if ix.get_is_mounted() : removed.append(ix) elif not len(x.search(ixdev, keys = ["DEVICE"])) == 1 : log.append("Removing duplicate %s on %s" % (ixdev, ixpath)) if ix.get_is_mounted() : to_umount.append(ix) return (log, to_mount, to_umount, removed) ntfs-config-1.0.1/NtfsConfig/Fstab/__init__.py0000644000175000017500000000000010627104013016037 00000000000000ntfs-config-1.0.1/NtfsConfig/Fstab/Makefile.in0000644000175000017500000002470410646710026016024 00000000000000# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BLKID = @BLKID@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONSOLEHELPER = @CONSOLEHELPER@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DMSETUP = @DMSETUP@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_PAM_FALSE = @ENABLE_PAM_FALSE@ ENABLE_PAM_TRUE = @ENABLE_PAM_TRUE@ EXEC_PATH = @EXEC_PATH@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MODPROBE = @MODPROBE@ MOUNT = @MOUNT@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYOPTIONS = @PYOPTIONS@ PYTHON = @PYTHON@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UMOUNT = @UMOUNT@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ appdir = $(pyexecdir)/NtfsConfig/Fstab app_PYTHON = __init__.py \ DiskInfo.py \ EventHandler.py \ Fstab.py \ Fstabconfig.py \ FstabData.py \ FstabDialogs.py \ FstabError.py \ FstabHandler.py \ FstabUtility.py \ Mounter.py \ SimpleGladeApp.py \ ToolsBackend.py CLEANFILES = Fstabconfig.py EXTRA_DIST = Fstabconfig.py.in subdir = NtfsConfig/Fstab ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = Fstabconfig.py DIST_SOURCES = py_compile = $(top_srcdir)/py-compile DIST_COMMON = $(app_PYTHON) $(srcdir)/Makefile.in Fstabconfig.py.in \ Makefile.am all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu NtfsConfig/Fstab/Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) Fstabconfig.py: $(top_builddir)/config.status Fstabconfig.py.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ uninstall-info-am: appPYTHON_INSTALL = $(INSTALL_DATA) install-appPYTHON: $(app_PYTHON) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(appdir) @list='$(app_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ d=`echo "$$p" | sed -e 's,^.*/,,'`; \ dlist="$$dlist $$d"; \ echo " $(appPYTHON_INSTALL) $$b$$p $(DESTDIR)$(appdir)/$$d"; \ $(appPYTHON_INSTALL) $$b$$p $(DESTDIR)$(appdir)/$$d; \ else :; fi; \ done; \ PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(appdir) $$dlist uninstall-appPYTHON: @$(NORMAL_UNINSTALL) list='$(app_PYTHON)'; for p in $$list; do \ d=`echo "$$p" | sed -e 's,^.*/,,'`; \ rm -f $(DESTDIR)$(appdir)/$$d; \ rm -f $(DESTDIR)$(appdir)/$${d}c; \ rm -f $(DESTDIR)$(appdir)/$${d}o; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = ../.. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile all-local installdirs: $(mkinstalldirs) $(DESTDIR)$(appdir) install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: install-appPYTHON install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-appPYTHON uninstall-info-am .PHONY: all all-am all-local check check-am clean clean-generic \ distclean distclean-generic distdir dvi dvi-am info info-am \ install install-am install-appPYTHON install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-appPYTHON \ uninstall-info-am all-local: Fstabconfig.py # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/NtfsConfig/Fstab/ToolsBackend.py0000644000175000017500000002607610646707151016712 00000000000000# -*- coding: UTF-8 -*- # # ToolsBackend.py : DiskInfo Backend that use various tools # to get device informations # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import re import logging from subprocess import * from Fstabconfig import * from FstabError import * import FstabData from DiskInfo import DiskInfoBase class ToolsBackend(DiskInfoBase) : def __init__(self) : DiskInfoBase.__init__(self) def _backend_score(self) : ''' Return the reliability score of the backend (0-100) ''' return 50 def _exec(self, cmd): logging.debug("Executing : %s" % cmd) process = Popen(cmd, stderr=STDOUT, stdout=PIPE, close_fds=True, shell=True) sts = process.wait() if not sts : res = "Success" else : res = "Failure" logging.debug("-> Exit status : %s (%s)" % (str(sts), res)) return (sts, process.stdout.readlines()) def _get_device_info(self, device) : dev = {} # Get dev, size, major and minor directly from /proc/partitions dev["DEV"] = device.strip().split()[3] logging.debug("Looking at : " + dev["DEV"]) dev["SIZE"] = float(device.strip().split()[2])*1024. dev["MAJOR"] = device.strip().split()[0] dev["MINOR"] = device.strip().split()[1] # See if this partition is from a parent already in the database try : drive = re.search("(\w{1,3})[0-9]", dev["DEV"]).groups()[0] dev["PARENT"] = self[drive]["DEV"] except NotInDatabase : dev["PARENT"] = None except AttributeError : dev["PARENT"] = None logging.debug("-> Set PARENT :" + str(dev["PARENT"])) # Set sysfs_path and /removable path depending of the previous result if dev["PARENT"] : dev["SYSFS_PATH"] = "/sys/block/" + dev["PARENT"] + "/" + dev["DEV"] removable = "/sys/block/" + dev["PARENT"] + "/removable" else : dev["SYSFS_PATH"] = "/sys/block/" + dev["DEV"] removable = "/sys/block/" + dev["DEV"] + "/removable" # Set removable if os.path.exists(removable) : fd = open(removable) dev["REMOVABLE"] = bool(int(fd.readline())) else : dev["REMOVABLE"] = False logging.debug("-> Set REMOVABLE :" + str(dev["REMOVABLE"])) # Get the more info posible about the device from udevinfo cmd = UDEVINFO + " -p " + dev["SYSFS_PATH"].replace("/sys","") + " -q all" (sts, result) = self._exec(cmd) if not sts : for line in result : logging.debug("(udevinfo output) " + line.strip()) try : device = "/dev/" + re.search("N: (\S+)", line).groups()[0] dev["DEVICE"] = device logging.debug("-> Found DEVICE : " + device) except AttributeError : pass # Used for debugging blkid & vol_id : # continue try : (attr, value) = re.search("E: ID_(\S+)=(.+)", line).groups() dev[attr] = value logging.debug("-> Found " + attr + " : "+ value) except AttributeError : pass # Used for debugging dmsetup : #if not dev["DEV"].find("dm-") == -1 and dev.has_key("DEVICE") : # del dev["DEVICE"] # If udevinfo fail or didn't give DEVICE, it's might be a mapped device. # Try to get DEVICE from dmsetup if not dev.has_key("DEVICE") and "dm-" in dev["DEV"] : cmd = DMSETUP + " info -j " + dev["MAJOR"] + " -m " + dev["MINOR"] + " | grep Name" (sts, result) = self._exec(cmd) result = "".join(result) logging.debug("(dmsetup output) " + result.strip()) if not sts and result : device = "/dev/mapper/" + result.split()[-1] logging.debug("-> Found DEVICE : " + device) if os.path.exists(device) : logging.debug("-> Check DEVICE : ok") dev["DEVICE"] = device else : logging.debug("-> Check DEVICE : fail") else : logging.debug("Warning : First attempt failed. Trying something else...") cmd = "%s ls |grep '(%s, %s)'" % (DMSETUP, dev["MAJOR"], dev["MINOR"]) (sts, result) = self._exec(cmd) result = "".join(result) logging.debug("(dmsetup output) " + result.strip()) if not sts and result : device = "/dev/mapper/" + result.split()[0] logging.debug("-> Found DEVICE : " + device) if os.path.exists(device) : logging.debug("-> Check DEVICE : ok") dev["DEVICE"] = device else : logging.debug("-> Check DEVICE : fail") # If still no DEVICE, try /dev/ + DEV if not dev.has_key("DEVICE") : device = "/dev/" + dev["DEV"] if os.path.exists(device) : logging.debug("Warning : no DEVICE found, try " + device) stat = os.stat(device) if stat.st_rdev == os.makedev(int(dev["MAJOR"]), int(dev["MINOR"])) : logging.debug("-> Check DEVICE : ok") logging.debug("-> Set DEVICE : " + device) dev["DEVICE"] = device else : logging.debug("-> Check DEVICE : fail") # Try to get slaves, set removable depending of the slave, and set FS_USAGE to other # if it is not already set. Here we don't really care what kind of type it is. # If it is manageable by the system, udeinfo or vol_id should have given us it real FS_USAGE. if os.path.isdir(dev["SYSFS_PATH"] + "/slaves") and os.listdir(dev["SYSFS_PATH"] + "/slaves") : dev["SLAVES"] = os.listdir(dev["SYSFS_PATH"] + "/slaves") dev["REMOVABLE"] = True for slave in dev["SLAVES"] : if self.search(slave) : logging.debug("-> Add SLAVES : " + slave) if not self[slave].has_key("FS_USAGE") or self[slave] == "filesystem" : self[slave]["FS_USAGE"] = "other" logging.debug("-> Set %s FS_USAGE : other" % slave) dev["REMOVABLE"] = dev["REMOVABLE"] and self[slave]["REMOVABLE"] logging.debug("-> Set REMOVABLE : " + str(dev["REMOVABLE"]) ) # Call vol_id to complete informations. This is important even if udevinfo # worked successfully, because udev db might be not up to date, and udev # might be wrong on some FS_LABEL (ones with " for exemple) if dev.has_key("DEVICE") : cmd = VOLID + " --export " + dev["DEVICE"] (sts, result) = self._exec(cmd) if not sts : for line in result : logging.debug("(vol_id output) " + line.strip()) try : (attr, value) = re.search("ID_(\S+)=(.+)", line).groups() dev[attr] = value logging.debug("-> Found " + attr + " : " + value) except AttributeError : pass else : logging.debug("Warning : First attempt failed. Trying something else...") cmd = VOLID + " " + dev["DEVICE"] (sts, result) = self._exec(cmd) if not sts : d = {"F" : "FS_USAGE", "T" : "FS_TYPE", "U" : "FS_UUID", "L" : "FS_LABEL"} for line in result : logging.debug("(vol_id output) " + line.strip()) try : (attr, value) = re.search("(\S+):(.+)", line).groups() if d.has_key(attr) and not dev.has_key(d[attr]) : dev[d[attr]] = value logging.debug("-> Found " + d[attr] + " : " + value) except AttributeError : pass # If vol_id fail, call blkid. Don't overwrite info, blkid is less reliable # than any of the other tools. if sts and not dev.has_key("FS_USAGE") : logging.debug("Warning : vol_id failled, call blkid") cmd = BLKID + " " + dev["DEVICE"] (sts, result) = self._exec(cmd) result = "".join(result) if not sts : logging.debug("(blkid output) " + result.strip()) for attr in ("TYPE", "LABEL", "UUID") : try : pattern = "\\b" + attr + "=\"([^\"]+)\"" value = re.search(pattern, result).groups()[0] if not dev.has_key("FS_" + attr) : dev["FS_" + attr] = re.search(pattern, result).groups()[0] logging.debug("-> Found " + attr + " : " + dev["FS_" + attr]) if attr == "TYPE" : if value not in FstabData.ignore_fs : dev["FS_USAGE"] = "filesystem" else : dev["FS_USAGE"] = "other" logging.debug("-> Set FS_USAGE : " + dev["FS_USAGE"]) except AttributeError : pass for attr in ("UUID", "LABEL") : # If no UUID, LABEL try to get them manually if dev.has_key("DEVICE") and not dev.has_key("FS_" + attr) : if os.path.exists(dev["DEVICE"]) and os.path.isdir("/dev/disk/by-" + attr.lower()) : for file in os.listdir("/dev/disk/by-" + attr.lower()) : if os.path.samefile("/dev/disk/by-" + attr.lower() + "/" + file, dev["DEVICE"]) : logging.debug("-> Set " + attr + " : " + file) dev["FS_" + attr] = file return dev ntfs-config-1.0.1/NtfsConfig/Fstab/Fstab.py0000744000175000017500000005536110646641417015403 00000000000000# -*- coding: UTF-8 -*- # # Fstab.py : Provide low level classes to manage fstab/mtab like file # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import re import copy import shutil from subprocess import * import FstabData from DiskInfo import * from FstabError import * from FstabUtility import * class EntryBase(dict) : ''' EntryBase([device/uuid/label, path, option, type, freq, paso]) -> new EntryBase\n Create a dictionary of information available about device : - Merge information provided in argument with DiskInfo information. - Store all fstab/mtab related attribute as FSTAB_* ''' def __init__(self, entry) : if not globals().has_key("info") : globals()["info"] = get_diskinfo_backend("auto")() for i in FstabData.categorie : self[i] = "" for i in range(len(entry)) : self[FstabData.categorie[i]] = entry[i] if self["FSTAB_PATH"] : self["FSTAB_PATH"] = decode(self["FSTAB_PATH"]) try : self.update(info[info.search_device(entry[0])]) except : pass def write(self, type = "FSTAB_NAME") : ''' w.write() -> Return a string of the entry in fstab/mtab synthax ''' result = "" if type == "FS_UUID" or type == "FS_LABEL" and self.has_key("DEVICE") : result += "#Entry for " + self["DEVICE"] + " :\n%s=" % type.split("_")[-1] elif type == "DEVICE" and self.has_key("FSTAB_NAME") and os.path.exists(self["FSTAB_NAME"]) : if os.path.samefile(self["DEVICE"], self["FSTAB_NAME"]) : type = "FSTAB_NAME" result += "%s\t" % self[type] result += "%s\t" % encode(self["FSTAB_PATH"]) result += "\t".join(self[k] for k in FstabData.categorie[2:]) result += "\n" return result class Entry(EntryBase) : ''' Entry([device/uuid/label, [path], [option], [type], [freq], [paso]]) -> new Entry\n Difference with EntryBase : - Only device is required. If not provided, other required info are set to defaults. - Set FSTAB_OPTION, FSTAB_FREQ and FSTAB_PASO to default when changing FSTAB_TYPE. - If FSTAB_PATH is in use, add an "_" until it can be used. - Set special option locale=autoset automatically. This possibility will be extend to other options in the future. - When setting FSTAB_TYPE to FS_TYPE, we use the first value of FS_DRIVERS, which may be different. example : FS_TYPE is ntfs and you don't have the ntfs driver, but ntfs-3g ''' def __init__(self, entry, parent = None) : self.parent = parent EntryBase.__init__(self, entry) if not self["FSTAB_PATH"] : if self.has_key("FS_LABEL_SAFE") : self["FSTAB_PATH"] = "/media/" + self["FS_LABEL_SAFE"] else : self["FSTAB_PATH"] = "/media/" + self["DEV"] if not self["FSTAB_TYPE"] : self["FSTAB_TYPE"] = self["FS_TYPE"] def __setitem__(self, key, item) : ''' x.__setitem__(i, y) <==> x[i]=y ''' if key == "FSTAB_TYPE" and item : if self.has_key("FS_TYPE") and item == self["FS_TYPE"] : try : item = self["FS_DRIVERS"]["primary"][0][0] except : item = self["FS_TYPE"] if self.has_key("FSTAB_OPTION") : for value in self.listopt(): if value not in FstabData.common : self.removeopt(value) default = list(FstabData.defaults.get(item, FstabData.defaults["__default__"])) if self["FSTAB_OPTION"] : default[0] += "," + self["FSTAB_OPTION"] (self["FSTAB_OPTION"], self["FSTAB_FREQ"], self["FSTAB_PASO"]) = default if key == "FSTAB_OPTION" and item and self.has_key("FSTAB_OPTION") : listopt = item.split(",") if "locale=autoset" in listopt : listopt.remove("locale=autoset") listopt.append("locale=" + os.environ["LANG"]) item = ",".join(listopt) if key == "FSTAB_PATH" and item and self.has_key("DEVICE") \ and self.has_key("FSTAB_PATH") : while not check_path(item, self.parent, entry = self) : logging.debug("-> %s is in use." % item) item = item + "_" item = os.path.normpath(item) dict.__setitem__(self, key, item) def __eq__(x, y) : x2 = dict.copy(x) x2["FSTAB_NAME"] = y["FSTAB_NAME"] return dict.__eq__(x2, y) def make_path(self) : ''' x.make_path() -> Create FSTAB_PATH.\n If path is already in use add a "_" until it can be used. All path created by the class are stored in %s ''' % CREATED_PATH_FILE path = self["FSTAB_PATH"] logging.debug("Check if %s is created" % path) while not check_path(path, self.parent, entry = self) : logging.debug("-> %s is in use." % path) path = path + "_" for i in range(len(path.split("/")) -1) : if not os.path.exists("/".join(path.split("/")[:i+2])) : logging.debug("-> create path %s" % "/".join(path.split("/")[:i+2])) try : os.mkdir("/".join(path.split("/")[:i+2])) except OSError: logging.error("Creating %s failled. " "There is something wrong with this path." % "/".join(path.split("/")[:i+2])) list_created_path("add", "/".join(path.split("/")[:i+2])) if not self["FSTAB_PATH"] == path : self["FSTAB_PATH"] = path def listopt(self) : ''' x.listopt() -> return a list of FSTAB_OPTION ''' return self["FSTAB_OPTION"].split(",") def hasopt(self, option) : ''' x.hasopt(option) -> True/False ''' if option in self.listopt() : return True return False def addopt(self, options) : ''' x.addopt([opt1,opt2 ...]) -> Add opt1, opt2 ... to FSTAB_OPTION ''' if isinstance(options, str) : options = options.split(",") for value in options : if value not in self.listopt() : if self["FSTAB_OPTION"] : self["FSTAB_OPTION"] += "," + value else : self["FSTAB_OPTION"] = value def removeopt(self, options) : ''' x.removeopt([opt1,opt2 ...]) -> Remove opt1, opt2 ... from FSTAB_OPTION ''' if isinstance(options, str) : options = options.split(",") for value in options : if value in self.listopt() : opt = self.listopt() opt.remove(value) self["FSTAB_OPTION"] = ",".join(opt) def defaultopt(self) : ''' x.defaultopt() -> return the default options for the entry ''' return FstabData.defaults.get(self["FSTAB_TYPE"], FstabData.defaults["__default__"])[0] def setopt(self, options) : ''' x.setopt([opt1,opt2 ...]) -> set opt1, opt2 ... to FSTAB_OPTION ''' self["FSTAB_OPTION"] = "" self.addopt(options) def mount(self) : ''' x.mount() -> Mount the entry and return (exit_code, stderr+stdout)\n The path is created if it dont exist yet ''' self.make_path() cmd = "%s %s %s -t %s -o %s" % (MOUNT, self["DEVICE"], escape_special(self["FSTAB_PATH"]), \ self["FSTAB_TYPE"], self["FSTAB_OPTION"]) process = Popen(cmd, stderr=STDOUT, stdout=PIPE, close_fds=True, shell=True) sts = process.wait() output = process.stdout.read() logging.debug("Mounting %s on %s :\n-> cmd : %s\n-> exit : %s\n-> output : %s" % \ (self["DEVICE"], self["FSTAB_PATH"], cmd, sts , output)) return (sts, output) def umount(self, lazy = False) : ''' x.umount() -> Unmount the entry and return (exit_code, stderr+stdout) ''' cmd = "%s %s" % (UMOUNT, escape_special(self["FSTAB_PATH"])) if lazy : cmd += " -l" process = Popen(cmd, stderr=STDOUT, stdout=PIPE, close_fds=True, shell=True) sts = process.wait() output = process.stdout.read() logging.debug("Unmounting %s on %s :\n-> cmd : %s\n-> exit : %s\n-> output : %s" % \ (self["DEVICE"], self["FSTAB_PATH"], cmd, sts, output)) return (sts, output) def get_is_mounted(self) : ''' x.get_is_mounted() -> True/False ''' return bool(os.path.ismount(self["FSTAB_PATH"])) def get_is_system(self) : ''' x.get_is_mounted() -> True/False\n System partition are FSTAB_PATH before /home/*, /media/* and /opt. So /home is sytem, but /opt is not. ''' path = os.path.normpath(self["FSTAB_PATH"]) if path in FstabData.system["exact"] + FstabData.system["extand"] : return True for sys_path in FstabData.system["extand"] : if path[:len(sys_path)+1] == "%s/" % sys_path : return True return False def get_size(self) : ''' x.get_size() -> Return size of device ''' if self.get_is_mounted() : return os.statvfs(self["FSTAB_PATH"])[2]*os.statvfs(self["FSTAB_PATH"])[1] else : return self["SIZE"] def get_free_size(self) : ''' x.get_free_size() -> Return free size of device\n If device is not mounted, return 0 ''' if self.get_is_mounted() : stat = os.statvfs(self["FSTAB_PATH"]) return stat[3]*stat[1] else : return 0 def get_available_size(self) : ''' x.get_available_size() -> Return available size of device\n If device is not mounted, return 0 ''' if self.get_is_mounted() : stat = os.statvfs(self["FSTAB_PATH"]) return stat[4]*stat[1] else : return 0 def get_used_size(self) : ''' x.get_used_size() -> Return available size of device\n If device is not mounted, return 0 ''' if self.get_is_mounted() : return self.get_size() - self.get_free_size() else : return 0 def copy(self) : ''' x.copy() -> return an exact copy of the entry ''' new = self.__class__([self["FSTAB_NAME"], self["FSTAB_PATH"], self["FSTAB_TYPE"], \ self["FSTAB_OPTION"], self["FSTAB_FREQ"], self["FSTAB_PASO"]], parent = self.parent) return new class MntFile(list) : ''' MntFile(filename, [fd], [minimal], [naming], [backend]) -> new MntFile object\n MntFile create a list of Entry object for each manageable entry of filename (or fd). An entry should be a line of 6 field separeted by at least one space : device/uuid/label, path, option, type, freq, and paso. (see man fstab) A manageable device is a none ignored device of DiskInfo dadatbase. Other 6 field entry are stored as EntryBase respectively in x.dev for virtual device, x.other for other device, x.comment for commented entry (ex : #device path ...). You can get an Entry from the MntFile, either by specify is index, just like with list, but also by specify it path. ex : x[i] -> Entry at index i of MntFile x[\"/\"] - > Entry with FSTAB_PATH = \"/\" If the Entry can't be found, the NotInDatabase exception will be raised Option available : - fd : create MntFile from fd - minimal : if True, create a minimal MntFile, with only EntryBase object. Faster to create and to manage. Default to False - naming : specify the naming that should be used when writing filename back available naming are : uuid, dev or auto. auto will use uuid if at least one entry of the file use uuid. Default to auto. - backend : specify the backend that should be use for DiskInfo. Default to auto ''' def __init__(self, filename, fd = None, minimal = False, \ naming = "auto", backend = "auto") : if not globals().has_key("info") : globals()["info"] = get_diskinfo_backend(backend)() self.info = info (self.dev, self.other, self.comment) = ([], [], []) self.filename = filename self.naming = naming if fd : mntfile = fd else : mntfile = open(self.filename) lines = mntfile.readlines() mntfile.close() if not minimal : logging.debug("Creating MntFile object for %s" % filename) for line in lines : entry = line.split() if not len(entry) == 6 : continue if minimal : if not entry[0][0] == "#" : self.append(EntryBase(entry)) continue i = info.search_device(entry[0], ignored = False) if i : logging.debug("-> Matching %s on %s as %s" % (entry[0], entry[1], info.get(i, "DEV"))) self.append(Entry(entry, self)) elif entry[0] in FstabData.virtual_dev : logging.debug("-> Matching %s on %s as virtaul fs" % (entry[0], entry[1])) self.dev.append(EntryBase(entry)) elif not line.strip()[0] == "#" : logging.debug("-> Matching %s on %s as other fs" % (entry[0], entry[1])) self.other.append(EntryBase(entry)) elif re.search("^#\S", entry[0]) : self.comment.append(EntryBase(entry)) def __getitem__(self, item) : ''' x.__getitem__(y) <==> x[y] ''' if isinstance(item, int) : try : return list.__getitem__(self, item) except : raise NotInDatabase(item) elif isinstance(item, str) : try : return list.__getitem__(self, self.search(item)[0]) except : raise NotInDatabase(item) else : raise DatabaseTypeError(type(item), (int, str)) def add(self, entry) : ''' x.add(entry) -> Create an Entry object with entry and add it to x.\n Return the new created entry ''' self.append(Entry(entry, self)) return self[-1] def remove(self, entry) : ''' x.remove(entry) -> remove entry from x\n entry should be the index of the Entry to delete a path name or the entry itself ''' if isinstance(entry, int) : try : list.__delitem__(self, entry) except : raise NotInDatabase(entry) elif isinstance(entry, Entry) : try : list.remove(self, entry) except : raise NotInDatabase(entry) elif isinstance(entry, str) : try : list.__delitem__(self, self.search(entry, strict = "yes")[0]) except : raise NotInDatabase(entry) else : raise DatabaseTypeError(type(entry), (int, str, Entry)) def list(self, col = "DEVICE") : ''' x.list([col]) -> List all values of attribute col. Default to DEVICE ''' result = [] for k in self : if k.has_key(col) : result.append(k[col]) else : result.append("") return result def search(self, pattern, strict = "yes", keys = ["FSTAB_PATH"]) : ''' x.search(pattern, [strict], [list], [keys]) -> search for pattern in each keys of each Entry of x\n Default keys are : ["FSTAB_PATH"] If strict == "no", index entry where a substring pattern is found. Default to "yes". ''' result = [] for col in keys : i = 0 for value in self.list(col) : if strict == "yes" : if value == pattern and i not in result : result.append(i) else : if value.find(pattern) is not -1 and i not in result : result.append(i) i = i + 1 return result def make_all_path(self) : ''' x.make_all_path() -> check that path used in MntFile are created, and create them if needed\n See make_path method of Entry object. ''' logging.debug("Checking that all path used in %s are created :" % self.filename) for entry in self : entry.make_path() def write(self) : ''' x.write() -> Return a string of the MntFile in fstab/mtab default synthax ''' result = "" for i in range(len(self.dev)) : result += self.dev[i].write() if not self.naming in ("auto", "dev", "uuid") : logging.warning("Fstab naming %s is not supported. Using auto naming." % self.naming) self.naming = "auto" if self.naming == "auto" and self.search("UUID=", strict = "no", keys = ["FSTAB_NAME"]) : self.naming = "uuid" self.sort(cmp=self._sort_path) for entry in self + self.other : if "LABEL=" in entry["FSTAB_NAME"] and entry.has_key("FS_LABEL") \ and len(self.search(entry["FS_LABEL"], keys = ["FS_LABEL"])) < 2 \ and os.path.exists("/dev/disk/by-label/%s" % entry["FS_LABEL"]) : type = "FS_LABEL" elif self.naming == "uuid" and entry.has_key("FS_UUID") \ and len(self.search(entry["FS_UUID"], keys = ["FS_UUID"])) < 2 \ and os.path.exists("/dev/disk/by-uuid/%s" % entry["FS_UUID"]) : type = "FS_UUID" elif entry.has_key("DEVICE") : type = "DEVICE" else : type = "FSTAB_NAME" result += entry.write(type) result += "\n" for i in range(len(self.comment)) : result += self.comment[i].write() result += "\n" return result def _sort_path(self, x, y) : x = x["FSTAB_PATH"] y = y["FSTAB_PATH"] try : ix = list(FstabData.path_order).index(x) except ValueError : ix = 0 try : iy = list(FstabData.path_order).index(x) except ValueError : iy = 0 if ix > iy : return 1 if ix < iy : return -1 if x < y : return -1 return 1 def copy(self) : ''' x.copy() -> Create an exact copy of the MntFile ''' new = copy.copy(self) for i in range(len(self)) : new[i] = self[i].copy() return new def apply(self) : ''' x.apply() -> Write MntFile to filename ''' tmpfile = os.tmpfile() tmpfile.write(FstabData.header) tmpfile.write(self.write()) tmpfile.seek(0) mntfile = open(self.filename, "w") shutil.copyfileobj(tmpfile, mntfile) mntfile.close() tmpfile.close() def list_created_path(action = "list", path = None) : ''' Action : "list" : list all path created by python-fstab "add" : add a path to the list "del" : remove a path from the list "clean": clean the file ''' created_file = open(CREATED_PATH_FILE, "a+") li = created_file.read().strip().split("\n") created_file.close() created_file = open(CREATED_PATH_FILE, "w+") if action == "add" and not encode(path) in li : li.append(encode(path)) if action == "del" and encode(path) in li : li.remove(encode(path)) if action == "clean" : for path in li[:] : if not os.path.exists(decode(path)) : logging.debug("Clean %s from the list of created path" % path) li.remove(path) created_file.write("\n".join(li).strip()) created_file.close() if not "".join(li) and os.path.exists(CREATED_PATH_FILE) : os.remove(CREATED_PATH_FILE) if action == "list" : if len(li) == 1 and len(li[0]) == 0 : return [] return map(decode, li) def clean_path(path) : ''' Remove the path if not in use ''' logging.debug("Check if path can be deleted : %s" % path) while path in list_created_path() : if os.path.isdir(path) and check_path(path) or not os.path.exists(path) : logging.debug("-> delete path : %s" % path) try : os.rmdir(path) list_created_path("del", path) except OSError : logging.error("Deleting %s failled. " "There is something wrong with this path." % path) path = os.path.dirname(path) def clean_all_path() : ''' Check all path in list_created_path, and reomove them if not in use ''' logging.debug("Checking all path for deletation :") for path in list_created_path() : clean_path(path) def check_path(path, fstab = None, entry = None) : ''' check that path is not in use ''' path = os.path.normpath(path) if os.path.ismount(path) : if entry and path == entry["FSTAB_PATH"] : return True return False else : not_in_use = bool(not os.path.exists(path) or ( os.path.isdir(path) and len(os.listdir(path)) == 0 )) if not fstab : fstab = MntFile(FSTAB, minimal = True) if fstab.search(path) : if entry and path == entry["FSTAB_PATH"] and not_in_use : return True return False if not_in_use : return True return False def device_is_mounted(device) : ''' Return path used by device if device is mounted. This function differ from the get_is_mounted() method of Entry as this function try to find device in mtab, and don't just look if a device is mounted at path ''' mtab = MntFile(MTAB, minimal = True) return [ mtab[i]["FSTAB_PATH"] for i in mtab.search(device, keys = ["DEV", "DEVICE"]) ] ntfs-config-1.0.1/NtfsConfig/Fstab/FstabHandler.py0000644000175000017500000005753710645465734016714 00000000000000# -*- coding: UTF-8 -*- # # FstabHandler.py : High level class for managing fstab file # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import time import shutil import logging import threading import ConfigParser from gettext import gettext as _ from Fstabconfig import * from FstabUtility import * from Fstab import * from FstabDialogs import * from FstabError import * from EventHandler import * from Mounter import * import FstabData available_mode = ["real", "delay", "virtual"] class FstabHandler(MntFile) : ''' FstabHandler(filename, [fd], [mode], [naming], [backend], [log], [parent] [sanity_check]) -> new FstabHandler object\n FstabHandler is the high level class of MntFile. It try to provide high level methods. In particular, FstabHanler apply change automaticly, show a nice progress bar when mounting/unmouting device, can check for unknow and duplicate entry, integreate a logger, integrate an undo method... For now FstabHandler can only works with GTK, but in the future, Widget class will be abstracted to be able to use other backends\n Options are : filename, fd, mode, naming, backend : MntFile options. See Fstab. The only difference is that filaname is default to filename log : If True, save an original version of filename, and allow to use savelog method. Default to True. parent : specify the parent widget. Default to None sanity_check : if True, check for unknow and duplicate entry on creation. Default to False. external_change_watch : emit events on changes not due to this class mode : this is probably the more powerfull option of FstabHandler. There is currently 3 mode available : real : the default mode. All changes are apply immediatly. delay : changes are only apply when calling the apply_now() methd, or when switching to the real mode. virtual : all changes are only apply when calling the apply_now() method. All not applied changes are lost when switching to an other mode. ''' def __init__(self, filename = FSTAB, fd = None, mode = "real", naming = "auto", \ backend = "auto", log = True, parent = None, external_change_watch = False) : self._parent = parent # Create a bckup of filename : bckup = "%s-%s-save" % (filename, PACKAGE) if not os.path.isfile(bckup) : shutil.copy(filename, bckup) # Load filename MntFile.__init__(self, filename, fd = fd, naming = naming, backend = backend) # Move it to fstab, and complete with other available device self._build_object() # Create copy self._current = self.copy() self._current.fstab = self.fstab.copy() self._original = self.fstab.copy() self._lastsave = self.fstab.copy() # Init log self.logchanges = log if not os.getuid() == 0 : self.logchanges = False self._initlog() # Set mode self.set_mode(mode) # Create Mounter object self._mounter = Mounter(self, parent = self._parent) # Start Event Handler self._event = EventHandler(self, external_change_watch) def _build_object(self, fstab = None) : logging.debug("Building FstabHandler...") t = time.time() if fstab : self[:] = fstab self.fstab = self.copy() self.fstab[:] = self[:] mtab = MntFile(MTAB, minimal = True) for device in self.info.list("DEVICE", ignored = False) : entries = [ mtab[k] for k in mtab.search(device, keys = ["DEVICE"]) ] if entries : for entry in entries : path = entry["FSTAB_PATH"] if path not in self.fstab.list("FSTAB_PATH") : if entry["FSTAB_TYPE"] in ("fuse", "fuseblk") : get_fuse_options(entry) type = entry["FSTAB_TYPE"] opt = entry["FSTAB_OPTION"].replace("rw", "defaults") entry = self.add([device, path, type, opt]) logging.debug("-> Adding mounted device %s on %s" % (device, \ entry["FSTAB_PATH"])) else : if device not in self.fstab.list() : entry = self.add([device]) logging.debug("-> Adding %s on %s" % (device, entry["FSTAB_PATH"])) logging.debug("FstabHandler build in %s s", time.time() -t) def _rebuild_object(self, fstab) : logging.debug("Rebuilding FstabHandler...") t = time.time() new = fstab.copy() new[:] = fstab[:] for entry in self[:] : if entry not in new : if not entry in self.fstab or not entry["DEVICE"] in new.list() \ or (entry["FSTAB_PATH"] not in new.list("FSTAB_PATH") and \ entry.get_is_mounted()) : logging.debug("-> Adding %s on %s" % (entry["DEVICE"], \ entry["FSTAB_PATH"])) new.append(entry) self[:] = new self.fstab = fstab self._check_duplicate(self) logging.debug("FstabHandler rebuild in %s s", time.time() -t) def _copy(self) : new = self.fstab.copy() new.fstab = new.copy() new.fstab[:] = new[:] for entry in self : if entry not in new : new.append(entry.copy()) new.current = self._current.copy() new.current.fstab = self._current.fstab.copy() return new def _restore_copy(self, copy) : self[:] = copy[:] self.fstab = copy.fstab self._current = copy.current self._current.fstab = copy.current.fstab def connect(self, event, fct, *kargs) : ''' x.connect(event, fct, *kargs) -> connect event to fct\n When event is detected, the function fct will be called with optional parameters kargs. Available events are for now : - "external_fstab_changed" : emitted when filename is updated but not due to this class. - "external_mtab_changed" : emitted when MTAB is updated but not due to this class. - "external_changed" : emitted when one of the previous event is emitted - "internal_changed" : emitted when this class do a changed (mount/unmount/configure...) - "configuration_changed" : emitted when one of the previous event is emitted - "size_changed" : emitted when size of all mounted device changed significantly - "any_changed" : emitted when one of the previous event is emitted ''' if hasattr(self._event, "on_%s" % event) : logging.debug("Connecting event '%s' to %s%s" % (event, fct.__name__, kargs)) setattr(self._event, "%s_fct" % event, [fct, kargs]) setattr(self, "%s_fct" % event, [fct, kargs]) else : raise UnknowEvent(self._event, event) def shutdown(self) : ''' x.shutdown() -> Shutdown FstabHandler process and save log\n It is important to call this function if you use the external change watch to shutdown it gracefully.''' logging.debug("Calling Shutdown...") if self.lastsave_has_changed() : self.savelog() list_created_path("clean") self._event.shutdown() def set_mode(self, mode) : ''' x.set_mode(mode) -> set mode to mode\n Be aware that when quiting a virtual mode, all Entry of x are recreated ''' if not mode in available_mode : logging.warning("No FstabHanler mode named %s. Starting with 'real' mode" % mode) self._mode = "real" if hasattr(self, "_mode") : self._previous_mode = self._mode t = time.time() logging.debug("Switching mode from %s to %s" % (self._mode, mode)) if self._mode == "virtual" and not mode == "virtual" and hasattr(self, "_real") : logging.debug("Restoring state...") self._restore_copy(self._real) elif self._mode == "delay" and not mode == "delay" : logging.debug("Exiting from delay mode. Applying changes...") self.apply_now() if not self._mode == "virtual" and mode == "virtual" : self._real = self._copy() logging.debug("Mode switched in %s s", time.time() -t) else : logging.debug("Starting in %s mode" % mode) self._mode = mode def set_previous_mode(self) : ''' x.set_previous_mode() -> set mode to it's previous value ''' if hasattr(self, "_previous_mode") : self.set_mode(self._previous_mode) def get_mode(self) : ''' x.get_mode() -> get the current mode ''' return self._mode def get_configured(self) : ''' x.get_configured() -> get all device configured in filename ''' return [ k for k in self.fstab ] def get_all(self) : ''' x.get_all() -> get all manageable devices ''' return [ k for k in self ] def get_new(self) : ''' x.get_new() -> get all manageable devices non configures in filename ''' return [ k for k in self if k not in self.fstab ] def get_duplicate(self, item) : ''' x.get_duplicate(item) -> get duplicate entry of item\n item might be an entry or a device name. if in duplicate, return a list of entry with the same dev, including iteself. return ann empty list otherwise ''' if isinstance(item, Entry) : dev = item["DEVICE"] else : dev = item res = self.search(dev, keys = ["DEV", "DEVICE"]) if len(res) > 1 : return [ self[k] for k in res ] else : return [] def _get_entry(self, item) : if isinstance(item, Entry) : return item else : return self[item] def get_attribute(self, item, attribute) : ''' x.get_attribute(item, attribute) -> get the attribute of item\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if entry.has_key(attribute) : return entry[attribute] return "None" def get_property(self, item, property) : ''' x.get_property(item, attribute) -> get a property of item\n item can be a FSTAB_PATH or an entry current available property are : - is_system - is_mounted - size, free_size, availale_size, used_size ''' entry = self._get_entry(item) if hasattr(entry, "get_" + property) : return getattr(entry, "get_" + property)() return None def set(self, item, path=None, type=None, option=None, paso=None) : ''' x.set(item, [path], [type], [option], [paso]) -> set item path/type/option and/or paso\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if path : old_path = entry["FSTAB_PATH"] entry["FSTAB_PATH"] = path if type : entry["FSTAB_TYPE"] = type if option : if option[0] == "+" : entry.addopt(option[1:]) elif option[0] == "-" : entry.removeopt(option[1:]) else : entry.setopt(option) if not paso == None : entry["FSTAB_PASO"] = str(int(bool(paso)) + \ int(bool(paso) and not entry.get_is_system())) self._apply() def set_default_option(self, item) : ''' x.set_default_option(item) -> set item options to default\n item can be a a FSTAB_PATH or an entry ''' entry = self._get_entry(item) entry["FSTAB_OPTION"] = entry.defaultopt() def mount(self, item) : ''' x.mount(item) -> mount item\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if entry.get_is_mounted() : logging.debug("%s on %s already mounted" % (entry["DEVICE"], \ entry["FSTAB_PATH"])) return 0 self._event.emit("internal_changed_prepare") result = self._mounter.do(mount = [entry]) if not result[1] : if not self._current == self or not self._current.fstab == self.fstab : logging.debug("Detected changement.") self.simple_apply() else : clean_path(entry["FSTAB_PATH"]) self._event.emit("internal_changed") return max(result) def umount(self, item) : ''' x.umount(item) -> unmount item\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if not entry.get_is_mounted() : logging.debug("%s on %s already unmounted" % (entry["DEVICE"], \ entry["FSTAB_PATH"])) return 0 self._event.emit("internal_changed_prepare") result = self._mounter.do(umount = [entry]) if not result[0] : self._check_duplicate([entry]) clean_path(entry["FSTAB_PATH"]) self._event.emit("internal_changed") else : self._event.emit("internal_changed_cancel") return max(result) def configure(self, item) : ''' x.configure(item) -> add item to filename and mount it\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if not entry in self.fstab : self.fstab.append(entry) self._apply() def unconfigure(self, item) : ''' x.unconfigure(item) -> remove item from filename and ask user if he want to unmount it\n item can be a FSTAB_PATH or an entry ''' entry = self._get_entry(item) if entry in self.fstab : self.fstab.remove(entry) self._apply() self._check_duplicate([entry]) def _check_duplicate(self, entries) : for entry in entries[:] : if not entry.get_is_mounted() \ and len(self.search(entry["DEV"], keys = ["DEV"])) > 1 \ and not entry in self.fstab and entry in self : self.remove(entry) logging.debug("Removing unused duplicate : %s on %s" \ % (entry["DEVICE"], entry["FSTAB_PATH"])) if entry in self._current : self._current.remove(entry) def _apply(self) : # Exit if we are in virtual or delay mode if self._mode == "virtual" or self._mode == "delay" : logging.debug("Mode %s enable, can't apply now" % self._mode) logging.debug("Expected changes :\n%s" % self._get_state()) return # inhibit the watch so we don't trigger it while we apply the change self._event.emit("internal_changed_prepare") logging.debug("Applying changes") # Detect changes via an ugly hack that track global & local change change = change_tracker(self._current, self) change2 = change_tracker(self._current.fstab, self.fstab) for i in range(len(change)) : [ change[i].append(k) for k in change2[i] if k not in change[i] ] # Apply the change now self.simple_apply() # Create path if needed self.fstab.make_all_path() # Mount entry added and changed to_mount = change[1] logging.debug("-> Device to mount :\n-> |%s" % \ "\n-> |".join([ "%s on %s" % (k["DEVICE"], k["FSTAB_PATH"]) for k in to_mount ])) # Unmount entry changed, and ask user for non duplicate disabled entry to_umount = change[2] disabled = change[3][:] if disabled : dial = dialog("warning", _("Unmounting disabled devices?"), \ [_("You disabled the following devices:"), _("Do you want to unmount them?")], \ [ "%s on %s" % (k["DEV"], k["FSTAB_PATH"]) for k in change[3] ], \ _("Unmount selected"), parent = self._parent) if not dial[0] == gtk.RESPONSE_REJECT : for i in dial[1][0] : to_umount.append(change[3][i]) logging.debug("-> Device to umount :\n-> |%s" % \ "\n-> |".join([ "%s on %s" % (k["DEVICE"], k["FSTAB_PATH"]) for k in to_umount ])) # Require reboot if some device couldn't be unmounted if self._mounter.do(mount = to_mount, umount = to_umount)[0] : dialog("warning", _("Reboot require"), \ _("In order to apply all your changes,\n"\ "you'll need to reboot your computer."), parent = self._parent) # Remove duplicate that are no more needed self._check_duplicate(to_umount) # Delete uneeded path created here clean_all_path() # If state changed between the apply and here, do a simple_apply. # This can be due to a FSTAB_PATH change during the mounting if not self._current == self or not self._current.fstab == self.fstab : logging.debug("Detected changement.") self.simple_apply() # Emit internal_changed event self._event.emit("internal_changed") def apply_now(self) : ''' x.apply_now() -> apply the changes now\n should only be used in virtual or delay mode, since all changes are automaticly apply in real mode ''' if self._current == self and self._current.fstab == self.fstab : logging.debug("Nothing to apply") return mode = self._mode self._mode = "real" self._apply() self._mode = mode if self._mode == "virtual" : self._real = self._copy() def simple_apply(self) : ''' x.simple_apply() -> apply change without mounting/unmounting/emmtting event \n ''' logging.debug("Updating current situation:\n%s" % self._get_state()) # Apply the change now MntFile.apply(self.fstab) # Update current situtation self._current = self.copy() self._current.fstab = self.fstab.copy() def _get_state(self, obj = None) : if not obj : obj = self change1 = change_tracker(obj._current, obj)[0] change2 = change_tracker(obj._current.fstab, obj.fstab)[0] return "-> Global change :\n-> |%s\n-> Local change :\n-> |%s" % \ ("\n-> |".join([ k.replace("\n","") for k in change1 ]), \ "\n-> |".join([ k.replace("\n","") for k in change2 ])) def _initlog(self) : if self.logchanges : self._logconf = ConfigParser.RawConfigParser() self._logconf.read(FSTAB_LOG) if not self._logconf.has_section("Original") : logging.debug("Creating original backup") self._logconf.add_section("Original") self._logconf.set("Original","log","Original configuration") fstabfile = open(self.filename) self._logconf.set("Original","fstab",fstabfile.read()) fstabfile.close() self._logfile = open(FSTAB_LOG, "w") self._logconf.write(self._logfile) self._logfile.close() def savelog(self, name = None) : ''' x.savelog(name) -> save log as name\n name is default to the date of saving ''' if not name : name = time.time() if self.logchanges and self.lastsave_has_changed() : logging.debug("Save log as %s", name) self._logconf.add_section(name) log = change_tracker(self._lastsave, self.fstab)[0] self._logconf.set(name, "log", "\n".join(log).strip()) self._logconf.set(name, "fstab", self.fstab.write()) self._logfile = open(FSTAB_LOG, "w+") self._logconf.write(self._logfile) self._logfile.close() self._lastsave = self.fstab.copy() self._initlog() def get_listlog(self) : ''' x.listlog() -> list all the current log recorded ''' return self._logconf.sections() def get_logcommit(self, name) : ''' x.get_commit(name) -> get commit of log name ''' return self._logconf.get(name, "log") def get_logfile(self, name) : ''' x.get_logfile(name) -> get file of log name ''' return self._logconf.get(name, "fstab") def get_changes_current_from(self, name) : ''' x.get_changes_current_from(name) -> get log of change between name version -> current version ''' tmpfile = os.tmpfile() tmpfile.write(self._logconf.get(name, "fstab")) tmpfile.seek(0) previous = MntFile(self.filename, tmpfile) return change_tracker(previous, self.fstab)[0] def get_changes_current_to(self, name) : ''' x.get_changes_current_to(name) -> get log of change between current version -> name version ''' tmpfile = os.tmpfile() tmpfile.write(self._logconf.get(name, "fstab")) tmpfile.seek(0) previous = MntFile(self.filename, tmpfile) return change_tracker(self.fstab, previous)[0] def revert_to(self, name) : ''' x.revert_to(name) -> revert to version name ''' logging.debug("Revert version to %s", name) tmpfile = os.tmpfile() tmpfile.write(self._logconf.get(name, "fstab")) tmpfile.seek(0) self._rebuild_object(MntFile(self.filename, tmpfile)) self._apply() def cleanlog(self) : ''' x.cleanlog() -> clean the log and save current filename as Original ''' self._logfile = open(FSTAB_LOG, "w") self._logfile.close() self._initlog() def get_changes_current_to_original(self) : return change_tracker(self.fstab, self._original)[0] def undo(self) : ''' x.undo() -> undo all changes made since the creation of the object ''' self._rebuild_object(self._original.copy()) self._apply() def original_has_changed(self) : ''' x.original_has_changed() -> return True if the original version at the creation of the object has changed ''' return bool(not self.fstab == self._original) def lastsave_has_changed(self) : ''' x.original_has_changed() -> return True if the version has changed since last savelog ''' return bool(not self.fstab == self._lastsave) ntfs-config-1.0.1/NtfsConfig/Fstab/Makefile.am0000644000175000017500000000067210630117051016001 00000000000000## Process this file with automake to produce Makefile.in appdir = $(pyexecdir)/NtfsConfig/Fstab app_PYTHON = __init__.py \ DiskInfo.py \ EventHandler.py \ Fstab.py \ Fstabconfig.py \ FstabData.py \ FstabDialogs.py \ FstabError.py \ FstabHandler.py \ FstabUtility.py \ Mounter.py \ SimpleGladeApp.py \ ToolsBackend.py CLEANFILES = Fstabconfig.py EXTRA_DIST = Fstabconfig.py.in all-local: Fstabconfig.py ntfs-config-1.0.1/NtfsConfig/Fstab/EventHandler.py0000644000175000017500000001250610640171152016700 00000000000000# -*- coding: UTF-8 -*- # # EventHandler.py : Execute actions on events detection # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import time import logging import threading from Fstabconfig import * from Fstab import * from FstabError import * class EventHandler : def __init__(self, disk, enable_watch) : self.disk = disk self.enable_watch = enable_watch self.filename = self.disk.filename self.inhibit = False self.start_watch() def start_watch(self) : if not self.enable_watch : return logging.debug("Starting Watch...") self.th_watch = threading.Thread(target=self.start_watch_thread, name="WatchThread") self.th_watch.setDaemon(True) self.th_watch.start() def start_watch_thread(self) : self.alive = True self.mtime_mtab = os.stat(MTAB).st_mtime self.mtime_fstab = os.stat(self.filename).st_mtime self.size = [ str(k.get_free_size())[:4] for k in self.disk ] while self.alive : time.sleep(0.5) if not self.inhibit and not self.mtime_fstab == os.stat(self.filename).st_mtime : logging.debug("FSTAB update detected") self.emit("external_fstab_changed") if not self.inhibit and not self.mtime_mtab == os.stat(MTAB).st_mtime : logging.debug("MTAB update detected") self.emit("external_mtab_changed") if not self.inhibit and not self.size == [ str(k.get_free_size())[:4] for k in self.disk ] : logging.debug("Size update detected") self.emit("size_changed") def stop_watch(self) : if hasattr(self, "th_watch") and self.th_watch.isAlive() : self.alive = False logging.debug("Stopping Watch...") self.th_watch.join() def shutdown(self) : t = time.time() self.stop_watch() logging.debug("EventHandler shutdown in %s s", time.time() -t) def emit(self, event) : if not hasattr(self, "on_%s" % event) : raise UnknowEvent(self, event) t = time.time() logging.debug("Emitting '%s' event" % event) if getattr(self, "on_%s" % event)() : if hasattr(self, "%s_fct" % event) : fct = getattr(self, "%s_fct" % event) if callable(fct[0]) : logging.debug("-> Call %s%s for event '%s'" % (fct[0].__name__, fct[1], event)) fct[0](*fct[1]) else : logging.debug("-> No function define for event '%s'" % event) logging.debug("Event '%s' managed in %s s", event, time.time() -t) def on_external_fstab_changed(self) : fstab = MntFile(self.filename) if self.disk.fstab[:] == fstab[:] : self.mtime_fstab = os.stat(self.filename).st_mtime logging.debug("In fact, no real changes.") return False self.disk._rebuild_object(fstab) self.disk._current = self.disk.copy() self.disk._current.fstab = self.disk.fstab.copy() self.emit("external_changed") self.mtime_fstab = os.stat(self.filename).st_mtime def on_external_mtab_changed(self) : mtab = MntFile(MTAB, minimal = True) self.disk._build_object(self.disk.fstab) self.disk._current = self.disk.copy() self.disk._current.fstab = self.disk.fstab.copy() self.emit("external_changed") self.mtime_mtab = os.stat(MTAB).st_mtime self.size = [ str(k.get_free_size())[:4] for k in self.disk ] def on_internal_changed_prepare(self) : logging.debug("Inhibit watch for internal change...") self.inhibit = True def on_internal_changed_cancel(self) : logging.debug("Restart watch...") self.inhibit = False def on_internal_changed(self) : self.emit("configuration_changed") self.mtime_mtab = os.stat(MTAB).st_mtime self.mtime_fstab = os.stat(self.filename).st_mtime self.size = [ str(k.get_free_size())[:4] for k in self.disk ] logging.debug("Restart watch...") self.inhibit = False def on_external_changed(self) : self.emit("configuration_changed") def on_configuration_changed(self) : self.emit("any_changed") def on_size_changed(self) : self.emit("any_changed") self.size = [ str(k.get_free_size())[:4] for k in self.disk ] def on_any_changed(self) : return True ntfs-config-1.0.1/NtfsConfig/Fstab/Mounter.py0000644000175000017500000002372010646641436015767 00000000000000# -*- coding: UTF-8 -*- # # Mounter.py : A GTK mounter for FstabHandler # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import time from xml.sax.saxutils import escape as escape_mkup import pygtk pygtk.require("2.0") import gtk import gobject import gtk.glade from SimpleGladeApp import SimpleGladeApp from gettext import gettext as _ from Fstabconfig import * from FstabDialogs import * from Fstab import * from FstabUtility import * class Mounter(SimpleGladeApp) : ''' Show a progress bar while mounting a list of entry ''' def __init__(self, disk, parent = None) : self.disk = disk self.parent = parent self.top_level = None self.init_gui() def do(self, mount = [], umount = []) : ''' x.do([Entries], [Entries]) -> umount the second list, and mount the first one\n mounted entry in mount= and unmounted entry in umount= will be ignored. Return code is (mount result, umount result) ''' if not mount and not umount : return (0, 0) (res_umount, res_mount) = (0, 0) self.total = len(mount + umount) if not umount and len(mount) == 1 : label = _("Mounting partition") elif not mount and len(umount) == 1 : label = _("Unmounting partition") else : label = _("Applying changes") self.set_gui(label) if umount : for entry in umount : self.safepath = escape_mkup(entry["FSTAB_PATH"]) label = _("Unmounting %s") % self.safepath self.update_gui("%s" % label, umount.index(entry)) if entry.get_is_mounted() : res_umount += self.umount_device(entry) if res_umount and entry["FSTAB_PATH"] not in self.disk.list("FSTAB_PATH") : self.disk.append(entry) self.update_gui("", len(umount)) if mount and umount : time.sleep(0.01) if mount : for entry in mount : self.safepath = escape_mkup(entry["FSTAB_PATH"]) label = _("Mounting %s") % self.safepath self.update_gui("%s" % label, mount.index(entry) + len(umount)) if not entry.get_is_mounted() : res_mount += self.mount_device(entry) self.update_gui("", self.total) self.hide_gui() return (res_umount, res_mount) def umount_device(self, entry) : self.lazy = False keep_going = True while keep_going : keep_going = False ret = entry.umount(self.lazy) if ret[0] : keep_going = self.handle_umount_error(entry, ret) self.restore_gui() return ret[0] def mount_device(self, entry) : keep_going = True while keep_going : keep_going = False ret = entry.mount() if ret[0] : keep_going = self.handle_mount_error(entry, ret) self.restore_gui() return ret[0] def handle_umount_error(self, entry, error) : type = "warning" title = _("Unmounting failed") text = _("Unmounting %s failed because of the following error:") % self.safepath data = error[1].strip() options = None action = None lazy_string = "\n%s" % _("You can also use the 'lazy' options to detach the filesystem now.") self.used_file = get_used_file(entry["FSTAB_PATH"]) if not self.lazy : if self.used_file : text = [_("Unmounting %s failed, because\n" "it is currently used by the following applications:") % self.safepath, _("Close all applications that use it and retry to unmount.")] data = [ self.used_file, False] else : text = [text, _("The filesystem might be temporary buzy. Wait few seconds and retry.")] if not entry.get_is_system() : text[1] += lazy_string options = [_("Unmount with the 'lazy' option")] action = _("Retry unmount") else : type = "error" text = [text, _("Even with the lazy option, unmounting failed.")] ret = dialog(type, title, text, data, action, options, self.top_level) if ret[0] == gtk.RESPONSE_REJECT : return False if ret[2][0] : self.lazy = True return True def handle_mount_error(self, entry, error) : title = _("Mounting failed") text = _("Mounting %s failed because of the following error:") % self.safepath data = error[1].strip() options = None action = _("Retry mount") err_code = None if not data.find("dmesg") == -1 : dmesg = get_dmesg_output() last_dmesg_log = dmesg.split("\n")[-1] data += "\n\ndmesg | tail:\n" + dmesg else : last_dmesg_log = "" err = ("Unrecognized mount option", "unknown mount option") if err[0] in last_dmesg_log or err[1] in last_dmesg_log : try : b = re.search("(%s|%s) (\S+)" % err, last_dmesg_log).groups()[1] for opt in [b, b[:-1], b[1:-1], b[1:-2]] : if entry.hasopt(opt) : bad_opt = opt err_code = "BADOPT" break except AttributeError : pass elif entry["FSTAB_TYPE"] in ("ntfs-3g", 'ntfs-fuse') and "force" in error[1] \ and not entry.hasopt("force") : err_code = "NTFSUNCLEAN" elif not entry.has_key("FS_DRIVERS") : err_code = "NODRIVER" elif not entry["FS_DRIVERS"]["primary"] : err_code = "NODRIVER" elif entry["FSTAB_TYPE"] not in entry["FS_DRIVERS"]["all"].keys() or len(data) == 0 : err_code = "BADTYPE" retry_string = _("You can try one of the following action:") if err_code == "BADOPT" : s = _("It seams that option '%s' is not allowed.") % bad_opt text = [text, "%s\n%s" % (s, retry_string)] options = ([_("Return options to defaults")], True) if not entry["FSTAB_OPTION"] == bad_opt : options[0].append(_("Don't use the '%s' option") % bad_opt) elif err_code == "BADTYPE" : s = _("It seams that fs type '%s' is not valid.") % entry["FSTAB_TYPE"] text = [text, "%s\n%s" % (s, retry_string)] options = [] for driver in entry["FS_DRIVERS"]["primary"] : options.append(_("Using driver '%s' (%s)") % (driver[0], driver[1])) options = [ options, True ] elif err_code == "NODRIVER" : text = [text, _("No driver is available for this type of filsystem : '%s'") % entry["FS_TYPE"]] action = None elif err_code == "NTFSUNCLEAN" : text = [text, _("You can try to use the 'force' option. Be Aware that this could be risky.")] options = [_("Use the 'force' option")] else : action = None ret = dialog("error", title, text, data, action, options, self.top_level) if not ret[0] == gtk.RESPONSE_REJECT and err_code : if err_code == "BADOPT" : if 0 in ret[2][0] : entry["FSTAB_OPTION"] = entry.defaultopt() self.disk.simple_apply() elif 1 in ret[2][0] : entry.removeopt(bad_opt) self.disk.simple_apply() if err_code == "BADTYPE" : if ret[2][0] : entry["FSTAB_TYPE"] = entry["FS_DRIVERS"]["primary"][ret[2][0][0]][0] self.disk.simple_apply() if err_code == "NTFSUNCLEAN" : if ret[2][0] : entry.addopt("force") self.disk.simple_apply() return True return False def init_gui(self) : SimpleGladeApp.__init__(self, GLADEFILE, "window_mounting_progress", domain = PACKAGE) self.window_mounting_progress.set_title("") if self.parent : self.window_mounting_progress.set_transient_for(self.parent) self.top_level = self.window_mounting_progress def set_gui(self, label) : self.progressbar.set_fraction(0.0) self.title.set_label("%s" % label) self.progress_label.set_label("") self.window_mounting_progress.show_now() while gtk.events_pending() : gtk.main_iteration() def hide_gui(self) : time.sleep(0.1) self.window_mounting_progress.hide() def update_gui(self, text, step) : if step > 0: self.progressbar.set_fraction(step/float(self.total)) if text != "": self.progress_label.set_label(text) while gtk.events_pending() : gtk.main_iteration() def restore_gui(self) : while gtk.events_pending() : gtk.main_iteration() time.sleep(0.05) while gtk.events_pending() : gtk.main_iteration() ntfs-config-1.0.1/NtfsConfig/Fstab/SimpleGladeApp.py0000644000175000017500000002702210607136630017154 00000000000000""" SimpleGladeApp.py Module that provides an object oriented abstraction to pygtk and libglade. Copyright (C) 2004 Sandino Flores Moreno """ # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA import os import sys import re import tokenize import gtk import gtk.glade import weakref import inspect __version__ = "1.0" __author__ = 'Sandino "tigrux" Flores-Moreno' def bindtextdomain(app_name, locale_dir=None): """ Bind the domain represented by app_name to the locale directory locale_dir. It has the effect of loading translations, enabling applications for different languages. app_name: a domain to look for translations, tipically the name of an application. locale_dir: a directory with locales like locale_dir/lang_isocode/LC_MESSAGES/app_name.mo If omitted or None, then the current binding for app_name is used. """ try: import locale import gettext locale.setlocale(locale.LC_ALL, "") gtk.glade.bindtextdomain(app_name, locale_dir) gettext.install(app_name, locale_dir, unicode=1) except (IOError,locale.Error), e: print "Warning", app_name, e __builtins__.__dict__["_"] = lambda x : x class SimpleGladeApp: def __init__(self, path, root=None, domain=None, **kwargs): """ Load a glade file specified by glade_filename, using root as root widget and domain as the domain for translations. If it receives extra named arguments (argname=value), then they are used as attributes of the instance. path: path to a glade filename. If glade_filename cannot be found, then it will be searched in the same directory of the program (sys.argv[0]) root: the name of the widget that is the root of the user interface, usually a window or dialog (a top level widget). If None or ommited, the full user interface is loaded. domain: A domain to use for loading translations. If None or ommited, no translation is loaded. **kwargs: a dictionary representing the named extra arguments. It is useful to set attributes of new instances, for example: glade_app = SimpleGladeApp("ui.glade", foo="some value", bar="another value") sets two attributes (foo and bar) to glade_app. """ if os.path.isfile(path): self.glade_path = path else: glade_dir = os.path.dirname( sys.argv[0] ) self.glade_path = os.path.join(glade_dir, path) for key, value in kwargs.items(): try: setattr(self, key, weakref.proxy(value) ) except TypeError: setattr(self, key, value) self.glade = None self.install_custom_handler(self.custom_handler) self.glade = self.create_glade(self.glade_path, root, domain) if root: self.main_widget = self.get_widget(root) else: self.main_widget = None self.normalize_names() self.add_callbacks(self) self.new() def __repr__(self): class_name = self.__class__.__name__ if self.main_widget: root = gtk.Widget.get_name(self.main_widget) repr = '%s(path="%s", root="%s")' % (class_name, self.glade_path, root) else: repr = '%s(path="%s")' % (class_name, self.glade_path) return repr def new(self): """ Method called when the user interface is loaded and ready to be used. At this moment, the widgets are loaded and can be refered as self.widget_name """ pass def add_callbacks(self, callbacks_proxy): """ It uses the methods of callbacks_proxy as callbacks. The callbacks are specified by using: Properties window -> Signals tab in glade-2 (or any other gui designer like gazpacho). Methods of classes inheriting from SimpleGladeApp are used as callbacks automatically. callbacks_proxy: an instance with methods as code of callbacks. It means it has methods like on_button1_clicked, on_entry1_activate, etc. """ self.glade.signal_autoconnect(callbacks_proxy) def normalize_names(self): """ It is internally used to normalize the name of the widgets. It means a widget named foo:vbox-dialog in glade is refered self.vbox_dialog in the code. It also sets a data "prefixes" with the list of prefixes a widget has for each widget. """ for widget in self.get_widgets(): widget_name = gtk.Widget.get_name(widget) prefixes_name_l = widget_name.split(":") prefixes = prefixes_name_l[ : -1] widget_api_name = prefixes_name_l[-1] widget_api_name = "_".join( re.findall(tokenize.Name, widget_api_name) ) gtk.Widget.set_name(widget, widget_api_name) if hasattr(self, widget_api_name): raise AttributeError("instance %s already has an attribute %s" % (self,widget_api_name)) else: setattr(self, widget_api_name, widget) if prefixes: gtk.Widget.set_data(widget, "prefixes", prefixes) def add_prefix_actions(self, prefix_actions_proxy): """ By using a gui designer (glade-2, gazpacho, etc) widgets can have a prefix in theirs names like foo:entry1 or foo:label3 It means entry1 and label3 has a prefix action named foo. Then, prefix_actions_proxy must have a method named prefix_foo which is called everytime a widget with prefix foo is found, using the found widget as argument. prefix_actions_proxy: An instance with methods as prefix actions. It means it has methods like prefix_foo, prefix_bar, etc. """ prefix_s = "prefix_" prefix_pos = len(prefix_s) is_method = lambda t : callable( t[1] ) is_prefix_action = lambda t : t[0].startswith(prefix_s) drop_prefix = lambda (k,w): (k[prefix_pos:],w) members_t = inspect.getmembers(prefix_actions_proxy) methods_t = filter(is_method, members_t) prefix_actions_t = filter(is_prefix_action, methods_t) prefix_actions_d = dict( map(drop_prefix, prefix_actions_t) ) for widget in self.get_widgets(): prefixes = gtk.Widget.get_data(widget, "prefixes") if prefixes: for prefix in prefixes: if prefix in prefix_actions_d: prefix_action = prefix_actions_d[prefix] prefix_action(widget) def custom_handler(self, glade, function_name, widget_name, str1, str2, int1, int2): """ Generic handler for creating custom widgets, internally used to enable custom widgets (custom widgets of glade). The custom widgets have a creation function specified in design time. Those creation functions are always called with str1,str2,int1,int2 as arguments, that are values specified in design time. Methods of classes inheriting from SimpleGladeApp are used as creation functions automatically. If a custom widget has create_foo as creation function, then the method named create_foo is called with str1,str2,int1,int2 as arguments. """ try: handler = getattr(self, function_name) return handler(str1, str2, int1, int2) except AttributeError: return None def gtk_widget_show(self, widget, *args): """ Predefined callback. The widget is showed. Equivalent to widget.show() """ widget.show() def gtk_widget_hide(self, widget, *args): """ Predefined callback. The widget is hidden. Equivalent to widget.hide() """ widget.hide() def gtk_widget_grab_focus(self, widget, *args): """ Predefined callback. The widget grabs the focus. Equivalent to widget.grab_focus() """ widget.grab_focus() def gtk_widget_destroy(self, widget, *args): """ Predefined callback. The widget is destroyed. Equivalent to widget.destroy() """ widget.destroy() def gtk_window_activate_default(self, window, *args): """ Predefined callback. The default widget of the window is activated. Equivalent to window.activate_default() """ widget.activate_default() def gtk_true(self, *args): """ Predefined callback. Equivalent to return True in a callback. Useful for stopping propagation of signals. """ return True def gtk_false(self, *args): """ Predefined callback. Equivalent to return False in a callback. """ return False def gtk_main_quit(self, *args): """ Predefined callback. Equivalent to self.quit() """ self.quit() def main(self): """ Starts the main loop of processing events. The default implementation calls gtk.main() Useful for applications that needs a non gtk main loop. For example, applications based on gstreamer needs to override this method with gst.main() Do not directly call this method in your programs. Use the method run() instead. """ gtk.main() def quit(self): """ Quit processing events. The default implementation calls gtk.main_quit() Useful for applications that needs a non gtk main loop. For example, applications based on gstreamer needs to override this method with gst.main_quit() """ gtk.main_quit() def run(self): """ Starts the main loop of processing events checking for Control-C. The default implementation checks wheter a Control-C is pressed, then calls on_keyboard_interrupt(). Use this method for starting programs. """ try: self.main() except KeyboardInterrupt: self.on_keyboard_interrupt() def on_keyboard_interrupt(self): """ This method is called by the default implementation of run() after a program is finished by pressing Control-C. """ pass def install_custom_handler(self, custom_handler): gtk.glade.set_custom_handler(custom_handler) def create_glade(self, glade_path, root, domain): return gtk.glade.XML(self.glade_path, root, domain) def get_widget(self, widget_name): return self.glade.get_widget(widget_name) def get_widgets(self): return self.glade.get_widget_prefix("") ntfs-config-1.0.1/NtfsConfig/Fstab/Fstabconfig.py.in0000644000175000017500000000326410643027505017161 00000000000000# -*- coding: UTF-8 -*- # # config.py : Store all dirs, commands, files used in the same place # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os prefix = "@prefix@" PACKAGE = "@PACKAGE@" VERSION = "@VERSION@" HOMEPAGE = "@PACKAGE_BUGREPORT@" DATADIR = prefix + "/share/" + PACKAGE GLADEFILE = DATADIR + "/" + PACKAGE + ".glade" localedir = prefix + "/share/locale" # Config files : FSTAB = "/etc/fstab" FSTAB_LOG = "/root/.fstab.log" MTAB = "/etc/mtab" CREATED_PATH_FILE = "/media/.created_by_python-fstab" # Commands # If the path set here are incorrects, please fill a bug LSOF = "lsof" DMESG = "dmesg" BLKID = "@BLKID@" DMSETUP = "@DMSETUP@" UDEVINFO = "udevinfo" MOUNT = "@MOUNT@" UMOUNT = "@UMOUNT@" MODPROBE = "@MODPROBE@" if os.path.exists("/lib/udev/vol_id") : VOLID = "/lib/udev/vol_id" elif os.path.exists("/sbin/udev_volume_id") : VOLID = "/sbin/udev_volume_id" else : VOLID = "vol_id" ntfs-config-1.0.1/NtfsConfig/Fstab/DiskInfo.py0000744000175000017500000003665310646707055016056 00000000000000# -*- coding: UTF-8 -*- # # DiskInfo.py : Detect and get informations about block devices # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import sys import glob import logging from commands import * from subprocess import * from Fstabconfig import * from FstabError import * import FstabData REQUIRED = ["DEV", "DEVICE", "DEV_NUM", "FS_TYPE"] DEFAULT_BACKEND = "ToolsBackend" def get_diskinfo_backend(backend = "auto") : ''' get_diskinfo_backend([backend]) -> return the best backend available, or the backend specify by backend.\n ex : info = get_diskinfo_backend()() ''' backends = [] path = os.path.dirname(__file__) if not path : path = os.getcwd() sys.path.append(path) names = [ os.path.basename(path)[:-3] for path in os.listdir(path) if path.endswith("Backend.py") ] for name in names: module = __import__( name ) for attr in dir(module): obj = getattr(module, attr) if hasattr(obj, "_backend_score") : backends.append(obj) if len(backends) == 0 : logging.warning("No DiskInfo backend found. Trying the default one...") module = __import__( DEFAULT_BACKEND ) return getattr(module, DEFAULT_BACKEND) if not backend == "auto" : backend = backend[0].upper() + backend[1:] + "Backend" if not backend in [ k.__name__ for k in backends ] : logging.warning("%s is not available. Using auto backend." % backend) elif getattr(module, backend )()._backend_score() : return getattr(module, backend) else : logging.warning("%s is not currently working. Using auto backend." % backend) scores = [ k()._backend_score() for k in backends ] return backends[scores.index(max(scores))] class DiskInfoBase(list) : ''' Base class for all DiskInfo backend. This class implememt all the infrastructure to manage DiskInfo class, and leave only to backends the works to get sensible informations about a device. ''' def __init__(self) : self._loaded = False self._loading = False self._driver_db = {} def _backend_score(self) : ''' Return the reliability score of the backend (0-100). You must override this method when creating a backend. You might probably make this score dependant of the versions of the tools you use. Keep also in mind that the score of the default backend (ToolsBackend) is set to 50 ''' return 0 def _get_devices(self) : ''' This function try to get all block devices from /proc/partitions. You might or not override this method, dependending on how reliable you think it is. ''' fd = open("/proc/partitions") devices = fd.readlines()[2:] fd.close() return devices def load_database(self, reload = False) : ''' x.load_database([reload]) -> load the database.\n At DiskInfo creation, the database is not created. You have to call load_database to create it. But you should not need to explicitly doing it, since all other methods that use the database should do it. In fact this method is keeped public only for it's reload option : when calling load_database with reload = True, the database is reloaded ''' if (self._loaded or self._loading) and not reload : return logging.debug("Starting DiskInfo database creation...") self._loading = True del self[:] devices = self._get_devices() for i in range(len(devices)) : self.append({}) self[i] = self._get_device_info(devices[i]) self[i] = self._get_common_device_info(self[i]) logging.debug("-"*10) self._load_reverse_database() self._loaded = True self._loading = False logging.debug("End DiskInfo database creation.") def _get_device_info(self, device) : ''' This is the method that all backends must override. It should returns a dict of information about device. Informations are : "DEV" : simple device name, like sda1 or dm-0. (required) "DEVICE" : the device path, like /dev/sda1, or /dev/mapper/*. (required) "FS_UUID" : the UUID of the device (required) "FS_LABEL" : the label of the device (required if available) "FS_TYPE" : the type of the device, like ext3. (required) "FS_USAGE" : the usage of the fs, like filesystem, or crypto. Devices with FS_USAGE != filesystem are ignored. (required) "REMOVABLE" : set to True if the device is from a removable drive. Removable devices are ignored. (required) "MINOR" : the minor number of the device (required) "MAJOR" : the major number of the device (required) "SYSFS_PATH": the sysfs path (recommanded) "SIZE" : the size of the device (recommanded) "FS_VERSION": the version of the type (recommanded) "MODEL", "SERIAL_SHORT", "BUS", "VENDOR", "SERIAL", "TYPE", "REVISION" : some informations about the device, and its drive. (optionnal) ''' #Impement your backend here return device def _get_common_device_info(self, dev) : ''' This method complete device informations with common attributes that should not be the job of a backend. Also set here what we ignore or not. ''' # Set FS_DRIVERS if dev.has_key("FS_TYPE") and dev.has_key("FS_USAGE") and dev["FS_USAGE"] == "filesystem" : dev["FS_DRIVERS"] = self.get_drivers(dev["FS_TYPE"]) # Set FS_LABEL_SAFE if dev.has_key("FS_LABEL") and not dev.has_key("FS_LABEL_SAFE") : label = dev["FS_LABEL"] label = label.replace("/", "") for char in FstabData.special_char : label = label.replace(char, "_") if label : logging.debug("-> Set FS_LABEL_SAFE : " + label) dev["FS_LABEL_SAFE"] = label # Set DEV_NUM if dev.has_key("MINOR") and dev.has_key("MAJOR") : dev["DEV_NUM"] = os.makedev(int(dev["MAJOR"]), int(dev["MINOR"])) # Ignore every dev if FS_USAGE != filesystem or if REMOVABLE # also ignore dev that don't have all REQUIRED attributes dev["IGNORE"] = False if not dev.has_key("FS_USAGE") : dev["IGNORE"] = True elif not dev["FS_USAGE"] == "filesystem" : dev["IGNORE"] = True if not min(map(dev.has_key, REQUIRED)) : dev["IGNORE"] = True if dev["REMOVABLE"] : dev["IGNORE"] = True # Ignore older entry with the same DEVICE if dev.has_key("DEVICE") : for device in self.search(dev["DEVICE"], keys = ["DEVICE"]) : if not self[device]["DEV"] == dev["DEV"] : logging.debug("W: " + "Ignore duplicate entry : " + self[device]["DEV"] \ + " -> " + self[device]["DEVICE"]) self[device]["IGNORE"] = True return dev def _load_reverse_database(self) : self._reverse_database = {} for i in range(len(self)) : if self[i].has_key("DEV_NUM") : self._reverse_database["DEV_NUM=%s" % self[i]["DEV_NUM"]] = i if self[i].has_key("FS_UUID") : self._reverse_database["UUID=%s" % self[i]["FS_UUID"]] = i if self[i].has_key("FS_LABEL") : self._reverse_database["LABEL=%s" % self[i]["FS_LABEL"]] = i def get_drivers(self, type, reload = False) : ''' x.get_drivers(type, [reload]) -> return a dict of available driver for this type.\n Return dict is of the type : {primary : [[name1, description1, fsck1], ...], \ secondary : [[name2, description2, fsck2], ...], \ all : {name1 : [name1, description1, fsck1], name2 : [name2, description2, fsck2], ...}} fsck = 1 if it exists an fsck for this driver, otherwise it is 0. drivers are checked in /proc/filesystem, modprobe -l, and in /sbin/mount.*. To avoid having to do the work again and again, result is cached, and so you ll need to set reload to True to have up to date results. ''' if self._driver_db.has_key(type) and not reload : return self._driver_db["type"] self._driver_db["type"] = { "primary" : [], "secondary" : [], "all" : {} } if type in open("/proc/filesystems").read() or self._check_module(type) : self._driver_db["type"]["primary"].append([type, "Default driver"]) for special in glob.glob("/sbin/mount.%s*" % type) : if os.path.isfile(special) : special = special.split("mount.")[-1] self._driver_db["type"]["primary"].append([special, \ FstabData.special_driver.get(special, FstabData.special_driver["__unknow__"])]) if FstabData.secondary_driver.has_key("__all__") : self._driver_db["type"]["secondary"].append([ \ FstabData.secondary_driver["__all__"], "Secondary Driver"]) if FstabData.secondary_driver.has_key(type) : self._driver_db["type"]["secondary"].append([ \ FstabData.secondary_driver[type], "Secondary Driver"]) for driver in self._driver_db["type"]["primary"] + self._driver_db["type"]["secondary"] : driver.append(int(os.path.isfile("/sbin/fsck.%s" % driver[0]))) self._driver_db["type"]["all"][driver[0]] = driver return self._driver_db["type"] def _check_module(self, module) : return bool(module in getoutput("%s -l %s" % (MODPROBE, module))) def __getitem__(self, item) : self.load_database() if type(item) == int : if item < len(self) : return list.__getitem__(self, item) else : raise NotInDatabase, "Index %i out of range" % item else : try : return list.__getitem__(self, self.search(item)[0]) except : raise NotInDatabase, "Can't find %s in the database" % item def list(self, col = "DEVICE", ignored = True, keep_index = False) : ''' x.list([col], [ignored], [keep_index]) -> List all values of attribute col. Default to "DEVICE"\n If ignored is set to False, don't list device with IGNORE=True. Default to True. If keep_index is set to True and ignored to False, all ignored device result to an empty string, to keep the index with the database. Default to False. ''' self.load_database() result = [] for k in self : if not ignored and k["IGNORE"] : if keep_index : result.append("") continue if k.has_key(col) : result.append(k[col]) else : result.append("") return result def get(self, item, attribute) : ''' x.get(item, attribute) -> return attribute of item ''' self.load_database() try : return self[item][attribute] except : return "None" def search_reverse(self, pattern, ignored = True) : ''' x.search_reverse(pattern, [ignored]) -> search for pattern in the reverse database\n This method is faster than the search method, but not as flexible, since pattern is searched in fixed keys : "DEV_NUM", "FS_UUID", "FS_LABEL" Set ignored to False, to not return device with IGNORE=True. Default to True ''' self.load_database() if self._loaded and self._reverse_database.has_key(pattern) : result = self._reverse_database[pattern] if ignored or not self[result]["IGNORE"] : return result return None def search_device(self, entry, ignored = True) : ''' x.search_device(entry, ignored = True) -> search entry in the reverse database\n search_device is a convenient method that will check if device is of the type dev_file, "UUID=", "LABEL=" and will search in the reverse database the appropriate value. Set ignored to False, to not return device with IGNORE=True. Default to True ''' if os.path.exists(entry) : entry = "DEV_NUM=%s" % os.stat(os.path.realpath(entry)).st_rdev return self.search_reverse(entry, ignored) def search(self, pattern, keys = ["DEV", "DEVICE"], ignored = True) : ''' x.search(pattern, [list], [keys], [ignored]) -> search for pattren in each keys of each Entry of x\n Default keys are : ["DEV", "DEVICE"] Set ignored to False, to not return device with IGNORE=True. Default to True ''' self.load_database() result = [] for col in keys : i = 0 for value in self.list(col, ignored, keep_index = True) : if value == pattern and i not in result : result.append(i) if col == "FS_UUID" : if "UUID=" + value == pattern and i not in result : result.append(i) if col == "FS_LABEL" : if "LABEL=" + value == pattern and i not in result : result.append(i) i = i + 1 return result def export(self, device) : ''' x.export(device) -> query database for device, and return a string of printable informations about device.\n If device is set to "all", query database for all devices ''' self.load_database() result = "" if device == "all" : result += "Query database for all devices :\n\n" for i in range(len(self)) : result += "Info for " + self[i]["DEV"] + " :\n" result += "\n".join(["-> %s=%s" % (k, v) for k, v in self[i].items()]) result += "\n\n" else : result += "Query database for " + device + " :\n\n" if self.search(device) : result += "Info for " + self[device]["DEV"] + " :\n" result += "\n".join(["-> %s=%s" % (k, v) for k, v in self[device].items()]) result += "\n\n" else : result += device + " not in the database" return result ntfs-config-1.0.1/NtfsConfig/Fstab/FstabError.py0000644000175000017500000000324510630076462016401 00000000000000# -*- coding: UTF-8 -*- # # FstabError.py : Define Fstab exceptions # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # class NotInDatabase(Exception) : def __init__(self, value) : self.value = value def __str__(self) : if isinstance(self.value, int) : return "Index %i out of range" % self.value else : return "Can't find '%s' in the database" % self.value class DatabaseTypeError(Exception) : def __init__(self, type, accepted) : self.type = type self.accepted = accepted def __str__(self) : return "Wrong type : %s. Expected : %s" % \ (self.type.__name__, ", ".join([ k.__name__ for k in self.accepted ])) class UnknowEvent(Exception) : def __init__(self, event_handler, value) : self.value = value def __str__(self) : return "No event named %s" % self.value ntfs-config-1.0.1/NtfsConfig/Fstab/Fstabconfig.py0000644000175000017500000000333110646710034016546 00000000000000# -*- coding: UTF-8 -*- # # config.py : Store all dirs, commands, files used in the same place # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os prefix = "/usr/local" PACKAGE = "ntfs-config" VERSION = "1.0.1" HOMEPAGE = "http://flomertens.free.fr/ntfs-config/" DATADIR = prefix + "/share/" + PACKAGE GLADEFILE = DATADIR + "/" + PACKAGE + ".glade" localedir = prefix + "/share/locale" # Config files : FSTAB = "/etc/fstab" FSTAB_LOG = "/root/.fstab.log" MTAB = "/etc/mtab" CREATED_PATH_FILE = "/media/.created_by_python-fstab" # Commands # If the path set here are incorrects, please fill a bug LSOF = "lsof" DMESG = "dmesg" BLKID = "/sbin/blkid" DMSETUP = "/sbin/dmsetup" UDEVINFO = "udevinfo" MOUNT = "/bin/mount" UMOUNT = "/bin/umount" MODPROBE = "/sbin/modprobe" if os.path.exists("/lib/udev/vol_id") : VOLID = "/lib/udev/vol_id" elif os.path.exists("/sbin/udev_volume_id") : VOLID = "/sbin/udev_volume_id" else : VOLID = "vol_id" ntfs-config-1.0.1/NtfsConfig/Makefile.am0000644000175000017500000000047010627104012014735 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = Fstab appdir = $(pyexecdir)/NtfsConfig app_PYTHON = __init__.py \ NtfsConfig.py \ AddWizard.py \ SimpleGladeApp.py \ config.py \ Config.py \ Utility.py CLEANFILES = config.py EXTRA_DIST = config.py.in all-local: config.py ntfs-config-1.0.1/NtfsConfig/NtfsConfig.py0000644000175000017500000002615710646461316015343 00000000000000# -*- coding: UTF-8 -*- # # NtfsConfig.py : manage main interface # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import time from xml.sax.saxutils import escape as escape_mkup import pygtk pygtk.require("2.0") import gtk import gtk.glade from SimpleGladeApp import SimpleGladeApp from gettext import gettext as _ from Utility import * from config import * from Fstab.FstabHandler import * from AddWizard import * gtk.glade.bindtextdomain("ntfs-config",localedir) gtk.glade.textdomain("ntfs-config") class NtfsConfig(SimpleGladeApp) : ''' Class that manage the main window ''' def __init__(self) : SimpleGladeApp.__init__(self, GLADEFILE, "dialog_main", domain = PACKAGE) self.dialog_main.set_title(_("NTFS Configuration Tool")) # Delete broken link. and create hal fdi directory if it don't exist for value in (TARGET_NTFS_WRITE, TARGET_NTFS_READ) : if not os.path.exists(value) and os.path.islink(value) : os.unlink(value) if not os.path.exists(HAL_CONFIG_DIR) : os.mkdir(HAL_CONFIG_DIR) # Create FstabHandler object self.disk = FstabHandler(FSTAB, parent = self.dialog_main, external_change_watch = True) self.ntfs_entries = [ k for k in self.disk.get_configured() if k["FS_TYPE"] == "ntfs" ] # Look at new ntfs device new = [] for entry in self.disk.get_new() : if entry["FS_TYPE"] == "ntfs" : new.append(entry["DEVICE"]) # Draw stuff self.handlers = [] self.set_buttons() self.setup_treeview() self.update_main() self.dialog_main.show() # If new, configure them if new : app = AddWizard(new, self.dialog_main, self.disk) app.run() self.update_main() # Connect event self.handlers.append((self.checkbutton_internal, \ self.checkbutton_internal.connect("toggled", self.on_internal_toggled))) self.checkbutton_external.connect("toggled", self.on_external_toggled) self.close_button.connect("clicked", self.on_close_clicked) self.undo_button.connect("clicked", self.on_undo_clicked) self.dialog_main.connect("destroy", self.on_close_clicked) self.treeview.connect("row-activated", self.on_row_activated) self.expander.connect("activate", self.on_expander_activate) self.disk.connect("any_changed", gobject.idle_add, self.update_main) gtk.gdk.threads_init() def set_buttons(self) : if self.get_ntfs_rw_device() : self.checkbutton_internal.set_active(True) if os.path.exists(TARGET_NTFS_WRITE) : self.checkbutton_external.set_active(True) def setup_treeview(self) : renderer= gtk.CellRendererToggle() renderer.set_property("activatable", True) renderer.connect("toggled", self.on_writable_toggled) column = gtk.TreeViewColumn(_("Writable"), renderer, active=0) self.treeview.append_column(column) renderer = gtk.CellRendererText() column = gtk.TreeViewColumn(_("Device"), renderer, text=1) self.treeview.append_column(column) renderer = gtk.CellRendererText() renderer.set_property("editable", True) renderer.connect("edited", self.on_mount_point_edit) column = gtk.TreeViewColumn(_("Mount point"), renderer, text=2) self.treeview.append_column(column) renderer = gtk.CellRendererText() column = gtk.TreeViewColumn(_("Total"), renderer, text=3) self.treeview.append_column(column) renderer = gtk.CellRendererProgress() column = gtk.TreeViewColumn(_("Used"), renderer, text=4, value=5) renderer.set_property("ypad", 2) renderer.set_property("xpad", 3) self.treeview.append_column(column) self.tree_store = gtk.ListStore(bool, str, str, str, str, int) self.tree_store.set_sort_column_id(1, gtk.SORT_ASCENDING) self.treeview.set_model(self.tree_store) def update_main(self) : focus_path = self.treeview.get_cursor()[0] if focus_path : l = self.tree_store[focus_path] current_focus = (l[1], l[2]) self.ntfs_entries = [ k for k in self.disk.get_configured() if k["FS_TYPE"] == "ntfs" ] self.checkbutton_internal.set_sensitive(True) if not self.ntfs_entries : self.checkbutton_internal.set_sensitive(False) self.ntfs_rw_entries = self.get_ntfs_rw_device() self.undo_button.set_sensitive(self.disk.original_has_changed()) self.checkbutton_internal.set_inconsistent( \ bool(self.ntfs_rw_entries and self.get_ntfs_ro_device())) self.block_handlers() self.checkbutton_internal.set_active(bool(self.ntfs_rw_entries)) self.unblock_handlers() self.tree_store.clear() for entry in self.ntfs_entries : writable = bool(entry in self.ntfs_rw_entries) self.tree_store.append( ( writable, entry["DEVICE"], entry["FSTAB_PATH"], \ size_renderer(entry.get_size()), size_renderer(entry.get_used_size()), \ entry.get_used_size()/float(entry.get_size()) * 100 ) ) if focus_path : for path in range(len(self.tree_store)) : l = self.tree_store[path] if current_focus == (l[1], l[2]) : self.treeview.set_cursor(path) break elif current_focus[0] == l[1] and len(self.disk.search(l[1], keys = ["DEVICE"])) < 2 : self.treeview.set_cursor(path) break def block_handlers(self): for (widget, handler) in self.handlers : widget.handler_block(handler) def unblock_handlers(self): for (widget, handler) in self.handlers : widget.handler_unblock(handler) def on_expander_activate(self, expander) : if not self.expander.get_expanded() : height = self.dialog_main.get_size()[1] if len(self.tree_store) < 5 : height += 60 + len(self.tree_store) * 25 else : height += 200 self.dialog_main.set_property("height-request", height) else : self.dialog_main.set_property("height-request", -1) def get_ntfs_ro_device(self) : entries = [] for entry in self.ntfs_entries : if entry["FSTAB_TYPE"] == "ntfs" or entry.hasopt("ro") : entries.append(entry) return entries def get_ntfs_rw_device(self) : entries = [] for entry in self.ntfs_entries : if entry["FSTAB_TYPE"] == "ntfs-3g" and not entry.hasopt("ro") : entries.append(entry) return entries def set_external_ntfs_policy(self, policy) : ''' Set external NTFS policy ''' if policy == "rw" : if not os.path.exists(TARGET_NTFS_WRITE) : os.symlink(NTFS_WRITE, TARGET_NTFS_WRITE) if os.path.exists(TARGET_NTFS_READ) : os.unlink(TARGET_NTFS_READ) else : if not os.path.exists(TARGET_NTFS_READ) : os.symlink(NTFS_READ, TARGET_NTFS_READ) if os.path.exists(TARGET_NTFS_WRITE) : os.unlink(TARGET_NTFS_WRITE) def set_internal_ntfs_policy(self, entries, policy) : self.disk.set_mode("delay") for entry in entries : if policy == "rw" : self.disk.set(entry, type="ntfs-3g", option="-ro") else : if "ntfs" in self.disk.info.get_drivers("ntfs")["all"].keys() : self.disk.set(entry, type="ntfs") else : self.disk.set(entry, type="ntfs-3g", option="+ro") self.disk.set_mode("real") def on_internal_toggled(self, button) : ''' Set NTFS internal policy corresponding to the button status ''' self.checkbutton_internal.set_inconsistent(False) if self.checkbutton_internal.get_active() : entries = self.get_ntfs_ro_device() policy = "rw" else : entries = self.get_ntfs_rw_device() policy = "ro" self.set_internal_ntfs_policy(entries, policy) def on_external_toggled(self, button) : if self.checkbutton_external.get_active() : self.set_external_ntfs_policy("rw") else : self.set_external_ntfs_policy("ro") def on_writable_toggled(self, renderer, path) : if self.tree_store[path][0] : self.set_internal_ntfs_policy([self.disk[self.tree_store[path][2]]], "ro") else : self.set_internal_ntfs_policy([self.disk[self.tree_store[path][2]]], "rw") def on_mount_point_edit(self, renderer, path_string, path) : entry = self.disk[self.tree_store[path_string][2]] if path == "" : return if not path[:len("/media/")] == "/media/" : if path[0] == "/" : dialog("warning", _("Formatting error"), \ _("%s contains an invalid character.\n" \ "Mount point should be in /media/. Alternatively, you can " \ "enter a simple name, like disk.") % escape_mkup(path), \ parent = self.dialog_main) return path = "/media/" + path self.disk.set(entry, path = path) self.tree_store[path_string][2] = entry["FSTAB_PATH"] def on_row_activated(self, treeview, path, view_column) : ''' Start browser on double click. ''' dev = self.tree_store[path][2] if not self.disk.mount(dev) : open_url(self.disk[dev]["FSTAB_PATH"]) def on_undo_clicked(self, button) : ret = dialog("question", _("Reverting to previous version?"), \ _("All changes that you just made will be lost.\n" "Do you want to continue?"), parent = self.dialog_main) if ret[0] == gtk.RESPONSE_YES : self.disk.undo() def on_close_clicked(self, button) : self.dialog_main.hide() while gtk.events_pending() : gtk.main_iteration() self.disk.shutdown() gtk.main_quit() ntfs-config-1.0.1/NtfsConfig/Config.py0000644000175000017500000000505010642023147014465 00000000000000# -*- coding: UTF-8 -*- # # Config.py : Manage configuration file # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import pwd import logging import ConfigParser from config import CONF_FILE from Utility import get_user # Default configuration : general = { "backend" : "auto" , "fstab_naming" : "auto" } categorie = { "General" : general } class Config(ConfigParser.SafeConfigParser) : def __init__(self) : ConfigParser.SafeConfigParser.__init__(self) try : self.read_config() except ConfigParser.ParsingError : logging.warning("Parsing error while loading conf file. Using default configuration...") for section in categorie.keys() : if not self.has_section(section) : self.add_section(section) for option in categorie[section].keys() : if not self.has_option(section,option) : self.set(section,option,categorie[section][option]) self.apply_change() def set(self, section, option, value) : ConfigParser.SafeConfigParser.set(self, section, option, str(value)) self.apply_change() def set_default(self, section, option) : ConfigParser.SafeConfigParser.set(self, section, option, categorie[section][option]) self.apply_change() return ConfigParser.SafeConfigParser.get(self, section, option) def read_config(self) : self.root_config = pwd.getpwuid(0).pw_dir + CONF_FILE if not self.root_config in self.read(self.root_config) : conffile = open(self.root_config, "w") conffile.close() def apply_change(self) : conffile = open(self.root_config, "w") self.write(conffile) conffile.close() self.read(self.root_config) ntfs-config-1.0.1/NtfsConfig/SimpleGladeApp.py0000644000175000017500000002702210627104012016104 00000000000000""" SimpleGladeApp.py Module that provides an object oriented abstraction to pygtk and libglade. Copyright (C) 2004 Sandino Flores Moreno """ # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA import os import sys import re import tokenize import gtk import gtk.glade import weakref import inspect __version__ = "1.0" __author__ = 'Sandino "tigrux" Flores-Moreno' def bindtextdomain(app_name, locale_dir=None): """ Bind the domain represented by app_name to the locale directory locale_dir. It has the effect of loading translations, enabling applications for different languages. app_name: a domain to look for translations, tipically the name of an application. locale_dir: a directory with locales like locale_dir/lang_isocode/LC_MESSAGES/app_name.mo If omitted or None, then the current binding for app_name is used. """ try: import locale import gettext locale.setlocale(locale.LC_ALL, "") gtk.glade.bindtextdomain(app_name, locale_dir) gettext.install(app_name, locale_dir, unicode=1) except (IOError,locale.Error), e: print "Warning", app_name, e __builtins__.__dict__["_"] = lambda x : x class SimpleGladeApp: def __init__(self, path, root=None, domain=None, **kwargs): """ Load a glade file specified by glade_filename, using root as root widget and domain as the domain for translations. If it receives extra named arguments (argname=value), then they are used as attributes of the instance. path: path to a glade filename. If glade_filename cannot be found, then it will be searched in the same directory of the program (sys.argv[0]) root: the name of the widget that is the root of the user interface, usually a window or dialog (a top level widget). If None or ommited, the full user interface is loaded. domain: A domain to use for loading translations. If None or ommited, no translation is loaded. **kwargs: a dictionary representing the named extra arguments. It is useful to set attributes of new instances, for example: glade_app = SimpleGladeApp("ui.glade", foo="some value", bar="another value") sets two attributes (foo and bar) to glade_app. """ if os.path.isfile(path): self.glade_path = path else: glade_dir = os.path.dirname( sys.argv[0] ) self.glade_path = os.path.join(glade_dir, path) for key, value in kwargs.items(): try: setattr(self, key, weakref.proxy(value) ) except TypeError: setattr(self, key, value) self.glade = None self.install_custom_handler(self.custom_handler) self.glade = self.create_glade(self.glade_path, root, domain) if root: self.main_widget = self.get_widget(root) else: self.main_widget = None self.normalize_names() self.add_callbacks(self) self.new() def __repr__(self): class_name = self.__class__.__name__ if self.main_widget: root = gtk.Widget.get_name(self.main_widget) repr = '%s(path="%s", root="%s")' % (class_name, self.glade_path, root) else: repr = '%s(path="%s")' % (class_name, self.glade_path) return repr def new(self): """ Method called when the user interface is loaded and ready to be used. At this moment, the widgets are loaded and can be refered as self.widget_name """ pass def add_callbacks(self, callbacks_proxy): """ It uses the methods of callbacks_proxy as callbacks. The callbacks are specified by using: Properties window -> Signals tab in glade-2 (or any other gui designer like gazpacho). Methods of classes inheriting from SimpleGladeApp are used as callbacks automatically. callbacks_proxy: an instance with methods as code of callbacks. It means it has methods like on_button1_clicked, on_entry1_activate, etc. """ self.glade.signal_autoconnect(callbacks_proxy) def normalize_names(self): """ It is internally used to normalize the name of the widgets. It means a widget named foo:vbox-dialog in glade is refered self.vbox_dialog in the code. It also sets a data "prefixes" with the list of prefixes a widget has for each widget. """ for widget in self.get_widgets(): widget_name = gtk.Widget.get_name(widget) prefixes_name_l = widget_name.split(":") prefixes = prefixes_name_l[ : -1] widget_api_name = prefixes_name_l[-1] widget_api_name = "_".join( re.findall(tokenize.Name, widget_api_name) ) gtk.Widget.set_name(widget, widget_api_name) if hasattr(self, widget_api_name): raise AttributeError("instance %s already has an attribute %s" % (self,widget_api_name)) else: setattr(self, widget_api_name, widget) if prefixes: gtk.Widget.set_data(widget, "prefixes", prefixes) def add_prefix_actions(self, prefix_actions_proxy): """ By using a gui designer (glade-2, gazpacho, etc) widgets can have a prefix in theirs names like foo:entry1 or foo:label3 It means entry1 and label3 has a prefix action named foo. Then, prefix_actions_proxy must have a method named prefix_foo which is called everytime a widget with prefix foo is found, using the found widget as argument. prefix_actions_proxy: An instance with methods as prefix actions. It means it has methods like prefix_foo, prefix_bar, etc. """ prefix_s = "prefix_" prefix_pos = len(prefix_s) is_method = lambda t : callable( t[1] ) is_prefix_action = lambda t : t[0].startswith(prefix_s) drop_prefix = lambda (k,w): (k[prefix_pos:],w) members_t = inspect.getmembers(prefix_actions_proxy) methods_t = filter(is_method, members_t) prefix_actions_t = filter(is_prefix_action, methods_t) prefix_actions_d = dict( map(drop_prefix, prefix_actions_t) ) for widget in self.get_widgets(): prefixes = gtk.Widget.get_data(widget, "prefixes") if prefixes: for prefix in prefixes: if prefix in prefix_actions_d: prefix_action = prefix_actions_d[prefix] prefix_action(widget) def custom_handler(self, glade, function_name, widget_name, str1, str2, int1, int2): """ Generic handler for creating custom widgets, internally used to enable custom widgets (custom widgets of glade). The custom widgets have a creation function specified in design time. Those creation functions are always called with str1,str2,int1,int2 as arguments, that are values specified in design time. Methods of classes inheriting from SimpleGladeApp are used as creation functions automatically. If a custom widget has create_foo as creation function, then the method named create_foo is called with str1,str2,int1,int2 as arguments. """ try: handler = getattr(self, function_name) return handler(str1, str2, int1, int2) except AttributeError: return None def gtk_widget_show(self, widget, *args): """ Predefined callback. The widget is showed. Equivalent to widget.show() """ widget.show() def gtk_widget_hide(self, widget, *args): """ Predefined callback. The widget is hidden. Equivalent to widget.hide() """ widget.hide() def gtk_widget_grab_focus(self, widget, *args): """ Predefined callback. The widget grabs the focus. Equivalent to widget.grab_focus() """ widget.grab_focus() def gtk_widget_destroy(self, widget, *args): """ Predefined callback. The widget is destroyed. Equivalent to widget.destroy() """ widget.destroy() def gtk_window_activate_default(self, window, *args): """ Predefined callback. The default widget of the window is activated. Equivalent to window.activate_default() """ widget.activate_default() def gtk_true(self, *args): """ Predefined callback. Equivalent to return True in a callback. Useful for stopping propagation of signals. """ return True def gtk_false(self, *args): """ Predefined callback. Equivalent to return False in a callback. """ return False def gtk_main_quit(self, *args): """ Predefined callback. Equivalent to self.quit() """ self.quit() def main(self): """ Starts the main loop of processing events. The default implementation calls gtk.main() Useful for applications that needs a non gtk main loop. For example, applications based on gstreamer needs to override this method with gst.main() Do not directly call this method in your programs. Use the method run() instead. """ gtk.main() def quit(self): """ Quit processing events. The default implementation calls gtk.main_quit() Useful for applications that needs a non gtk main loop. For example, applications based on gstreamer needs to override this method with gst.main_quit() """ gtk.main_quit() def run(self): """ Starts the main loop of processing events checking for Control-C. The default implementation checks wheter a Control-C is pressed, then calls on_keyboard_interrupt(). Use this method for starting programs. """ try: self.main() except KeyboardInterrupt: self.on_keyboard_interrupt() def on_keyboard_interrupt(self): """ This method is called by the default implementation of run() after a program is finished by pressing Control-C. """ pass def install_custom_handler(self, custom_handler): gtk.glade.set_custom_handler(custom_handler) def create_glade(self, glade_path, root, domain): return gtk.glade.XML(self.glade_path, root, domain) def get_widget(self, widget_name): return self.glade.get_widget(widget_name) def get_widgets(self): return self.glade.get_widget_prefix("") ntfs-config-1.0.1/NtfsConfig/AddWizard.py0000644000175000017500000001466010646452506015151 00000000000000# -*- coding: UTF-8 -*- # # AddWizards.py : User friendly configuration tool # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # from xml.sax.saxutils import escape as escape_mkup import pygtk pygtk.require("2.0") import gtk from SimpleGladeApp import SimpleGladeApp from gettext import gettext as _ from config import * from Config import Config from Fstab.FstabHandler import * class AddWizard(SimpleGladeApp) : ''' Provide a friendly guy to configure new devices ''' def __init__(self, devices = None, parent = None, disk = None, auto = False, log = True): SimpleGladeApp.__init__(self, GLADEFILE, "dialog_new", domain = PACKAGE) self.dialog_new.set_title("") if parent : self.dialog_new.set_transient_for(parent) # Setup gui and connect events self.setup_treeview() self.ok_button.connect("clicked", self.on_ok_clicked) self.cancel_button.connect("clicked", self.on_quit) self.dialog_new.connect("destroy", self.on_quit) self.auto_button.connect("clicked", self.on_auto_clicked) gtk.gdk.threads_init() # Create FstaHandler object, set options self.conf = Config() self.log = log if not disk : naming = self.conf.get("General", "fstab_naming") backend = self.conf.get("General", "backend") disk = FstabHandler(FSTAB, naming = naming, backend = backend) self.disk = disk self.disk.set_mode("virtual") # Add new devices in the treeview self.no_path = _("") self.entries = [] for entry in self.disk.get_new() : if not self.disk.get_duplicate(entry) and ( devices and entry["DEVICE"] not in devices ) : continue self.entries.append(entry) if not entry.has_key("FS_LABEL_SAFE") and not entry.get_is_mounted() : self.tree_store.append((False, entry["DEVICE"], self.no_path)) else : self.disk.configure(entry) self.tree_store.append((True, entry["DEVICE"], entry["FSTAB_PATH"])) if auto : self.auto_configure() else : self.dialog_new.show() def setup_treeview(self) : ''' treeview setup ''' renderer= gtk.CellRendererToggle() renderer.set_property("activatable", True) renderer.connect("toggled", self.on_toggled) column = gtk.TreeViewColumn(_("Add"), renderer, active=0) self.treeview.append_column(column) renderer = gtk.CellRendererText() column = gtk.TreeViewColumn(_("Device"), renderer, text=1) self.treeview.append_column(column) renderer = gtk.CellRendererText() renderer.set_property("editable", True) renderer.connect("edited", self.on_edit) column = gtk.TreeViewColumn(_("Mount Point"), renderer, text=2) self.treeview.append_column(column) self.tree_store = gtk.ListStore(bool, str, str) self.treeview.set_model(self.tree_store) def on_toggled(self, renderer, path) : self.set_state(path, not self.tree_store[path][0]) def set_state(self, path, state) : entry = self.entries[int(path)] if state : self.disk.configure(entry) self.tree_store[path][0] = True else : self.disk.unconfigure(entry) self.tree_store[path][0] = False self.check_ok_button() def on_edit(self, renderer, path_string, path) : ''' accept only path in /media. ''' entry = self.entries[int(path_string)] if path == "" or path == self.no_path : self.tree_store[path_string][2] = self.no_path self.set_state(path_string, False) self.check_ok_button() return if not path[:len("/media/")] == "/media/" : if path[0] == "/" : dialog("warning", _("Formatting error"), \ _("%s contains an invalid character.\n" \ "Mount point should be in /media/. Alternatively, you can " \ "enter a simple name, like disk.") % escape_mkup(path), \ parent = self.dialog_new) return path = "/media/" + path self.disk.set(entry, path = path) self.set_state(path_string, True) self.tree_store[path_string][2] = entry["FSTAB_PATH"] self.check_ok_button() def check_ok_button(self) : ''' make ok sensitive when all selected path are ok ''' for path in range(len(self.tree_store)) : if not self.tree_store[path][2][0] == "/" and self.tree_store[path][0] : self.ok_button.set_sensitive(False) return self.ok_button.set_sensitive(True) def on_ok_clicked(self, button) : self.disk.apply_now() if self.log : self.disk.savelog() self.cancel_button.clicked() def on_auto_clicked(self, button) : self.auto_configure() self.cancel_button.clicked() def auto_configure(self) : for entry in self.entries : self.disk.configure(entry) self.disk.apply_now() if self.log : self.disk.savelog() def on_quit(self, button) : self.dialog_new.hide() self.disk.set_mode("real") gtk.main_quit() def probe_new_device() : ''' Probe for new devices ''' fstab = FstabHandler(FSTAB) detected = Config().get("Detected Device","detected").strip().split() return [ k for k in fstab.get_new() if k["DEVICE"] not in detected ] ntfs-config-1.0.1/data/0000777000000000000000000000000010646710035011614 500000000000000ntfs-config-1.0.1/data/ntfs-config.desktop.in.in0000644000175000017500000000041210627104012016370 00000000000000[Desktop Entry] Encoding=UTF-8 _Name=NTFS Configuration Tool _Comment=Enable/disable write support for NTFS with a simple click. Icon=gnome-dev-harddisk Exec=@prefix@@EXEC_PATH@/ntfs-config-root Terminal=false Type=Application Categories=Application;System;Settings ntfs-config-1.0.1/data/ntfs-config.desktop.in0000644000175000017500000000040610646710034015776 00000000000000[Desktop Entry] Encoding=UTF-8 _Name=NTFS Configuration Tool _Comment=Enable/disable write support for NTFS with a simple click. Icon=gnome-dev-harddisk Exec=/usr/local/sbin/ntfs-config-root Terminal=false Type=Application Categories=Application;System;Settings ntfs-config-1.0.1/data/ntfs-config-root.80000644000175000017500000000075510646514206015062 00000000000000.TH NTFS-CONFIG-ROOT "8" "July 2007" "ntfs-config 1.0-RC5" "ntfs-config-root" .SH NAME ntfs-config-root \- ntfs-config su helper .SH SYNOPSIS .B ntfs-config-root [\fIoptions\fR] .SH DESCRIPTION ntfs-config-root is a desktop/distribution independant program that execute ntfs-config as root with the more appropriate graphical authentification program available. It currently support .B gksu, .B kdesu and .B consolhelper (fedora/redhat). .SH OPTIONS for options, see .BR ntfs-config (8) ntfs-config-1.0.1/data/ntfs-config.80000644000175000017500000000162610646414204014074 00000000000000.TH NTFS-CONFIG "8" "July 2007" "ntfs-config 1.0-RC5" "ntfs-config" .SH NAME ntfs-config \- Enable/disable write support for NTFS with a simple click. .SH SYNOPSIS .B ntfs-config [\fIoptions\fR] .SH DESCRIPTION Add write support for all your NTFS partition with this tool. It will configure them to use the open source driver ntfs-3g that allow full read/write capability. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-v\fR, \fB\-\-version\fR Show version of the application and exit. .TP \fB\-q\fR DEVICE, \fB\-\-query\-database\fR=\fIDEVICE\fR Query database for DEVICE. Set DEVICE to all to print full database. .TP \fB\-d\fR, \fB\-\-debug\fR Print debugging information. .SH "SEE ALSO" You can get more support by visting ntfs-config homepage : .br .BR http://flomertens.free.fre/ntfs-config You can also get more information about ntfs-3g at : .br .BR http://www.ntfs-3g.org ntfs-config-1.0.1/data/Makefile.in0000644000175000017500000004424110646710027013635 00000000000000# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ @ENABLE_PAM_TRUE@am__append_1 = pam ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BLKID = @BLKID@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONSOLEHELPER = @CONSOLEHELPER@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DMSETUP = @DMSETUP@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_PAM_FALSE = @ENABLE_PAM_FALSE@ ENABLE_PAM_TRUE = @ENABLE_PAM_TRUE@ EXEC_PATH = @EXEC_PATH@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MODPROBE = @MODPROBE@ MOUNT = @MOUNT@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYOPTIONS = @PYOPTIONS@ PYTHON = @PYTHON@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UMOUNT = @UMOUNT@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = $(am__append_1) desktopdir = $(datadir)/applications desktop_in_files = ntfs-config.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) CLEANFILES = $(desktop_DATA) EXTRA_DIST = $(desktop_in_files) $(pkgdata_DATA) $(man_MANS) pkgdata_DATA = ntfs-config.glade \ write-policy.fdi \ ro-policy.fdi man_MANS = \ ntfs-config.8 \ ntfs-config-root.8 subdir = data ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = ntfs-config.desktop.in DIST_SOURCES = NROFF = nroff MANS = $(man_MANS) DATA = $(desktop_DATA) $(pkgdata_DATA) RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ ps-recursive install-info-recursive uninstall-info-recursive \ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive DIST_COMMON = $(srcdir)/Makefile.in Makefile.am \ ntfs-config.desktop.in.in DIST_SUBDIRS = pam all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu data/Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) ntfs-config.desktop.in: $(top_builddir)/config.status ntfs-config.desktop.in.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ uninstall-info-am: man8dir = $(mandir)/man8 install-man8: $(man8_MANS) $(man_MANS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(man8dir) @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.8*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 8*) ;; \ *) ext='8' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \ done uninstall-man8: @$(NORMAL_UNINSTALL) @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.8*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 8*) ;; \ *) ext='8' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \ rm -f $(DESTDIR)$(man8dir)/$$inst; \ done desktopDATA_INSTALL = $(INSTALL_DATA) install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(desktopdir) @list='$(desktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(desktopDATA_INSTALL) $$d$$p $(DESTDIR)$(desktopdir)/$$f"; \ $(desktopDATA_INSTALL) $$d$$p $(DESTDIR)$(desktopdir)/$$f; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(desktopdir)/$$f"; \ rm -f $(DESTDIR)$(desktopdir)/$$f; \ done pkgdataDATA_INSTALL = $(INSTALL_DATA) install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \ $(pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \ done uninstall-pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(pkgdata_DATA)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \ rm -f $(DESTDIR)$(pkgdatadir)/$$f; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ETAGS = etags ETAGSFLAGS = CTAGS = ctags CTAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if (etags --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ else \ include_option=--include; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" \ distdir=../$(distdir)/$$subdir \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(man8dir) $(DESTDIR)$(desktopdir) $(DESTDIR)$(pkgdatadir) install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: info: info-recursive info-am: install-data-am: install-data-local install-desktopDATA install-man \ install-pkgdataDATA install-exec-am: install-info: install-info-recursive install-man: install-man8 installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-desktopDATA uninstall-info-am uninstall-man \ uninstall-pkgdataDATA @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook uninstall-info: uninstall-info-recursive uninstall-man: uninstall-man8 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ clean-generic clean-recursive ctags ctags-recursive distclean \ distclean-generic distclean-recursive distclean-tags distdir \ dvi dvi-am dvi-recursive info info-am info-recursive install \ install-am install-data install-data-am install-data-local \ install-data-recursive install-desktopDATA install-exec \ install-exec-am install-exec-recursive install-info \ install-info-am install-info-recursive install-man install-man8 \ install-pkgdataDATA install-recursive install-strip \ installcheck installcheck-am installdirs installdirs-am \ installdirs-recursive maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \ ps-recursive tags tags-recursive uninstall uninstall-am \ uninstall-desktopDATA uninstall-info-am \ uninstall-info-recursive uninstall-man uninstall-man8 \ uninstall-pkgdataDATA uninstall-recursive install-data-local: @INTLTOOL_DESKTOP_RULE@ uninstall-hook: rm -f $(DESTDIR)/etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi rm -f $(DESTDIR)/etc/hal/fdi/policy/20-ntfs-config-ro-policy.fdi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/data/ro-policy.fdi0000644000175000017500000000115310627104012014152 00000000000000 ntfs ntfs ntfs-config-1.0.1/data/pam/0000777000000000000000000000000010646710035012371 500000000000000ntfs-config-1.0.1/data/pam/Makefile.in0000644000175000017500000002374310646710027014416 00000000000000# Makefile.in generated by automake 1.7.9 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BLKID = @BLKID@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CONSOLEHELPER = @CONSOLEHELPER@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DMSETUP = @DMSETUP@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_PAM_FALSE = @ENABLE_PAM_FALSE@ ENABLE_PAM_TRUE = @ENABLE_PAM_TRUE@ EXEC_PATH = @EXEC_PATH@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ MODPROBE = @MODPROBE@ MOUNT = @MOUNT@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYOPTIONS = @PYOPTIONS@ PYTHON = @PYTHON@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ UMOUNT = @UMOUNT@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ CLEANFILES = ntfs-config.consolhelper EXTRA_DIST = ntfs-config.consolhelper.in ntfs-config.pam subdir = data/pam ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = ntfs-config.consolhelper DIST_SOURCES = DIST_COMMON = $(srcdir)/Makefile.in Makefile.am \ ntfs-config.consolhelper.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu data/pam/Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) ntfs-config.consolhelper: $(top_builddir)/config.status ntfs-config.consolhelper.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = ../.. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am info info-am install \ install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am install-data-hook: test -z $(DESTDIR)/etc/pam.d || mkdir -p -- $(DESTDIR)/etc/pam.d test -z $(DESTDIR)/etc/security/console.apps || mkdir -p -- $(DESTDIR)/etc/security/console.apps $(INSTALL_DATA) $(srcdir)/ntfs-config.pam $(DESTDIR)/etc/pam.d/ntfs-config-root $(INSTALL_DATA) $(srcdir)/ntfs-config.consolhelper $(DESTDIR)/etc/security/console.apps/ntfs-config-root test -z $(DESTDIR)$(bindir) || mkdir -p -- $(DESTDIR)$(bindir) ln -fs $(CONSOLHELPER) $(DESTDIR)$(bindir)/ntfs-config-root uninstall-hook: rm -f $(DESTDIR)/etc/pam.d/ntfs-config-root rm -f $(DESTDIR)/etc/security/console.apps/ntfs-config-root rm -f $(DESTDIR)$(bindir)/ntfs-config-root # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ntfs-config-1.0.1/data/pam/ntfs-config.pam0000644000175000017500000000030110627104013015235 00000000000000#%PAM-1.0 auth include config-util account include config-util session include config-util ntfs-config-1.0.1/data/pam/Makefile.am0000644000175000017500000000146510634741040014376 00000000000000## Process this file with automake to produce Makefile.in CLEANFILES = ntfs-config.consolhelper EXTRA_DIST = ntfs-config.consolhelper.in ntfs-config.pam install-data-hook: test -z $(DESTDIR)/etc/pam.d || mkdir -p -- $(DESTDIR)/etc/pam.d test -z $(DESTDIR)/etc/security/console.apps || mkdir -p -- $(DESTDIR)/etc/security/console.apps $(INSTALL_DATA) $(srcdir)/ntfs-config.pam $(DESTDIR)/etc/pam.d/ntfs-config-root $(INSTALL_DATA) $(srcdir)/ntfs-config.consolhelper $(DESTDIR)/etc/security/console.apps/ntfs-config-root test -z $(DESTDIR)$(bindir) || mkdir -p -- $(DESTDIR)$(bindir) ln -fs $(CONSOLHELPER) $(DESTDIR)$(bindir)/ntfs-config-root uninstall-hook: rm -f $(DESTDIR)/etc/pam.d/ntfs-config-root rm -f $(DESTDIR)/etc/security/console.apps/ntfs-config-root rm -f $(DESTDIR)$(bindir)/ntfs-config-root ntfs-config-1.0.1/data/pam/ntfs-config.consolhelper.in0000644000175000017500000000007610634603311017576 00000000000000USER=root PROGRAM=@prefix@/sbin/ntfs-config-root SESSION=true ntfs-config-1.0.1/data/Makefile.am0000644000175000017500000000142310646413443013621 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = if ENABLE_PAM SUBDIRS += pam endif install-data-local: @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications desktop_in_files = ntfs-config.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) CLEANFILES = $(desktop_DATA) EXTRA_DIST = $(desktop_in_files) pkgdata_DATA = ntfs-config.glade \ write-policy.fdi \ ro-policy.fdi EXTRA_DIST += $(pkgdata_DATA) man_MANS = \ ntfs-config.8 \ ntfs-config-root.8 EXTRA_DIST += $(man_MANS) ## Remove any fdi rule that could have been created by the program uninstall-hook: rm -f $(DESTDIR)/etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi rm -f $(DESTDIR)/etc/hal/fdi/policy/20-ntfs-config-ro-policy.fdi ntfs-config-1.0.1/data/write-policy.fdi0000644000175000017500000000117410627104013014670 00000000000000 ntfs-3g ntfs-3g locale= ntfs-config-1.0.1/data/ntfs-config.glade0000644000175000017500000006032610643141134014777 00000000000000 12 False GTK_WIN_POS_CENTER True 12 True 8 True 0 <b>NTFS write support configuration tool</b> True False False True 12 True 8 True Enable write support for external device True False False True Enable write support for internal device True False False 1 400 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_ETCHED_IN True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Advanced Configuration label_item 2 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 6 GTK_BUTTONBOX_END True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-undo True True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-close True 1 False False 1 5 True GTK_WIN_POS_CENTER_ON_PARENT True GDK_WINDOW_TYPE_HINT_DIALOG False True True 6 12 True 0 0 gtk-missing-image False True 12 True 0 <big><b>Title</b></big> True True False False True 6 True True 0 text top True True True False True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN 1 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 1 True True 0 text down True True True False False False False 2 1 1 1 True GTK_BUTTONBOX_END False GTK_PACK_END False True GTK_WIN_POS_CENTER_ON_PARENT GDK_WINDOW_TYPE_HINT_DIALOG False True 12 True 0 0 <big><b>Mounting partition</b></big> True True False False 6 True 0 0 Applying changes. Please wait until the process finishes. True True 35 False 6 1 True 0 False False 6 2 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 <i>Mouting *</i> True 35 False False 3 12 True GTK_WIN_POS_CENTER_ON_PARENT 375 310 GDK_WINDOW_TYPE_HINT_DIALOG False True 6 True 6 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 0 <big><b>New partitions detected</b></big> True False False True 0 The following new partitions were detected. Select the ones you want to configure: True False False 1 True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN True 2 True 0 0 True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK gtk-dialog-info False False True 0 0 Alternatively you can configure them automatically with the "Auto Configure" button True 6 1 False False 3 1 True GTK_BUTTONBOX_EDGE True True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK Auto Configure 3 True gtk-cancel True -4 1 True gtk-ok True -5 2 False GTK_PACK_END ntfs-config-1.0.1/mkinstalldirs0000755000175000017500000000370410646710024013461 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" 1>&2 exit 0 ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac case $dirmode in '') if mkdir -p -- . 2>/dev/null; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" fi ;; *) if mkdir -m "$dirmode" -p -- . 2>/dev/null; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" fi ;; esac for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr="" chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp="$pathcomp/" done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # End: # mkinstalldirs ends here ntfs-config-1.0.1/ntfs-config.in0000755000175000017500000000702710642772313013432 00000000000000#! @PYTHON@ @PYOPTIONS@ # -*- python -*- # -*- coding: UTF-8 -*- # # ntfs-config : NTFS Configuration Tool # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import sys import logging import gtk import gettext from optparse import OptionParser from gettext import gettext as _ # Hack to make sure that path is set correctly when installation is in /usr/local if "/usr/local" in sys.argv[0] : for path in sys.path : if "/usr/lib/python" in path : local_path = path.replace("/usr", "/usr/local") if not local_path in sys.path : sys.path.append(path.replace("/usr", "/usr/local")) from NtfsConfig.NtfsConfig import * from NtfsConfig.Config import Config def main(args, opts) : if opts.version : print PACKAGE,VERSION return if opts.query : if not os.getuid() == 0 : logging.warning("Query database without root privilege.") logging.warning("Result might be incomplete.\n") info = get_diskinfo_backend()() print info.export(opts.query.strip()) return gtk.window_set_default_icon_name("gnome-dev-harddisk") if not os.getuid() == 0 : dialog("warning", _("Insufficient rights"), \ _("You need administrative rights to start this application.")) return # Check for ntfs-3g info = get_diskinfo_backend()() if not "ntfs-3g" in info.get_drivers("ntfs")["all"].keys() : dialog("error", _("Read/Write NTFS driver not installed"), \ _("In order to enable write support for your NTFS devices, " "you'll need first to install the ntfs-3g driver.\n" "If your distribution don't provide it, you can get it from :\n" "http://www.ntfs-3g.org")) return app = NtfsConfig() app.run() def get_opt_args() : parser = OptionParser() parser.add_option ("-v", "--version", help="Show version of the application and exit.", \ action="store_true", dest="version", default=False) parser.add_option ("-q", "--query-database", type="string", dest="query", default="", metavar="DEVICE", help="Query database for DEVICE.\nSet DEVICE to all to print full database.") parser.add_option ("-d", "--debug", action="store_true", dest="debug", default=False, help="Print debugging information.") return parser.parse_args() if __name__ == '__main__' : gettext.bindtextdomain("ntfs-config",localedir) gettext.textdomain("ntfs-config") (opts, args) = get_opt_args() if opts.debug : level = logging.DEBUG else : level = logging.INFO logging.basicConfig(level=level, format='%(levelname)s : %(message)s') main(args, opts) logging.shutdown() ntfs-config-1.0.1/Makefile.am0000644000175000017500000000065610627104012012703 00000000000000## Process this file with automake to produce Makefile.in SUBDIRS = po data NtfsConfig bin_SCRIPTS = ntfs-config CLEANFILES = ntfs-config EXTRA_DIST = ntfs-config.in sbin_SCRIPTS = ntfs-config-root CLEANFILES += ntfs-config-root EXTRA_DIST += ntfs-config-root.in EXTRA_DIST += intltool-extract.in intltool-merge.in intltool-update.in DISTCLEANFILES = intltool-extract intltool-merge intltool-update config.status.lineno ntfs-config-1.0.1/missing0000755000175000017500000002540610627104012012246 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, 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. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: ntfs-config-1.0.1/configure0000755000175000017500000071140610646710027012572 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for ntfs-config 1.0.1. # # Report bugs to . # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='ntfs-config' PACKAGE_TARNAME='ntfs-config' PACKAGE_VERSION='1.0.1' PACKAGE_STRING='ntfs-config 1.0.1' PACKAGE_BUGREPORT='http://flomertens.free.fr/ntfs-config/' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CONSOLEHELPER ENABLE_PAM_TRUE ENABLE_PAM_FALSE EXEC_PATH MODPROBE MOUNT UMOUNT BLKID DMSETUP GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP GREP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os USE_NLS MSGFMT MSGFMT_OPTS GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS PYTHON2_4 PYTHON PYTHON2_5 PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir PYOPTIONS LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures ntfs-config 1.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/ntfs-config] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of ntfs-config 1.0.1:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-force-pam=(yes/no) Force the use or not of pam authentification via consolehelper. Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF ntfs-config configure 1.0.1 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ntfs-config $as_me 1.0.1, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.7" ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # 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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` 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= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='ntfs-config' VERSION='1.0.1' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} AMTAR=${AMTAR-"${am_missing_run}tar"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # Use PAM authentification when consolhelper is found for ac_prog in consolehelper do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_CONSOLEHELPER+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $CONSOLEHELPER in [\\/]* | ?:[\\/]*) ac_cv_path_CONSOLEHELPER="$CONSOLEHELPER" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_CONSOLEHELPER="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi CONSOLEHELPER=$ac_cv_path_CONSOLEHELPER if test -n "$CONSOLEHELPER"; then { echo "$as_me:$LINENO: result: $CONSOLEHELPER" >&5 echo "${ECHO_T}$CONSOLEHELPER" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CONSOLEHELPER" && break done test -n "$CONSOLEHELPER" || CONSOLEHELPER="no" # Check whether --with-force-pam was given. if test "${with_force_pam+set}" = set; then withval=$with_force_pam; fi # If force-pam = yes, we install the file, even if consolehelper wasn't found if test "$with_force_pam" = "yes" && test "$CONSOLEHELPER" = "no"; then CONSOLEHELPER="/usr/bin/consolehelper" fi if test "$with_force_pam" = "no"; then CONSOLEHELPER="no" fi if test "$CONSOLEHELPER" != "no"; then ENABLE_PAM_TRUE= ENABLE_PAM_FALSE='#' else ENABLE_PAM_TRUE='#' ENABLE_PAM_FALSE= fi if test "$CONSOLEHELPER" != "no"; then EXEC_PATH=/bin else EXEC_PATH=/sbin fi # Check path of some program for ac_prog in modprobe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MODPROBE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MODPROBE in [\\/]* | ?:[\\/]*) ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MODPROBE=$ac_cv_path_MODPROBE if test -n "$MODPROBE"; then { echo "$as_me:$LINENO: result: $MODPROBE" >&5 echo "${ECHO_T}$MODPROBE" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$MODPROBE" && break done test -n "$MODPROBE" || MODPROBE="/sbin/modprobe" for ac_prog in mount do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MOUNT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MOUNT in [\\/]* | ?:[\\/]*) ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MOUNT=$ac_cv_path_MOUNT if test -n "$MOUNT"; then { echo "$as_me:$LINENO: result: $MOUNT" >&5 echo "${ECHO_T}$MOUNT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$MOUNT" && break done test -n "$MOUNT" || MOUNT="/bin/mount" for ac_prog in umount do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_UMOUNT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $UMOUNT in [\\/]* | ?:[\\/]*) ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi UMOUNT=$ac_cv_path_UMOUNT if test -n "$UMOUNT"; then { echo "$as_me:$LINENO: result: $UMOUNT" >&5 echo "${ECHO_T}$UMOUNT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$UMOUNT" && break done test -n "$UMOUNT" || UMOUNT="/bin/umount" for ac_prog in blkid do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_BLKID+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $BLKID in [\\/]* | ?:[\\/]*) ac_cv_path_BLKID="$BLKID" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_BLKID="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi BLKID=$ac_cv_path_BLKID if test -n "$BLKID"; then { echo "$as_me:$LINENO: result: $BLKID" >&5 echo "${ECHO_T}$BLKID" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$BLKID" && break done test -n "$BLKID" || BLKID="/sbin/blkid" for ac_prog in dmsetup do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_DMSETUP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $DMSETUP in [\\/]* | ?:[\\/]*) ac_cv_path_DMSETUP="$DMSETUP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /sbin /usr/sbin $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_DMSETUP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi DMSETUP=$ac_cv_path_DMSETUP if test -n "$DMSETUP"; then { echo "$as_me:$LINENO: result: $DMSETUP" >&5 echo "${ECHO_T}$DMSETUP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$DMSETUP" && break done test -n "$DMSETUP" || DMSETUP="/sbin/dmsetup" GETTEXT_PACKAGE=ntfs-config cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" 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. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 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 { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi 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 : > 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 # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------------------------- ## ## Report this to http://flomertens.free.fr/ntfs-config/ ## ## ----------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then { echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ----------------------------------------------------- ## ## Report this to http://flomertens.free.fr/ntfs-config/ ## ## ----------------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { echo "$as_me:$LINENO: checking for ngettext in libc" >&5 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; } if test "${gt_cv_func_ngettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_ngettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; } if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; } if test $ac_cv_lib_intl_bindtextdomain = yes; then { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = yes; then { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6; } { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = yes; then { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; } if test $ac_cv_lib_intl_dcgettext = yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done MSGFMT_OPTS= { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5 (msgfmt -c -o /dev/null conftest.foo) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bind_textdomain_codeset (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } if test $ac_cv_func_bind_textdomain_codeset = yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES case "$am__api_version" in 1.01234) { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} { (exit 1); exit 1; }; } ;; *) ;; esac if test -n ""; then { echo "$as_me:$LINENO: checking for intltool >= " >&5 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;} { (exit 1); exit 1; }; } fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 echo "${ECHO_T}$INTLTOOL_PERL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$INTLTOOL_PERL"; then { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 echo "$as_me: error: perl not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 echo "$as_me: error: perl 5.x required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test "x" != "xno-xml"; then { echo "$as_me:$LINENO: checking for XML::Parser" >&5 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } else { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } fi fi # Extract the first word of "iconv", so it can be a program name with args. set dummy iconv; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_ICONV in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv" ;; esac fi INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV if test -n "$INTLTOOL_ICONV"; then { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5 echo "${ECHO_T}$INTLTOOL_ICONV" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt" ;; esac fi INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT if test -n "$INTLTOOL_MSGFMT"; then { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5 echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge" ;; esac fi INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE if test -n "$INTLTOOL_MSGMERGE"; then { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5 echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext" ;; esac fi INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT if test -n "$INTLTOOL_XGETTEXT"; then { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5 echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bind_textdomain_codeset (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } if test $ac_cv_func_bind_textdomain_codeset = yes; then DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_config_commands="$ac_config_commands intltool" # Check for python > 2.4 and pygtk > 2.6 _python_save="$PYTHON" if test -z "$PYTHON"; then # Extract the first word of "python2.4", so it can be a program name with args. set dummy python2.4; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON2_4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON2_4 in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON2_4="$PYTHON2_4" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PYTHON2_4="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON2_4=$ac_cv_path_PYTHON2_4 if test -n "$PYTHON2_4"; then { echo "$as_me:$LINENO: result: $PYTHON2_4" >&5 echo "${ECHO_T}$PYTHON2_4" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PYTHON2_4="$PYTHON" fi PYTHON="$PYTHON2_4" if test -n "$PYTHON"; then { echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.4.0" >&5 echo $ECHO_N "checking whether $PYTHON version is >= 2.4.0... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.4.0', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; }; PYTHON="" fi fi if test -z "$PYTHON"; then PYTHON="$_python_save" _python_save="$PYTHON" if test -z "$PYTHON"; then # Extract the first word of "python2.5", so it can be a program name with args. set dummy python2.5; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON2_5+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON2_5 in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON2_5="$PYTHON2_5" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PYTHON2_5="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON2_5=$ac_cv_path_PYTHON2_5 if test -n "$PYTHON2_5"; then { echo "$as_me:$LINENO: result: $PYTHON2_5" >&5 echo "${ECHO_T}$PYTHON2_5" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PYTHON2_5="$PYTHON" fi PYTHON="$PYTHON2_5" if test -n "$PYTHON"; then { echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.5.0" >&5 echo $ECHO_N "checking whether $PYTHON version is >= 2.5.0... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5.0', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; }; PYTHON="" fi fi if test -z "$PYTHON"; then { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi PYOPTIONS=-OOt { echo "$as_me:$LINENO: checking for pygtk >= 2.6.0 installed" >&5 echo $ECHO_N "checking for pygtk >= 2.6.0 installed... $ECHO_C" >&6; } prog=" import pygtk; pygtk.require('2.0') import gobject assert gobject.pygtk_version >= tuple(map(int, '2.6.0'.split('.'))) " if $PYTHON -c "$prog" 1>&5 2>&5; then { echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6; } else { echo "$as_me:$LINENO: result: not found" >&5 echo "${ECHO_T}not found" >&6; } { { echo "$as_me:$LINENO: error: required pygtk version not found" >&5 echo "$as_me: error: required pygtk version not found" >&2;} { (exit 1); exit 1; }; } fi ac_config_files="$ac_config_files Makefile ntfs-config ntfs-config-root po/Makefile.in data/Makefile data/pam/Makefile data/pam/ntfs-config.consolhelper data/ntfs-config.desktop.in NtfsConfig/Makefile NtfsConfig/config.py NtfsConfig/Fstab/Makefile NtfsConfig/Fstab/Fstabconfig.py" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_PAM_TRUE}" && test -z "${ENABLE_PAM_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PAM\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_PAM\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi ac_config_commands="$ac_config_commands po/stamp-it" : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by ntfs-config $as_me 1.0.1, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ ntfs-config config.status 1.0.1 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "ntfs-config") CONFIG_FILES="$CONFIG_FILES ntfs-config" ;; "ntfs-config-root") CONFIG_FILES="$CONFIG_FILES ntfs-config-root" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "data/pam/Makefile") CONFIG_FILES="$CONFIG_FILES data/pam/Makefile" ;; "data/pam/ntfs-config.consolhelper") CONFIG_FILES="$CONFIG_FILES data/pam/ntfs-config.consolhelper" ;; "data/ntfs-config.desktop.in") CONFIG_FILES="$CONFIG_FILES data/ntfs-config.desktop.in" ;; "NtfsConfig/Makefile") CONFIG_FILES="$CONFIG_FILES NtfsConfig/Makefile" ;; "NtfsConfig/config.py") CONFIG_FILES="$CONFIG_FILES NtfsConfig/config.py" ;; "NtfsConfig/Fstab/Makefile") CONFIG_FILES="$CONFIG_FILES NtfsConfig/Fstab/Makefile" ;; "NtfsConfig/Fstab/Fstabconfig.py") CONFIG_FILES="$CONFIG_FILES NtfsConfig/Fstab/Fstabconfig.py" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim AMTAR!$AMTAR$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim CONSOLEHELPER!$CONSOLEHELPER$ac_delim ENABLE_PAM_TRUE!$ENABLE_PAM_TRUE$ac_delim ENABLE_PAM_FALSE!$ENABLE_PAM_FALSE$ac_delim EXEC_PATH!$EXEC_PATH$ac_delim MODPROBE!$MODPROBE$ac_delim MOUNT!$MOUNT$ac_delim UMOUNT!$UMOUNT$ac_delim BLKID!$BLKID$ac_delim DMSETUP!$DMSETUP$ac_delim GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim USE_NLS!$USE_NLS$ac_delim MSGFMT!$MSGFMT$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim GMSGFMT!$GMSGFMT$ac_delim XGETTEXT!$XGETTEXT$ac_delim CATALOGS!$CATALOGS$ac_delim CATOBJEXT!$CATOBJEXT$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim GMOFILES!$GMOFILES$ac_delim INSTOBJEXT!$INSTOBJEXT$ac_delim INTLLIBS!$INTLLIBS$ac_delim PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim POFILES!$POFILES$ac_delim POSUB!$POSUB$ac_delim MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim ALL_LINGUAS!$ALL_LINGUAS$ac_delim PYTHON2_5!$PYTHON2_5$ac_delim PYTHON!$PYTHON$ac_delim PYTHON2_5!$PYTHON2_5$ac_delim PYTHON_VERSION!$PYTHON_VERSION$ac_delim PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim pythondir!$pythondir$ac_delim pkgpythondir!$pkgpythondir$ac_delim pyexecdir!$pyexecdir$ac_delim pkgpyexecdir!$pkgpyexecdir$ac_delim PYOPTIONS!$PYOPTIONS$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || 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" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # 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 -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "intltool":C) for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ;; "po/stamp-it":C) rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" if test ! -f "po/Makefile"; then { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 echo "$as_me: error: po/Makefile is not ready." >&2;} { (exit 1); exit 1; }; } fi mv "po/Makefile" "po/Makefile.tmp" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.tmp" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi ntfs-config-1.0.1/ntfs-config-root.in0000644000175000017500000000567510636723755014430 00000000000000#! @PYTHON@ @PYOPTIONS@ # -*- python -*- # -*- coding: UTF-8 -*- # # ntfs-config-root : Execute ntfs-config as root. If you are not # already root, search for an authentification program. # Copyright (C) 2007 Mertens Florent # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # import os import sys import gettext import logging from subprocess import * # Hack to make sure that path is set correctly when installation is in /usr/local if "/usr/local" in sys.argv[0] : for path in sys.path : if "/usr/lib/python" in path : local_path = path.replace("/usr", "/usr/local") if not local_path in sys.path : sys.path.append(path.replace("/usr", "/usr/local")) if not "/usr/local/bin" in os.environ["PATH"] : os.environ["PATH"] += ":/usr/local/bin" from NtfsConfig.Fstab.FstabDialogs import dialog from NtfsConfig.config import * from NtfsConfig.Utility import * from gettext import gettext as _ if __name__ == '__main__' : logging.basicConfig(level=logging.INFO, format='%(levelname)s : %(message)s') gettext.bindtextdomain(PACKAGE,localedir) gettext.textdomain(PACKAGE) if not os.getuid() == 0 : desktop = get_desktop() if desktop == "GNOME" and test_cmd("gksu") : auth = "gksu" elif desktop == "KDE" and test_cmd("kdesu") : auth = "kdesu" elif test_cmd("gksu") : auth = "gksu" elif test_cmd("kdesu") : auth = "kdesu" else : dialog("error", _("No authentication program founds"), \ _("ntfs-config need to be run as root, but I can't find\n" "a graphical authentication program.\n" "You should install gksu or kdesu.\n" "Alternatively, you can run ntfs-config from " "the terminal with su or sudo.")) sys.exit() logging.info("Launching %s with %s..." % (PACKAGE, auth)) os.putenv("%s_user-XAUTHORITY" % PACKAGE, os.environ["XAUTHORITY"]) argv = [auth, "--", PACKAGE] argv.extend(sys.argv[1:]) os.execvp(auth, argv) else : argv = [PACKAGE] argv.extend(sys.argv[1:]) os.execvp(PACKAGE, argv) ntfs-config-1.0.1/intltool-extract.in0000644000175000017500000005500610646710024014521 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001, 2003 Free Software Foundation. # # Intltool 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. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Kenneth Christiansen # Darin Adler # ## Release information my $PROGRAM = "intltool-extract"; my $PACKAGE = "intltool"; my $VERSION = "0.35.5"; ## Loaded modules use strict; use File::Basename; use Getopt::Long; ## Scalars used by the option stuff my $TYPE_ARG = "0"; my $LOCAL_ARG = "0"; my $HELP_ARG = "0"; my $VERSION_ARG = "0"; my $UPDATE_ARG = "0"; my $QUIET_ARG = "0"; my $SRCDIR_ARG = "."; my $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); my %loc = (); my %count = (); my %comments = (); my $strcount = 0; my $XMLCOMMENT = ""; ## Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; ## Always print first $| = 1; ## Handle options GetOptions ( "type=s" => \$TYPE_ARG, "local|l" => \$LOCAL_ARG, "help|h" => \$HELP_ARG, "version|v" => \$VERSION_ARG, "update" => \$UPDATE_ARG, "quiet|q" => \$QUIET_ARG, "srcdir=s" => \$SRCDIR_ARG, ) or &error; &split_on_argument; ## Check for options. ## This section will check for the different options. sub split_on_argument { if ($VERSION_ARG) { &version; } elsif ($HELP_ARG) { &help; } elsif ($LOCAL_ARG) { &place_local; &extract; } elsif ($UPDATE_ARG) { &place_normal; &extract; } elsif (@ARGV > 0) { &place_normal; &message; &extract; } else { &help; } } sub place_normal { $FILE = $ARGV[0]; $OUTFILE = "$FILE.h"; my $dirname = dirname ($OUTFILE); if (! -d "$dirname" && $dirname ne "") { system ("mkdir -p $dirname"); } } sub place_local { $FILE = $ARGV[0]; $OUTFILE = fileparse($FILE, ()); if (!-e "tmp/") { system("mkdir tmp/"); } $OUTFILE = "./tmp/$OUTFILE.h" } sub determine_type { if ($TYPE_ARG =~ /^gettext\/(.*)/) { $gettext_type=$1 } } ## Sub for printing release information sub version{ print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Copyright (C) 2000, 2003 Free Software Foundation, Inc. Written by Kenneth Christiansen, 2000. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... [FILENAME] Generates a header file from an XML source file. It grabs all strings between <_translatable_node> and its end tag in XML files. Read manpage (man ${PROGRAM}) for more info. --type=TYPE Specify the file type of FILENAME. Currently supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml", "gettext/quoted" -l, --local Writes output into current working directory (conflicts with --update) --update Writes output into the same directory the source file reside (conflicts with --local) --srcdir Root of the source tree -v, --version Output version information and exit -h, --help Display this help and exit -q, --quiet Quiet mode Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub error{ print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n" unless $QUIET_ARG; } sub extract { &determine_type; &convert; open OUT, ">$OUTFILE"; binmode (OUT) if $^O eq 'MSWin32'; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!"; $input = ; } &type_ini if $gettext_type eq "ini"; &type_keys if $gettext_type eq "keys"; &type_xml if $gettext_type eq "xml"; &type_glade if $gettext_type eq "glade"; &type_scheme if $gettext_type eq "scheme"; &type_schemas if $gettext_type eq "schemas"; &type_rfc822deb if $gettext_type eq "rfc822deb"; &type_quoted if $gettext_type eq "quoted"; } sub entity_decode_minimal { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; return $_; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/<//g; return $_; } sub escape_char { return '\"' if $_ eq '"'; return '\n' if $_ eq "\n"; return '\\\\' if $_ eq '\\'; return $_; } sub escape { my ($string) = @_; return join "", map &escape_char, split //, $string; } sub type_ini { ### For generic translatable desktop files ### while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) { if (defined($2)) { $comments{$3} = $2; } $messages{$3} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### my $tree = readXml($input); parseTree(0, $tree); } sub print_var { my $var = shift; my $vartype = ref $var; if ($vartype =~ /ARRAY/) { my @arr = @{$var}; print "[ "; foreach my $el (@arr) { print_var($el); print ", "; } print "] "; } elsif ($vartype =~ /HASH/) { my %hash = %{$var}; print "{ "; foreach my $key (keys %hash) { print "$key => "; print_var($hash{$key}); print ", "; } print "} "; } else { print $var; } } # Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment) sub getAttributeString { my $sub = shift; my $do_translate = shift || 1; my $language = shift || ""; my $translate = shift; my $result = ""; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; ## differences from intltool-merge.in.in if ($key =~ /^_/) { $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT; $messages{entity_decode($string)} = []; $$translate = 2; } ## differences end here from intltool-merge.in.in $result .= " $key=$quote$string$quote"; } return $result; } # Verbatim copy from intltool-merge.in.in sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } # Based on traverse() in intltool-merge.in.in sub traverse { my $fh = shift; # unused, to allow us to sync code between -merge and -extract my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if ($nodename && "$nodename" eq "1") { $XMLCOMMENT = $content; } elsif ($nodename) { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup && $translate != 2) { $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT; $messages{$lookup} = []; } elsif ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } } else { $XMLCOMMENT = ""; my $count = scalar(@all); if ($count > 0) { my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } } $XMLCOMMENT = ""; } } # Verbatim copy from intltool-merge.in.in, $fh for compatibility sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_comment { my $expat = shift; my $data = $expat->original_string(); my $clist = $expat->{Curlist}; my $pos = $#$clist; $data =~ s/^$//s; push @$clist, 1 => $data; } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } # Verbatim copy from intltool-merge.in.in sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } # Copied from intltool-merge.in.in and added comment handler. sub readXml { my $xmldoc = shift || return; my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); ## differences from intltool-merge.in.in $xp->setHandlers(Comment => \&intltool_tree_comment); ## differences end here from intltool-merge.in.in my $tree = $xp->parse($xmldoc); #print_var($tree); # Hello thereHowdydo # would be: # [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, # [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(?:\s*)?(.*?)\s*<\/default>\s*)? (\s*(?:\s*)?(.*?)\s*<\/short>\s*)? (\s*(?:\s*)?(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($3,$6,$9); my @eachcomment = ($2,$5,$8); foreach (@totranslate) { my $currentcomment = shift @eachcomment; next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment)); } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### my $lineno = 1; my $type = ''; while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg) { my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5); while ($pre =~ m/\n/g) { $lineno ++; } $lineno += length($newline); my @str_list = rfc822deb_split(length($underscore), $text); for my $str (@str_list) { $strcount++; $messages{$str} = []; $loc{$str} = $lineno; $count{$str} = $strcount; my $usercomment = ''; while($pre =~ s/(^|\n)#([^\n]*)$//s) { $usercomment = "\n" . $2 . $usercomment; } $comments{$str} = $tag . $usercomment; } $lineno += ($text =~ s/\n//g); } } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub type_quoted { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_glade { ### For translatable Glade XML files ### my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message"; while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) { # Glade sometimes uses tags that normally mark translatable things for # little bits of non-translatable content. We work around this by not # translating strings that only includes something like label4 or window1. $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/; } while ($input =~ /(..[^<]*)<\/items>/sg) { for my $item (split (/\n/, $1)) { $messages{entity_decode($item)} = []; } } ## handle new glade files while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/; if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) { $comments{entity_decode($3)} = entity_decode($2) ; } } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { my ($line, $i, $state, $str, $trcomment, $char); for $line (split(/\n/, $input)) { $i = 0; $state = 0; # 0 - nothing, 1 - string, 2 - translatable string while ($i < length($line)) { if (substr($line,$i,1) eq "\"") { if ($state == 2) { $comments{$str} = $trcomment if ($trcomment); $messages{$str} = []; $str = ''; $state = 0; $trcomment = ""; } elsif ($state == 1) { $str = ''; $state = 0; $trcomment = ""; } else { $state = 1; $str = ''; if ($i>0 && substr($line,$i-1,1) eq '_') { $state = 2; } } } elsif (!$state) { if (substr($line,$i,1) eq ";") { $trcomment = substr($line,$i+1); $trcomment =~ s/^;*\s*//; $i = length($line); } elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) { $trcomment = ""; } } else { if (substr($line,$i,1) eq "\\") { $char = substr($line,$i+1,1); if ($char ne "\"" && $char ne "\\") { $str = $str . "\\"; } $i++; } $str = $str . substr($line,$i,1); } $i++; } } } sub msg_write { my @msgids; if (%count) { @msgids = sort { $count{$a} <=> $count{$b} } keys %count; } else { @msgids = sort keys %messages; } for my $message (@msgids) { my $offsetlines = 1; $offsetlines++ if $message =~ /%/; if (defined ($comments{$message})) { while ($comments{$message} =~ m/\n/g) { $offsetlines++; } } print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n" if defined $loc{$message}; print OUT "/* ".$comments{$message}." */\n" if defined $comments{$message}; print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/; my @lines = split (/\n/, $message, -1); for (my $n = 0; $n < @lines; $n++) { if ($n == 0) { print OUT "char *s = N_(\""; } else { print OUT " \""; } print OUT escape($lines[$n]); if ($n < @lines - 1) { print OUT "\\n\"\n"; } else { print OUT "\");\n"; } } } } ntfs-config-1.0.1/intltool-merge.in0000644000175000017500000010714110646710024014144 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Merger # # Copyright (C) 2000, 2003 Free Software Foundation. # Copyright (C) 2000, 2001 Eazel, Inc # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Maciej Stachowiak # Kenneth Christiansen # Darin Adler # # Proper XML UTF-8'ification written by Cyrille Chepelov # ## Release information my $PROGRAM = "intltool-merge"; my $PACKAGE = "intltool"; my $VERSION = "0.35.5"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; use File::Basename; my $must_end_tag = -1; my $last_depth = -1; my $translation_depth = -1; my @tag_stack = (); my @entered_tag = (); my @translation_strings = (); my $leading_space = ""; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $BA_STYLE_ARG = 0; my $XML_STYLE_ARG = 0; my $KEYS_STYLE_ARG = 0; my $DESKTOP_STYLE_ARG = 0; my $SCHEMAS_STYLE_ARG = 0; my $RFC822DEB_STYLE_ARG = 0; my $QUOTED_STYLE_ARG = 0; my $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 0; my $MULTIPLE_OUTPUT = 0; my $cache_file; ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "quiet|q" => \$QUIET_ARG, "oaf-style|o" => \$BA_STYLE_ARG, ## for compatibility "ba-style|b" => \$BA_STYLE_ARG, "xml-style|x" => \$XML_STYLE_ARG, "keys-style|k" => \$KEYS_STYLE_ARG, "desktop-style|d" => \$DESKTOP_STYLE_ARG, "schemas-style|s" => \$SCHEMAS_STYLE_ARG, "rfc822deb-style|r" => \$RFC822DEB_STYLE_ARG, "quoted-style" => \$QUOTED_STYLE_ARG, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "multiple-output|m" => \$MULTIPLE_OUTPUT, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); my $iconv = $ENV{"ICONV"} || $ENV{"INTLTOOL_ICONV"} || "@INTLTOOL_ICONV@"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); # Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; # XML quoted string contents my $q = "[^\\\"]*"; ## Check for options. if ($VERSION_ARG) { &print_version; } elsif ($HELP_ARG) { &print_help; } elsif ($BA_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_output; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } elsif ($QUOTED_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; "ed_merge_translations; &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print <<_EOF_; ${PROGRAM} (${PACKAGE}) ${VERSION} Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen. Copyright (C) 2000-2003 Free Software Foundation, Inc. Copyright (C) 2000-2001 Eazel, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub print_help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE Generates an output file that includes some localized attributes from an untranslated source file. Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style --quoted-style includes translations in the quoted string style -x, --xml-style includes translations in the standard xml style Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually \$top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub print_error { print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub print_message { print "Merging translations into $OUTFILE.\n" unless $QUIET_ARG; } sub preparation { $PO_DIR = $ARGV[0]; $FILE = $ARGV[1]; $OUTFILE = $ARGV[2]; &gather_po_files; &get_translation_database; } # General-purpose code for looking up translations in .po files sub po_file2lang { my ($tmp) = @_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub gather_po_files { for my $po_file (glob "$PO_DIR/*.po") { $po_files_by_lang{po_file2lang($po_file)} = $po_file; } } sub get_local_charset { my ($encoding) = @_; my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "@INTLTOOL_LIBDIR@/charset.alias"; # seek character encoding aliases in charset.alias (glib) if (open CHARSET_ALIAS, $alias_file) { while () { next if /^\#/; return $1 if (/^\s*([-._a-zA-Z0-9]+)\s+$encoding\b/i) } close CHARSET_ALIAS; } # if not found, return input string return $encoding; } sub get_po_encoding { my ($in_po_file) = @_; my $encoding = ""; open IN_PO_FILE, $in_po_file or die; while () { ## example: "Content-Type: text/plain; charset=ISO-8859-1\n" if (/Content-Type\:.*charset=([-a-zA-Z0-9]+)\\n/) { $encoding = $1; last; } } close IN_PO_FILE; if (!$encoding) { print STDERR "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n" unless $QUIET_ARG; $encoding = "ISO-8859-1"; } system ("$iconv -f $encoding -t UTF-8 <$devnull 2>$devnull"); if ($?) { $encoding = get_local_charset($encoding); } return $encoding } sub utf8_sanity_check { print STDERR "Warning: option --pass-through has been removed.\n" if $PASS_THROUGH_ARG; $UTF8_ARG = 1; } sub get_translation_database { if ($cache_file) { &get_cached_translation_database; } else { &create_translation_database; } } sub get_newest_po_age { my $newest_age; foreach my $file (values %po_files_by_lang) { my $file_age = -M $file; $newest_age = $file_age if !$newest_age || $file_age < $newest_age; } $newest_age = 0 if !$newest_age; return $newest_age; } sub create_cache { print "Generating and caching the translation database\n" unless $QUIET_ARG; &create_translation_database; open CACHE, ">$cache_file" || die; print CACHE join "\x01", %translations; close CACHE; } sub load_cache { print "Found cached translation database\n" unless $QUIET_ARG; my $contents; open CACHE, "<$cache_file" || die; { local $/; $contents = ; } close CACHE; %translations = split "\x01", $contents; } sub get_cached_translation_database { my $cache_file_age = -M $cache_file; if (defined $cache_file_age) { if ($cache_file_age <= &get_newest_po_age) { &load_cache; return; } print "Found too-old cached translation database\n" unless $QUIET_ARG; } &create_cache; } sub create_translation_database { for my $lang (keys %po_files_by_lang) { my $po_file = $po_files_by_lang{$lang}; if ($UTF8_ARG) { my $encoding = get_po_encoding ($po_file); if (lc $encoding eq "utf-8") { open PO_FILE, "<$po_file"; } else { print "NOTICE: $po_file is not in UTF-8 but $encoding, converting...\n" unless $QUIET_ARG;; open PO_FILE, "$iconv -f $encoding -t UTF-8 $po_file|"; } } else { open PO_FILE, "<$po_file"; } my $nextfuzzy = 0; my $inmsgid = 0; my $inmsgstr = 0; my $msgid = ""; my $msgstr = ""; while () { $nextfuzzy = 1 if /^#, fuzzy/; if (/^msgid "((\\.|[^\\]+)*)"/ ) { $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; $msgid = ""; $msgstr = ""; if ($nextfuzzy) { $inmsgid = 0; } else { $msgid = unescape_po_string($1); $inmsgid = 1; } $inmsgstr = 0; $nextfuzzy = 0; } if (/^msgstr "((\\.|[^\\]+)*)"/) { $msgstr = unescape_po_string($1); $inmsgstr = 1; $inmsgid = 0; } if (/^"((\\.|[^\\]+)*)"/) { $msgid .= unescape_po_string($1) if $inmsgid; $msgstr .= unescape_po_string($1) if $inmsgstr; } } $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; } } sub finalize { } sub unescape_one_sequence { my ($sequence) = @_; return "\\" if $sequence eq "\\\\"; return "\"" if $sequence eq "\\\""; return "\n" if $sequence eq "\\n"; return "\r" if $sequence eq "\\r"; return "\t" if $sequence eq "\\t"; return "\b" if $sequence eq "\\b"; return "\f" if $sequence eq "\\f"; return "\a" if $sequence eq "\\a"; return chr(11) if $sequence eq "\\v"; # vertical tab, see ascii(7) return chr(hex($1)) if ($sequence =~ /\\x([0-9a-fA-F]{2})/); return chr(oct($1)) if ($sequence =~ /\\([0-7]{3})/); # FIXME: Is \0 supported as well? Kenneth and Rodney don't want it, see bug #48489 return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\x[0-9a-fA-F]{2}|\\[0-7]{3}|\\.)/unescape_one_sequence($1)/eg; return $string; } ## NOTE: deal with < - < but not > - > because it seems its ok to have ## > in the entity. For further info please look at #84738. sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/</; close INPUT; } open OUTPUT, ">$OUTFILE" or die "can't open $OUTFILE: $!"; # Binmode so that selftest works ok if using a native Win32 Perl... binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ s|^(.*?)([ \t]*<\s*$w+\s+($w+\s*=\s*"$q"\s*)+/?>)([ \t]*\n)?||s) { print OUTPUT $1; my $node = $2 . "\n"; my @strings = (); $_ = $node; while (s/(\s)_($w+\s*=\s*"($q)")/$1$2/s) { push @strings, entity_decode($3); } print OUTPUT; my %langs; for my $string (@strings) { for my $lang (keys %po_files_by_lang) { $langs{$lang} = 1 if $translations{$lang, $string}; } } for my $lang (sort keys %langs) { $_ = $node; s/(\sname\s*=\s*)"($q)"/$1"$2-$lang"/s; s/(\s)_($w+\s*=\s*")($q)"/$1 . $2 . entity_encoded_translation($lang, $3) . '"'/seg; print OUTPUT; } } print OUTPUT $source; close OUTPUT; } ## XML (non-bonobo-activation) merge code # Process tag attributes # Only parameter is a HASH containing attributes -> values mapping sub getAttributeString { my $sub = shift; my $do_translate = shift || 0; my $language = shift || ""; my $result = ""; my $translate = shift; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; if ($do_translate && $key =~ /^_/) { $key =~ s|^_||g; if ($language) { # Handle translation my $decode_string = entity_decode($string); my $translation = $translations{$language, $decode_string}; if ($translation) { $translation = entity_encode($translation); $string = $translation; } $$translate = 2; } else { $$translate = 2 if ($translate && (!$$translate)); # watch not to "overwrite" $translate } } $result .= " $key=$quote$string$quote"; } return $result; } # Returns a translatable string from XML node, it works on contents of every node in XML::Parser tree sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; if ($singlelang) { my $oldMO = $MULTIPLE_OUTPUT; $MULTIPLE_OUTPUT = 1; traverse($fh, $type, $rest, $language, $spacepreserve); $MULTIPLE_OUTPUT = $oldMO; } else { traverse($fh, $type, $rest, $language, $spacepreserve); } $index += 2; } } sub isWellFormedXmlFragment { my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $fragment = shift; return 0 if (!$fragment); $fragment = "$fragment"; my $xp = new XML::Parser(Style => 'Tree'); my $tree = 0; eval { $tree = $xp->parse($fragment); }; return $tree; } sub traverse { my $fh = shift; my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if (!$nodename) { if ($content =~ /^[\s]*$/) { $leading_space .= $content; } print $fh $content; } else { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); print $fh "<$nodename", $outattr; if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup || $translate == 2) { my $translation = $translations{$language, $lookup} if isWellFormedXmlFragment($translations{$language, $lookup}); if ($MULTIPLE_OUTPUT && ($translation || $translate == 2)) { $translation = $lookup if (!$translation); print $fh " xml:lang=\"", $language, "\"" if $language; print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; return; # this means there will be no same translation with xml:lang="$language"... # if we want them both, just remove this "return" } else { print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $lookup; } print $fh ""; } } else { print $fh "/>"; } for my $lang (sort keys %po_files_by_lang) { if ($MULTIPLE_OUTPUT && $lang ne "$language") { next; } if ($lang) { # Handle translation # my $translate = 0; my $localattrs = getAttributeString($attrs, 1, $lang, \$translate); my $translation = $translations{$lang, $lookup} if isWellFormedXmlFragment($translations{$lang, $lookup}); if ($translate && !$translation) { $translation = $lookup; } if ($translation || $translate) { print $fh "\n"; $leading_space =~ s/.*\n//g; print $fh $leading_space; print $fh "<", $nodename, " xml:lang=\"", $lang, "\"", $localattrs, ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $lang, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; } } } } else { my $count = scalar(@all); if ($count > 0) { print $fh ">"; my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } print $fh ""; } else { print $fh "/>"; } } } } sub intltool_tree_comment { my $expat = shift; my $data = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 1 => $data; } sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } sub readXml { my $filename = shift || return; if(!-f $filename) { die "ERROR Cannot find filename: $filename\n"; } my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); my $tree = $xp->parsefile($filename); # Hello thereHowdydo # would be: # [foo, [{}, head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, [{}, # 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub print_header { my $infile = shift; my $fh = shift; my $source; if(!-f $infile) { die "ERROR Cannot find filename: $infile\n"; } print $fh qq{\n}; { local $/; open DOCINPUT, "<${FILE}" or die; $source = ; close DOCINPUT; } if ($source =~ /()/s) { print $fh "$1\n"; } elsif ($source =~ /(]*>)/s) { print $fh "$1\n"; } } sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } sub xml_merge_output { my $source; if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree, $lang); close OUTPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } } open OUTPUT, ">$OUTFILE" or die "Cannot open $OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED $OUTFILE\n" unless $QUIET_ARG; } sub keys_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/${1}[$lang]=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub schemas_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; # FIXME: support attribute translations # Empty nodes never need translation, so unmark all of them. # For example, <_foo/> is just replaced by . $source =~ s|<\s*_($w+)\s*/>|<$1/>|g; while ($source =~ s/ (.*?) (\s+)((\s*) (\s*(?:\s*)?(.*?)\s*<\/default>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/short>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/long>)?(\s*) <\/locale>) //sx) { print OUTPUT $1; my $locale_start_spaces = $2 ? $2 : ''; my $default_spaces = $4 ? $4 : ''; my $short_spaces = $7 ? $7 : ''; my $long_spaces = $10 ? $10 : ''; my $locale_end_spaces = $13 ? $13 : ''; my $c_default_block = $3 ? $3 : ''; my $default_string = $6 ? $6 : ''; my $short_string = $9 ? $9 : ''; my $long_string = $12 ? $12 : ''; print OUTPUT "$locale_start_spaces$c_default_block"; $default_string =~ s/\s+/ /g; $default_string = entity_decode($default_string); $short_string =~ s/\s+/ /g; $short_string = entity_decode($short_string); $long_string =~ s/\s+/ /g; $long_string = entity_decode($long_string); for my $lang (sort keys %po_files_by_lang) { my $default_translation = $translations{$lang, $default_string}; my $short_translation = $translations{$lang, $short_string}; my $long_translation = $translations{$lang, $long_string}; next if (!$default_translation && !$short_translation && !$long_translation); print OUTPUT "\n$locale_start_spaces"; print OUTPUT "$default_spaces"; if ($default_translation) { $default_translation = entity_encode($default_translation); print OUTPUT "$default_translation"; } print OUTPUT "$short_spaces"; if ($short_translation) { $short_translation = entity_encode($short_translation); print OUTPUT "$short_translation"; } print OUTPUT "$long_spaces"; if ($long_translation) { $long_translation = entity_encode($long_translation); print OUTPUT "$long_translation"; } print OUTPUT "$locale_end_spaces"; } } print OUTPUT $source; close OUTPUT; } sub rfc822deb_merge_translations { my %encodings = (); for my $lang (keys %po_files_by_lang) { $encodings{$lang} = ($UTF8_ARG ? 'UTF-8' : get_po_encoding($po_files_by_lang{$lang})); } my $source; $Text::Wrap::huge = 'overflow'; $Text::Wrap::break = qr/\n|\s(?=\S)/; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ /(^|\n+)(_*)([^:\s]+)(:[ \t]*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $underscore = length($2); next if $underscore eq 0 && $non_translated_line =~ /^#/; # Remove [] dummy strings my $stripped = $string; $stripped =~ s/\[\s[^\[\]]*\],/,/g if $underscore eq 2; $stripped =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $stripped; print OUTPUT $sep.$non_translated_line; if ($underscore) { my @str_list = rfc822deb_split($underscore, $string); for my $lang (sort keys %po_files_by_lang) { my $is_translated = 1; my $str_translated = ''; my $first = 1; for my $str (@str_list) { my $translation = $translations{$lang, $str}; if (!$translation) { $is_translated = 0; last; } # $translation may also contain [] dummy # strings, mostly to indicate an empty string $translation =~ s/\[\s[^\[\]]*\]$//; if ($first) { if ($underscore eq 2) { $str_translated .= $translation; } else { $str_translated .= Text::Tabs::expand($translation) . "\n"; } } else { if ($underscore eq 2) { $str_translated .= ', ' . $translation; } else { $str_translated .= Text::Tabs::expand( Text::Wrap::wrap(' ', ' ', $translation)) . "\n .\n"; } } $first = 0; # To fix some problems with Text::Wrap::wrap $str_translated =~ s/(\n )+\n/\n .\n/g; } next unless $is_translated; $str_translated =~ s/\n \.\n$//; $str_translated =~ s/\s+$//; $_ = $non_translated_line; s/^(\w+):\s*.*/$sep${1}-$lang.$encodings{$lang}: $str_translated/s; print OUTPUT; } } } print OUTPUT "\n"; close OUTPUT; close INPUT; } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub quoted_translation { my ($lang, $string) = @_; $string =~ s/\\\"/\"/g; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $translation =~ s/\"/\\\"/g; return $translation } sub quoted_merge_translations { if (!$MULTIPLE_OUTPUT) { print "Quoted only supports Multiple Output.\n"; exit(1); } for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { s/\"(([^\"]|\\\")*[^\\\"])\"/"\"" . "ed_translation($lang, $1) . "\""/ge; print OUTPUT; } close OUTPUT; close INPUT; } } ntfs-config-1.0.1/config.sub0000755000175000017500000007746010627104013012642 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-09-20' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file 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. # Please send patches to . Submit a context # diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16c) basic_machine=cr16c-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; # I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; mvs) basic_machine=i370-ibm os=-mvs ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tic55x | c55x*) basic_machine=tic55x-unknown os=-coff ;; tic6x | c6x*) basic_machine=tic6x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 # This also exists in the configure program, but was not the # default. # os=-sunos4 ;; m68*-cisco) os=-aout ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: ntfs-config-1.0.1/aclocal.m40000644000175000017500000020706510646710025012522 00000000000000# generated automatically by aclocal 1.7.9 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 # 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 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # AM_PATH_PYTHON_VERSION(ABI-VERSION1, [MINIMUM-VERSION1 [, ABI-VERSION2, [MINIMUM-VERSION2 ...]]]) # # An alternative to AM_PATH_PYTHON that checks for specific python ABI/version pairs. # Example: # AM_PATH_PYTHON_VERSION(2.3, 2.3.5, 2.4, 2.4.0) # checks for a python2.3 binary returning python version >= 2.3.5, and # if that fails it looks for python2.4 containing version >= 2.4.0 # It aborts configure with an error if no statisfying version is found. # Env. var. PYTHON can be used to point a specific/laternate version to configure. AC_DEFUN([AM_PATH_PYTHON_VERSION], [ m4_pattern_allow([m4_shift]) _python_save="$PYTHON" dnl Find a Python interpreter with corresponding ABI version. m4_define(PYTHON_var, PYTHON[]m4_translit($1,[.],[_])) if test -z "$PYTHON"; then AC_PATH_PROG(PYTHON_var, python$1, []) else PYTHON_var="$PYTHON" fi PYTHON="$PYTHON_var" AC_SUBST(PYTHON) if test -n "$PYTHON"; then m4_if([$2],[],[ ], [ dnl A version check is needed. AC_MSG_CHECKING([whether $PYTHON version is >= $2]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$2], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT([no]); PYTHON=""]) ]) fi if test -z "$PYTHON"; then dnl if more arguments, shift/recurse, else fail m4_if([$3],[],[ AC_MSG_ERROR([no suitable Python interpreter found]) ], [ PYTHON="$_python_save" AM_PATH_PYTHON_VERSION(m4_shift(m4_shift($@))) ]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) fi ]) # Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # AM_PATH_PYTHON([MINIMUM-VERSION]) # Adds support for distributing Python modules and packages. To # install modules, copy them to $(pythondir), using the python_PYTHON # automake variable. To install a package with the same name as the # automake package, install to $(pkgpythondir), or use the # pkgpython_PYTHON automake variable. # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as # locations to install python extension modules (shared libraries). # Another macro is required to find the appropriate flags to compile # extension modules. # If your package is configured with a different prefix to python, # users will have to add the install directory to the PYTHONPATH # environment variable, or create a .pth file (see the python # documentation for details). # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will # cause an error if the version of python installed on the system # doesn't meet the requirement. MINIMUM-VERSION should consist of # numbers and dots only. AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 1.5 are not dnl supported because the default installation locations changed from dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages dnl in 1.5. m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5]) m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST) am_display_PYTHON=python ], [ dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) else # Otherwise, try each interpreter until we find one that satisfies # VERSION. AC_CACHE_CHECK([for a Python interpreter with version >= $1], [am_cv_pathless_PYTHON],[ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST : ; do if test "$am_cv_pathless_PYTHON" = : ; then AC_MSG_ERROR([no suitable Python interpreter found]) fi AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) done]) # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) am_display_PYTHON=$am_cv_pathless_PYTHON fi ]) dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) ]) # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # hexversion has been introduced in Python 1.5.2; it's probably not # worth to support older versions (1.5.1 was released on October 31, 1998). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) # Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Do all the work for Automake. -*- Autoconf -*- # 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. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 10 AC_PREREQ([2.54]) # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow # the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl # 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_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_MISSING_PROG(AMTAR, tar) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP # 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([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 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 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.7"]) # 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.7.9])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # _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. # # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # 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)]) # -*- Autoconf -*- # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 3 # 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 ]) # AM_AUX_DIR_EXPAND # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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. # Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50]) AC_DEFUN([AM_AUX_DIR_EXPAND], [ # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. 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)]) # AM_PROG_INSTALL_STRIP # Copyright 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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])]) # -*- Autoconf -*- # Copyright (C) 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 1 # 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])]) # serial 5 -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # 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 : > 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 # (even with -Werror). So we grep stderr for any message # that says an option was ignored. if grep 'ignoring option' 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 builds --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 1999, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. #serial 2 # _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 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue # Extract the definition of DEP_FILES from the Makefile without # running `make'. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` test -z "$DEPDIR" && continue # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n -e '/^U = / s///p' < "$mf"` test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" # 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 -e ' /^DEP_FILES = .*\\\\$/ { s/^DEP_FILES = // :loop s/\\\\$// p n /\\\\$/ b loop p } /^DEP_FILES = / s/^DEP_FILES = //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"]) ]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 # 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 ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright 1997, 2000, 2001 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 5 AC_PREREQ(2.52) # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [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])]) # Add --enable-maintainer-mode option to configure. # From Jim Meyering # Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # serial 2 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [AC_REQUIRE([AC_CANONICAL_HOST])dnl USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([msgfmt -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.in. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_in,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 35 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac if test -n "$1"; then AC_MSG_CHECKING(for intltool >= $1) INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` ] AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' AC_SUBST(INTLTOOL_DESKTOP_RULE) AC_SUBST(INTLTOOL_DIRECTORY_RULE) AC_SUBST(INTLTOOL_KEYS_RULE) AC_SUBST(INTLTOOL_PROP_RULE) AC_SUBST(INTLTOOL_OAF_RULE) AC_SUBST(INTLTOOL_PONG_RULE) AC_SUBST(INTLTOOL_SERVER_RULE) AC_SUBST(INTLTOOL_SHEET_RULE) AC_SUBST(INTLTOOL_SOUNDLIST_RULE) AC_SUBST(INTLTOOL_UI_RULE) AC_SUBST(INTLTOOL_XAM_RULE) AC_SUBST(INTLTOOL_KBD_RULE) AC_SUBST(INTLTOOL_XML_RULE) AC_SUBST(INTLTOOL_XML_NOMERGE_RULE) AC_SUBST(INTLTOOL_CAVES_RULE) AC_SUBST(INTLTOOL_SCHEMAS_RULE) AC_SUBST(INTLTOOL_THEME_RULE) AC_SUBST(INTLTOOL_SERVICE_RULE) # Use the tools built into the package, not the ones that are installed. AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract') AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge') AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update') AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found; required for intltool]) fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then AC_MSG_ERROR([perl 5.x required for intltool]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv) AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt) AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge) AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext) # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) dnl The following is very similar to dnl dnl AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update]) dnl dnl with the following slight differences: dnl - the *.in files are in ac_aux_dir, dnl - if the file haven't changed upon reconfigure, it's not touched, dnl - the evaluation of the third parameter enables a hack which computes dnl the actual value of $libdir, dnl - the user sees "executing intltool commands", instead of dnl "creating intltool-extract" and such. dnl dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were dnl a reason for it. AC_CONFIG_COMMANDS([intltool], [ for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ], [INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}']) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] if test ! -f "$1/Makefile"; then AC_MSG_ERROR([$1/Makefile is not ready.]) fi mv "$1/Makefile" "$1/Makefile.tmp" [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.tmp" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) ntfs-config-1.0.1/intltool-update.in0000644000175000017500000006732710646710024014342 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Updater # # Copyright (C) 2000-2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Kenneth Christiansen # Maciej Stachowiak # Darin Adler ## Release information my $PROGRAM = "intltool-update"; my $VERSION = "0.35.5"; my $PACKAGE = "intltool"; ## Loaded modules use strict; use Getopt::Long; use Cwd; use File::Copy; use File::Find; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $DIST_ARG = 0; my $POT_ARG = 0; my $HEADERS_ARG = 0; my $MAINTAIN_ARG = 0; my $REPORT_ARG = 0; my $VERBOSE = 0; my $GETTEXT_PACKAGE = ""; my $OUTPUT_FILE = ""; my @languages; my %varhash = (); my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_support = "xml(?:\\.in)*|". # http://www.w3.org/XML/ (Note: .in is not required) "ui|". # Bonobo specific - User Interface desc. files "lang|". # ? "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) "scm(?:\\.in)*|". # ? (Note: .in is not required) "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files "etspec|". # ? "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+"; # GOK specific. my $ini_support = "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "desktop(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "caves(?:\\.in)+|". # GNOME Games specific "directory(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "soundlist(?:\\.in)+|". # GNOME specific "keys(?:\\.in)+|". # GNOME Mime database specific "theme(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "service(?:\\.in)+"; # DBus specific my $buildin_gettext_support = "c|y|cs|cc|cpp|c\\+\\+|h|hh|gob|py"; ## Always flush buffer when printing $| = 1; ## Sometimes the source tree will be rooted somewhere else. my $SRCDIR = $ENV{"srcdir"} || "."; my $POTFILES_in; $POTFILES_in = "<$SRCDIR/POTFILES.in"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "dist|d" => \$DIST_ARG, "pot|p" => \$POT_ARG, "headers|s" => \$HEADERS_ARG, "maintain|m" => \$MAINTAIN_ARG, "report|r" => \$REPORT_ARG, "verbose|x" => \$VERBOSE, "gettext-package|g=s" => \$GETTEXT_PACKAGE, "output-file|o=s" => \$OUTPUT_FILE, ) or &Console_WriteError_InvalidOption; &Console_Write_IntltoolHelp if $HELP_ARG; &Console_Write_IntltoolVersion if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &Console_Write_IntltoolHelp if $arg_count > 1; my $PKGNAME = FindPackageName (); # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || $PKGNAME || "unknown"; if ($POT_ARG) { &GenerateHeaders; &GeneratePOTemplate; } elsif ($HEADERS_ARG) { &GenerateHeaders; } elsif ($MAINTAIN_ARG) { &FindLeftoutFiles; } elsif ($REPORT_ARG) { &GenerateHeaders; &GeneratePOTemplate; &Console_Write_CoverageReport; } elsif ((defined $ARGV[0]) && $ARGV[0] =~ /^[a-z]/) { my $lang = $ARGV[0]; ## Report error if the language file supplied ## to the command line is non-existent &Console_WriteError_NotExisting("$SRCDIR/$lang.po") if ! -s "$SRCDIR/$lang.po"; if (!$DIST_ARG) { print "Working, please wait..." if $VERBOSE; &GenerateHeaders; &GeneratePOTemplate; } &POFile_Update ($lang, $OUTPUT_FILE); &Console_Write_TranslationStatus ($lang, $OUTPUT_FILE); } else { &Console_Write_IntltoolHelp; } exit; ######### sub Console_Write_IntltoolVersion { print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler. Copyright (C) 2000-2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } sub Console_Write_IntltoolHelp { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... LANGCODE Updates PO template files and merge them with the translations. Mode of operation (only one is allowed): -p, --pot generate the PO template only -s, --headers generate the header files in POTFILES.in -m, --maintain search for left out files from POTFILES.in -r, --report display a status report for the module -d, --dist merge LANGCODE.po with existing PO template Extra options: -g, --gettext-package=NAME override PO template name, useful with --pot -o, --output-file=FILE write merged translation to FILE -x, --verbose display lots of feedback --help display this help and exit --version output version information and exit Examples of use: ${PROGRAM} --pot just create a new PO template ${PROGRAM} xy create new PO template and merge xy.po with it Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } sub echo_n { my $str = shift; my $ret = `echo "$str"`; $ret =~ s/\n$//; # do we need the "s" flag? return $ret; } sub POFile_DetermineType ($) { my $type = $_; my $gettext_type; my $xml_regex = "(?:" . $xml_support . ")"; my $ini_regex = "(?:" . $ini_support . ")"; my $buildin_regex = "(?:" . $buildin_gettext_support . ")"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } # bucket types elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /$buildin_regex$/) { $gettext_type="buildin"; } else { $gettext_type="unknown"; } return "gettext\/$gettext_type"; } sub TextFile_DetermineEncoding ($) { my $gettext_code="ASCII"; # All files are ASCII by default my $filetype=`file $_ | cut -d ' ' -f 2`; if ($? eq "0") { if ($filetype =~ /^(ISO|UTF)/) { chomp ($gettext_code = $filetype); } elsif ($filetype =~ /^XML/) { $gettext_code="UTF-8"; # We asume that .glade and other .xml files are UTF-8 } } return $gettext_code; } sub isNotValidMissing { my ($file) = @_; return if $file =~ /^\{arch\}\/.*$/; return if $file =~ /^$varhash{"PACKAGE"}-$varhash{"VERSION"}\/.*$/; } sub FindLeftoutFiles { my (@buf_i18n_plain, @buf_i18n_xml, @buf_i18n_xml_unmarked, @buf_i18n_ini, @buf_potfiles, @buf_potfiles_ignore, @buf_allfiles, @buf_allfiles_sorted, @buf_potfiles_sorted, @buf_potfiles_ignore_sorted ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, ".."; open POTFILES, $POTFILES_in or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep !/^(#|\s*$)/, ; close POTFILES; foreach (@buf_potfiles) { s/^\[.*]\s*//; } print "Searching for missing translatable files...\n" if $VERBOSE; ## Check if we should ignore some found files, when ## comparing with POTFILES.in foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") { (-s "$SRCDIR/$ignore") or next; if ("$ignore" eq "POTFILES.ignore") { print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". "content of this file to POTFILES.skip.\n"; } print "Found $ignore: Ignoring files...\n" if $VERBOSE; open FILE, "<$SRCDIR/$ignore" or die "ERROR: Failed to open $SRCDIR/$ignore!\n"; while () { push @buf_potfiles_ignore, $_ unless /^(#|\s*$)/; } close FILE; @buf_potfiles_ignore_sorted = sort (@buf_potfiles_ignore); } foreach my $file (@buf_i18n_plain) { my $in_comment = 0; my $in_macro = 0; open FILE, "<$file"; while () { # Handle continued multi-line comment. if ($in_comment) { next unless s-.*\*/--; $in_comment = 0; } # Handle continued macro. if ($in_macro) { $in_macro = 0 unless /\\$/; next; } # Handle start of macro (or any preprocessor directive). if (/^\s*\#/) { $in_macro = 1 if /^([^\\]|\\.)*\\$/; next; } # Handle comments and quoted text. while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy { my $match = $1; if ($match eq "/*") { if (!s-/\*.*?\*/--) { s-/\*.*--; $in_comment = 1; } } elsif ($match eq "//") { s-//.*--; } else # ' or " { if (!s-$match([^\\]|\\.)*?$match-QUOTEDTEXT-) { warn "mismatched quotes at line $. in $file\n"; s-$match.*--; } } } if (/\w\.GetString *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } ## N_ Q_ and _ are the three macros defined in gi8n.h if (/[NQ]?_ *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml) { open FILE, "<$file"; while () { # FIXME: share the pattern matching code with intltool-extract if (/\s_[-A-Za-z0-9._:]+\s*=\s*\"([^"]+)\"/ || /<_[^>]+>/ || /translatable=\"yes\"/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_ini) { open FILE, "<$file"; while () { if (/_(.*)=/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml_unmarked) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } } @buf_allfiles_sorted = sort (@buf_allfiles); @buf_potfiles_sorted = sort (@buf_potfiles); my %in2; foreach (@buf_potfiles_sorted) { $in2{$_} = 1; } foreach (@buf_potfiles_ignore_sorted) { $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { if (!exists($in2{$_})) { push @result, $_ } } my @buf_potfiles_notexist; foreach (@buf_potfiles_sorted) { chomp (my $dummy = $_); if ("$dummy" ne "" and !(-f "$SRCDIR/../$dummy" or -f "../$dummy")) { push @buf_potfiles_notexist, $_; } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result + @buf_potfiles_notexist > 0) { if (@result) { print "\n" if $VERBOSE; unlink "missing"; open OUT, ">missing"; print OUT @result; close OUT; warn "\e[1mThe following files contain translations and are currently not in use. Please\e[0m\n". "\e[1mconsider adding these to the POTFILES.in file, located in the po/ directory.\e[0m\n\n"; print STDERR @result, "\n"; warn "If some of these files are left out on purpose then please add them to\n". "POTFILES.skip instead of POTFILES.in. A file \e[1m'missing'\e[0m containing this list\n". "of left out files has been written in the current directory.\n"; } if (@buf_potfiles_notexist) { unlink "notexist"; open OUT, ">notexist"; print OUT @buf_potfiles_notexist; close OUT; warn "\n" if ($VERBOSE or @result); warn "\e[1mThe following files do not exist anymore:\e[0m\n\n"; warn @buf_potfiles_notexist, "\n"; warn "Please remove them from POTFILES.in. A file \e[1m'notexist'\e[0m\n". "containing this list of absent files has been written in the current directory.\n"; } } ## If there is nothing to complain about, notify the user else { print "\nAll files containing translations are present in POTFILES.in.\n" if $VERBOSE; } } sub Console_WriteError_InvalidOption { ## Handle invalid arguments print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub isIntltoolExtractInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file >/dev/null") == 0)); return 0; } sub GenerateHeaders { my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract"; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! isIntltoolExtractInPath("$EXTRACT")) { print STDERR "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open (FILE, $POTFILES_in) or die "$PROGRAM: POTFILES.in not found.\n"; while () { chomp; next if /^\[\s*encoding/; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &POFile_DetermineType ($1); if (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE) { system ($EXTRACT, "--update", "--srcdir=$SRCDIR", "--type=$gettext_type", $filename); } else { system ($EXTRACT, "--update", "--type=$gettext_type", "--srcdir=$SRCDIR", "--quiet", $filename); } } } close FILE; } } # # Generate .pot file from POTFILES.in # sub GeneratePOTemplate { my $XGETTEXT = $ENV{"XGETTEXT"} || "@INTLTOOL_XGETTEXT@"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! -x $XGETTEXT) { print STDERR " *** xgettext is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Building $MODULE.pot...\n" if $VERBOSE; open INFILE, $POTFILES_in; unlink "POTFILES.in.temp"; open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing"); my $gettext_support_nonascii = 0; # checks for GNU gettext >= 0.12 my $dummy = `$XGETTEXT --version --from-code=UTF-8 >$devnull 2>$devnull`; if ($? == 0) { $gettext_support_nonascii = 1; } else { # urge everybody to upgrade gettext print STDERR "WARNING: This version of gettext does not support extracting non-ASCII\n". " strings. That means you should install a version of gettext\n". " that supports non-ASCII strings (such as GNU gettext >= 0.12),\n". " or have to let non-ASCII strings untranslated. (If there is any)\n"; } my $encoding = "ASCII"; my $forced_gettext_code; my @temp_headers; my $encoding_problem_is_reported = 0; while () { next if (/^#/ or /^\s*$/); chomp; my $gettext_code; if (/^\[\s*encoding:\s*(.*)\s*\]/) { $forced_gettext_code=$1; } elsif (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "../$_.h\n"; push @temp_headers, "../$_.h"; $gettext_code = &TextFile_DetermineEncoding ("../$_.h") if ($gettext_support_nonascii and not defined $forced_gettext_code); } else { print OUTFILE "$SRCDIR/../$_\n"; $gettext_code = &TextFile_DetermineEncoding ("$SRCDIR/../$_") if ($gettext_support_nonascii and not defined $forced_gettext_code); } next if (! $gettext_support_nonascii); if (defined $forced_gettext_code) { $encoding=$forced_gettext_code; } elsif (defined $gettext_code and "$encoding" ne "$gettext_code") { if ($encoding eq "ASCII") { $encoding=$gettext_code; } elsif ($gettext_code ne "ASCII") { # Only report once because the message is quite long if (! $encoding_problem_is_reported) { print STDERR "WARNING: You should use the same file encoding for all your project files,\n". " but $PROGRAM thinks that most of the source files are in\n". " $encoding encoding, while \"$_\" is (likely) in\n". " $gettext_code encoding. If you are sure that all translatable strings\n". " are in same encoding (say UTF-8), please \e[1m*prepend*\e[0m the following\n". " line to POTFILES.in:\n\n". " [encoding: UTF-8]\n\n". " and make sure that configure.in/ac checks for $PACKAGE >= 0.27 .\n". "(such warning message will only be reported once.)\n"; $encoding_problem_is_reported = 1; } } } } close OUTFILE; close INFILE; unlink "$MODULE.pot"; my @xgettext_argument=("$XGETTEXT", "--add-comments", "--directory\=\.", "--output\=$MODULE\.pot", "--files-from\=\.\/POTFILES\.in\.temp"); my $XGETTEXT_KEYWORDS = &FindPOTKeywords; push @xgettext_argument, $XGETTEXT_KEYWORDS; my $MSGID_BUGS_ADDRESS = &FindMakevarsBugAddress; push @xgettext_argument, "--msgid-bugs-address\=$MSGID_BUGS_ADDRESS" if $MSGID_BUGS_ADDRESS; push @xgettext_argument, "--from-code\=$encoding" if ($gettext_support_nonascii); push @xgettext_argument, $XGETTEXT_ARGS if $XGETTEXT_ARGS; my $xgettext_command = join ' ', @xgettext_argument; # intercept xgettext error message print "Running $xgettext_command\n" if $VERBOSE; my $xgettext_error_msg = `$xgettext_command 2>\&1`; my $command_failed = $?; unlink "POTFILES.in.temp"; print "Removing generated header (.h) files..." if $VERBOSE; unlink foreach (@temp_headers); print "done.\n" if $VERBOSE; if (! $command_failed) { if (! -e "$MODULE.pot") { print "None of the files in POTFILES.in contain strings marked for translation.\n" if $VERBOSE; } else { print "Wrote $MODULE.pot\n" if $VERBOSE; } } else { if ($xgettext_error_msg =~ /--from-code/) { # replace non-ASCII error message with a more useful one. print STDERR "ERROR: xgettext failed to generate PO template file because there is non-ASCII\n". " string marked for translation. Please make sure that all strings marked\n". " for translation are in uniform encoding (say UTF-8), then \e[1m*prepend*\e[0m the\n". " following line to POTFILES.in and rerun $PROGRAM:\n\n". " [encoding: UTF-8]\n\n"; } else { print STDERR "$xgettext_error_msg"; if (-e "$MODULE.pot") { # is this possible? print STDERR "ERROR: xgettext failed but still managed to generate PO template file.\n". " Please consult error message above if there is any.\n"; } else { print STDERR "ERROR: xgettext failed to generate PO template file. Please consult\n". " error message above if there is any.\n"; } } exit (1); } } sub POFile_Update { -f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n"; my $MSGMERGE = $ENV{"MSGMERGE"} || "@INTLTOOL_MSGMERGE@"; my ($lang, $outfile) = @_; print "Merging $SRCDIR/$lang.po with $MODULE.pot..." if $VERBOSE; my $infile = "$SRCDIR/$lang.po"; $outfile = "$SRCDIR/$lang.po" if ($outfile eq ""); # I think msgmerge won't overwrite old file if merge is not successful system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot"); } sub Console_WriteError_NotExisting { my ($file) = @_; ## Report error if supplied language file is non-existing print STDERR "$PROGRAM: $file does not exist!\n"; print STDERR "Try '$PROGRAM --help' for more information.\n"; exit; } sub GatherPOFiles { my @po_files = glob ("./*.po"); @languages = map (&POFile_GetLanguage, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub POFile_GetLanguage ($) { s/^(.*\/)?(.+)\.po$/$2/; return $_; } sub Console_Write_TranslationStatus { my ($lang, $output_file) = @_; my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@"; $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@"; &GatherPOFiles; foreach my $lang (@languages) { print "$lang: "; &POFile_Update ($lang, ""); } print "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print "$lang: "; system ("$MSGFMT", "-o", "$devnull", "--verbose", "$SRCDIR/$lang.po"); } } sub SubstituteVariable { my ($str) = @_; # always need to rewind file whenever it has been accessed seek (CONF, 0, 0); # cache each variable. varhash is global to we can add # variables elsewhere. while () { if (/^(\w+)=(.*)$/) { ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/; } } if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) { my $rest = $3; my $untouched = $1; my $sub = ""; # Ignore recursive definitions of variables $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; return SubstituteVariable ("$untouched$sub$rest"); } # We're using Perl backticks ` and "echo -n" here in order to # expand any shell escapes (such as backticks themselves) in every variable return echo_n ($str); } sub CONF_Handle_Open { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "Makevars") { my $makefile_source; local (*IN); open (IN, ") { if (/^top_builddir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_builddir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; if (-f "$src_dir" . "/configure.ac") { $conf_in = "$src_dir" . "/configure.ac" . "\n"; } else { $conf_in = "$src_dir" . "/configure.in" . "\n"; } last; } } close IN; $conf_in || die "Cannot find top_builddir in Makevars."; } elsif (-f "../configure.ac") { $conf_in = "../configure.ac"; } elsif (-f "../configure.in") { $conf_in = "../configure.in"; } else { my $makefile_source; local (*IN); open (IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } close IN; $conf_in || die "Cannot find top_srcdir in Makefile."; } open (CONF, "<$conf_in"); } else { print STDERR "$PROGRAM: Unable to proceed.\n" . "Make sure to run this script inside the po directory.\n"; exit; } } sub FindPackageName { my $version; my $domain = &FindMakevarsDomain; my $name = $domain || "untitled"; &CONF_Handle_Open; my $conf_source; { local (*IN); open (IN, "<&CONF") || return $name; seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; close IN; } # priority for getting package name: # 1. GETTEXT_PACKAGE # 2. first argument of AC_INIT (with >= 2 arguments) # 3. first argument of AM_INIT_AUTOMAKE (with >= 2 argument) # /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m # the \s makes this not work, why? if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } # \s makes this not work, why? $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m; # m4 macros AC_PACKAGE_NAME, AC_PACKAGE_VERSION etc. have same value # as corresponding $PACKAGE_NAME, $PACKAGE_VERSION etc. shell variables. $name =~ s/\bAC_PACKAGE_/\$PACKAGE_/g; $name = $domain if $domain; $name = SubstituteVariable ($name); $name =~ s/^["'](.*)["']$/$1/; return $name if $name; } sub FindPOTKeywords { my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_"; my $varname = "XGETTEXT_OPTIONS"; my $make_source; { local (*IN); open (IN, "; close IN; } $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m; return $keywords; } sub FindMakevarsDomain { my $domain = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m; $domain =~ s/^\s+//; $domain =~ s/\s+$//; return $domain; } sub FindMakevarsBugAddress { my $address = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $address = $1 if $makevars_source =~ /^MSGID_BUGS_ADDRESS[ ]*=\[?([^\n\]\$]+)/m; $address =~ s/^\s+//; $address =~ s/\s+$//; return $address; } ntfs-config-1.0.1/configure.in0000644000175000017500000000450410646707761013201 00000000000000dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.57]) AC_INIT(ntfs-config,[1.0.1],[http://flomertens.free.fr/ntfs-config/]) AM_INIT_AUTOMAKE() AM_MAINTAINER_MODE # Use PAM authentification when consolhelper is found AC_PATH_PROGS([CONSOLEHELPER], [consolehelper], no, [/sbin /usr/sbin $PATH]) AC_ARG_WITH(force-pam, [ --with-force-pam=(yes/no) Force the use or not of pam authentification via consolehelper.]) # If force-pam = yes, we install the file, even if consolehelper wasn't found if test "$with_force_pam" = "yes" && test "$CONSOLEHELPER" = "no"; then CONSOLEHELPER="/usr/bin/consolehelper" fi if test "$with_force_pam" = "no"; then CONSOLEHELPER="no" fi AM_CONDITIONAL([ENABLE_PAM], [test "$CONSOLEHELPER" != "no"]) if test "$CONSOLEHELPER" != "no"; then AC_SUBST([EXEC_PATH], [/bin]) else AC_SUBST([EXEC_PATH], [/sbin]) fi # Check path of some program AC_PATH_PROGS([MODPROBE], [modprobe], /sbin/modprobe, [/sbin /usr/sbin $PATH]) AC_PATH_PROGS([MOUNT], [mount], /bin/mount, [/sbin /usr/sbin $PATH]) AC_PATH_PROGS([UMOUNT], [umount], /bin/umount, [/sbin /usr/sbin $PATH]) AC_PATH_PROGS([BLKID], [blkid], /sbin/blkid, [/sbin /usr/sbin $PATH]) AC_PATH_PROGS([DMSETUP], [dmsetup], /sbin/dmsetup, [/sbin /usr/sbin $PATH]) GETTEXT_PACKAGE=ntfs-config AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package]) AM_GLIB_GNU_GETTEXT AC_PROG_INTLTOOL # Check for python > 2.4 and pygtk > 2.6 AM_PATH_PYTHON_VERSION(2.4, 2.4.0, 2.5, 2.5.0) AC_DEFUN([required_pygtk_version], [2.6.0]) AC_SUBST([PYOPTIONS], [-OOt]) AC_MSG_CHECKING(for pygtk >= required_pygtk_version installed) prog=" import pygtk; pygtk.require('2.0') import gobject assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.'))) " if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then AC_MSG_RESULT(found) else AC_MSG_RESULT(not found) AC_MSG_ERROR(required pygtk version not found) fi AC_CONFIG_FILES([ Makefile ntfs-config ntfs-config-root po/Makefile.in data/Makefile data/pam/Makefile data/pam/ntfs-config.consolhelper data/ntfs-config.desktop.in NtfsConfig/Makefile NtfsConfig/config.py NtfsConfig/Fstab/Makefile NtfsConfig/Fstab/Fstabconfig.py ]) AC_OUTPUT