Author: keichwa Date: 2015-09-29 12:47:28 +0200 (Tue, 29 Sep 2015) New Revision: 92876 Added: trunk/yast/af/COPYING trunk/yast/af/Makefile.am trunk/yast/af/README trunk/yast/af/configure.ac trunk/yast/af/po/Makefile.am trunk/yast/am/COPYING trunk/yast/am/Makefile.am trunk/yast/am/README trunk/yast/am/configure.ac trunk/yast/am/po/Makefile.am trunk/yast/ar/COPYING trunk/yast/ar/Makefile.am trunk/yast/ar/README trunk/yast/ar/configure.ac trunk/yast/ar/po/Makefile.am trunk/yast/ast/COPYING trunk/yast/ast/Makefile.am trunk/yast/ast/README trunk/yast/ast/configure.ac trunk/yast/ast/po/Makefile.am trunk/yast/be/COPYING trunk/yast/be/Makefile.am trunk/yast/be/README trunk/yast/be/configure.ac trunk/yast/be/po/Makefile.am trunk/yast/bg/COPYING trunk/yast/bg/Makefile.am trunk/yast/bg/README trunk/yast/bg/configure.ac trunk/yast/bg/po/Makefile.am trunk/yast/bn/COPYING trunk/yast/bn/Makefile.am trunk/yast/bn/README trunk/yast/bn/configure.ac trunk/yast/bn/po/Makefile.am trunk/yast/bs/COPYING trunk/yast/bs/Makefile.am trunk/yast/bs/README trunk/yast/bs/configure.ac trunk/yast/bs/po/Makefile.am trunk/yast/ca/COPYING trunk/yast/ca/Makefile.am trunk/yast/ca/README trunk/yast/ca/configure.ac trunk/yast/ca/po/Makefile.am trunk/yast/cs/COPYING trunk/yast/cs/Makefile.am trunk/yast/cs/README trunk/yast/cs/configure.ac trunk/yast/cs/po/Makefile.am trunk/yast/cy/COPYING trunk/yast/cy/Makefile.am trunk/yast/cy/README trunk/yast/cy/configure.ac trunk/yast/cy/po/Makefile.am trunk/yast/da/COPYING trunk/yast/da/Makefile.am trunk/yast/da/README trunk/yast/da/configure.ac trunk/yast/da/po/Makefile.am trunk/yast/de/COPYING trunk/yast/de/Makefile.am trunk/yast/de/README trunk/yast/de/configure.ac trunk/yast/de/po/Makefile.am trunk/yast/el/COPYING trunk/yast/el/Makefile.am trunk/yast/el/README trunk/yast/el/configure.ac trunk/yast/el/po/Makefile.am trunk/yast/en_GB/COPYING trunk/yast/en_GB/Makefile.am trunk/yast/en_GB/README trunk/yast/en_GB/configure.ac trunk/yast/en_GB/po/Makefile.am trunk/yast/en_US/COPYING trunk/yast/en_US/Makefile.am trunk/yast/en_US/README trunk/yast/en_US/configure.ac trunk/yast/en_US/po/Makefile.am trunk/yast/eo/COPYING trunk/yast/eo/Makefile.am trunk/yast/eo/README trunk/yast/eo/configure.ac trunk/yast/eo/po/Makefile.am trunk/yast/es/COPYING trunk/yast/es/Makefile.am trunk/yast/es/README trunk/yast/es/configure.ac trunk/yast/es/po/Makefile.am trunk/yast/et/COPYING trunk/yast/et/Makefile.am trunk/yast/et/README trunk/yast/et/configure.ac trunk/yast/et/po/Makefile.am trunk/yast/eu/COPYING trunk/yast/eu/Makefile.am trunk/yast/eu/README trunk/yast/eu/configure.ac trunk/yast/eu/po/Makefile.am trunk/yast/fa/COPYING trunk/yast/fa/Makefile.am trunk/yast/fa/README trunk/yast/fa/configure.ac trunk/yast/fa/po/Makefile.am trunk/yast/fi/COPYING trunk/yast/fi/Makefile.am trunk/yast/fi/README trunk/yast/fi/configure.ac trunk/yast/fi/po/Makefile.am trunk/yast/fr/COPYING trunk/yast/fr/Makefile.am trunk/yast/fr/README trunk/yast/fr/configure.ac trunk/yast/fr/po/Makefile.am trunk/yast/gl/COPYING trunk/yast/gl/Makefile.am trunk/yast/gl/README trunk/yast/gl/configure.ac trunk/yast/gl/po/Makefile.am trunk/yast/gu/COPYING trunk/yast/gu/Makefile.am trunk/yast/gu/README trunk/yast/gu/configure.ac trunk/yast/gu/po/Makefile.am trunk/yast/he/COPYING trunk/yast/he/Makefile.am trunk/yast/he/README trunk/yast/he/configure.ac trunk/yast/he/po/Makefile.am trunk/yast/hi/COPYING trunk/yast/hi/Makefile.am trunk/yast/hi/README trunk/yast/hi/configure.ac trunk/yast/hi/po/Makefile.am trunk/yast/hr/COPYING trunk/yast/hr/Makefile.am trunk/yast/hr/README trunk/yast/hr/configure.ac trunk/yast/hr/po/Makefile.am trunk/yast/hu/COPYING trunk/yast/hu/Makefile.am trunk/yast/hu/README trunk/yast/hu/configure.ac trunk/yast/hu/po/Makefile.am trunk/yast/id/COPYING trunk/yast/id/Makefile.am trunk/yast/id/README trunk/yast/id/configure.ac trunk/yast/id/po/Makefile.am trunk/yast/it/COPYING trunk/yast/it/Makefile.am trunk/yast/it/README trunk/yast/it/configure.ac trunk/yast/it/po/Makefile.am trunk/yast/ja/COPYING trunk/yast/ja/Makefile.am trunk/yast/ja/README trunk/yast/ja/configure.ac trunk/yast/ja/po/Makefile.am trunk/yast/jv/COPYING trunk/yast/jv/Makefile.am trunk/yast/jv/README trunk/yast/jv/configure.ac trunk/yast/jv/po/Makefile.am trunk/yast/ka/COPYING trunk/yast/ka/Makefile.am trunk/yast/ka/README trunk/yast/ka/configure.ac trunk/yast/ka/po/Makefile.am trunk/yast/km/COPYING trunk/yast/km/Makefile.am trunk/yast/km/README trunk/yast/km/configure.ac trunk/yast/km/po/Makefile.am trunk/yast/kn/COPYING trunk/yast/kn/Makefile.am trunk/yast/kn/README trunk/yast/kn/configure.ac trunk/yast/kn/po/Makefile.am trunk/yast/ko/COPYING trunk/yast/ko/Makefile.am trunk/yast/ko/README trunk/yast/ko/configure.ac trunk/yast/ko/po/Makefile.am trunk/yast/ku/COPYING trunk/yast/ku/Makefile.am trunk/yast/ku/README trunk/yast/ku/configure.ac trunk/yast/ku/po/Makefile.am trunk/yast/lo/COPYING trunk/yast/lo/Makefile.am trunk/yast/lo/README trunk/yast/lo/configure.ac trunk/yast/lo/po/Makefile.am trunk/yast/lt/COPYING trunk/yast/lt/Makefile.am trunk/yast/lt/README trunk/yast/lt/configure.ac trunk/yast/lt/po/Makefile.am trunk/yast/lv/COPYING trunk/yast/lv/Makefile.am trunk/yast/lv/README trunk/yast/lv/configure.ac trunk/yast/lv/po/Makefile.am trunk/yast/mk/COPYING trunk/yast/mk/Makefile.am trunk/yast/mk/README trunk/yast/mk/configure.ac trunk/yast/mk/po/Makefile.am trunk/yast/mr/COPYING trunk/yast/mr/Makefile.am trunk/yast/mr/README trunk/yast/mr/configure.ac trunk/yast/mr/po/Makefile.am trunk/yast/ms/COPYING trunk/yast/ms/Makefile.am trunk/yast/ms/README trunk/yast/ms/configure.ac trunk/yast/ms/po/Makefile.am trunk/yast/my/COPYING trunk/yast/my/Makefile.am trunk/yast/my/README trunk/yast/my/configure.ac trunk/yast/my/po/Makefile.am trunk/yast/nb/COPYING trunk/yast/nb/Makefile.am trunk/yast/nb/README trunk/yast/nb/configure.ac trunk/yast/nb/po/Makefile.am trunk/yast/nds/COPYING trunk/yast/nds/Makefile.am trunk/yast/nds/README trunk/yast/nds/configure.ac trunk/yast/nds/po/Makefile.am trunk/yast/ne/COPYING trunk/yast/ne/Makefile.am trunk/yast/ne/README trunk/yast/ne/configure.ac trunk/yast/ne/po/Makefile.am trunk/yast/nl/COPYING trunk/yast/nl/Makefile.am trunk/yast/nl/README trunk/yast/nl/configure.ac trunk/yast/nl/po/Makefile.am trunk/yast/nn/COPYING trunk/yast/nn/Makefile.am trunk/yast/nn/README trunk/yast/nn/configure.ac trunk/yast/pa/COPYING trunk/yast/pa/Makefile.am trunk/yast/pa/README trunk/yast/pa/configure.ac trunk/yast/pa/po/Makefile.am trunk/yast/pl/COPYING trunk/yast/pl/Makefile.am trunk/yast/pl/README trunk/yast/pl/configure.ac trunk/yast/pl/po/Makefile.am trunk/yast/ps/COPYING trunk/yast/ps/Makefile.am trunk/yast/ps/README trunk/yast/ps/configure.ac trunk/yast/ps/po/Makefile.am trunk/yast/pt/COPYING trunk/yast/pt/Makefile.am trunk/yast/pt/README trunk/yast/pt/configure.ac trunk/yast/pt/po/Makefile.am trunk/yast/pt_BR/COPYING trunk/yast/pt_BR/Makefile.am trunk/yast/pt_BR/README trunk/yast/pt_BR/configure.ac trunk/yast/pt_BR/po/Makefile.am trunk/yast/ro/COPYING trunk/yast/ro/Makefile.am trunk/yast/ro/README trunk/yast/ro/configure.ac trunk/yast/ro/po/Makefile.am trunk/yast/ru/COPYING trunk/yast/ru/Makefile.am trunk/yast/ru/README trunk/yast/ru/configure.ac trunk/yast/ru/po/Makefile.am trunk/yast/si/COPYING trunk/yast/si/Makefile.am trunk/yast/si/README trunk/yast/si/configure.ac trunk/yast/si/po/Makefile.am trunk/yast/sk/COPYING trunk/yast/sk/Makefile.am trunk/yast/sk/README trunk/yast/sk/configure.ac trunk/yast/sk/po/Makefile.am trunk/yast/sl/COPYING trunk/yast/sl/Makefile.am trunk/yast/sl/README trunk/yast/sl/configure.ac trunk/yast/sl/po/Makefile.am trunk/yast/sq/COPYING trunk/yast/sq/Makefile.am trunk/yast/sq/README trunk/yast/sq/configure.ac trunk/yast/sq/po/Makefile.am trunk/yast/sr/COPYING trunk/yast/sr/Makefile.am trunk/yast/sr/README trunk/yast/sr/configure.ac trunk/yast/sr/po/Makefile.am trunk/yast/sv/COPYING trunk/yast/sv/Makefile.am trunk/yast/sv/README trunk/yast/sv/configure.ac trunk/yast/sv/po/Makefile.am trunk/yast/sw/COPYING trunk/yast/sw/Makefile.am trunk/yast/sw/README trunk/yast/sw/configure.ac trunk/yast/sw/po/Makefile.am trunk/yast/ta/COPYING trunk/yast/ta/Makefile.am trunk/yast/ta/README trunk/yast/ta/configure.ac trunk/yast/ta/po/Makefile.am trunk/yast/tg/COPYING trunk/yast/tg/Makefile.am trunk/yast/tg/README trunk/yast/tg/configure.ac trunk/yast/tg/po/Makefile.am trunk/yast/th/COPYING trunk/yast/th/Makefile.am trunk/yast/th/README trunk/yast/th/configure.ac trunk/yast/th/po/Makefile.am trunk/yast/tk/COPYING trunk/yast/tk/Makefile.am trunk/yast/tk/README trunk/yast/tk/configure.ac trunk/yast/tk/po/Makefile.am trunk/yast/tr/COPYING trunk/yast/tr/Makefile.am trunk/yast/tr/README trunk/yast/tr/configure.ac trunk/yast/tr/po/Makefile.am trunk/yast/uk/COPYING trunk/yast/uk/Makefile.am trunk/yast/uk/README trunk/yast/uk/configure.ac trunk/yast/uk/po/Makefile.am trunk/yast/vi/COPYING trunk/yast/vi/Makefile.am trunk/yast/vi/README trunk/yast/vi/configure.ac trunk/yast/vi/po/Makefile.am trunk/yast/wa/COPYING trunk/yast/wa/Makefile.am trunk/yast/wa/README trunk/yast/wa/configure.ac trunk/yast/wa/po/Makefile.am trunk/yast/xh/COPYING trunk/yast/xh/Makefile.am trunk/yast/xh/README trunk/yast/xh/configure.ac trunk/yast/xh/po/Makefile.am trunk/yast/zh_CN/COPYING trunk/yast/zh_CN/Makefile.am trunk/yast/zh_CN/README trunk/yast/zh_CN/configure.ac trunk/yast/zh_CN/po/Makefile.am trunk/yast/zh_TW/COPYING trunk/yast/zh_TW/Makefile.am trunk/yast/zh_TW/README trunk/yast/zh_TW/configure.ac trunk/yast/zh_TW/po/Makefile.am trunk/yast/zu/COPYING trunk/yast/zu/Makefile.am trunk/yast/zu/README trunk/yast/zu/configure.ac trunk/yast/zu/po/Makefile.am Modified: trunk/yast/nn/po/Makefile.am Log: new Added: trunk/yast/af/COPYING =================================================================== --- trunk/yast/af/COPYING (rev 0) +++ trunk/yast/af/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/af/Makefile.am =================================================================== --- trunk/yast/af/Makefile.am (rev 0) +++ trunk/yast/af/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/af/README =================================================================== --- trunk/yast/af/README (rev 0) +++ trunk/yast/af/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/af/configure.ac =================================================================== --- trunk/yast/af/configure.ac (rev 0) +++ trunk/yast/af/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-af +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-af, 3.1.0, http://bugs.opensuse.org/, yast2-trans-af) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-af" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/af/po/Makefile.am =================================================================== --- trunk/yast/af/po/Makefile.am (rev 0) +++ trunk/yast/af/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/am/COPYING =================================================================== --- trunk/yast/am/COPYING (rev 0) +++ trunk/yast/am/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/am/Makefile.am =================================================================== --- trunk/yast/am/Makefile.am (rev 0) +++ trunk/yast/am/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/am/README =================================================================== --- trunk/yast/am/README (rev 0) +++ trunk/yast/am/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/am/configure.ac =================================================================== --- trunk/yast/am/configure.ac (rev 0) +++ trunk/yast/am/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-am +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-am, 3.1.0, http://bugs.opensuse.org/, yast2-trans-am) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-am" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/am/po/Makefile.am =================================================================== --- trunk/yast/am/po/Makefile.am (rev 0) +++ trunk/yast/am/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ar/COPYING =================================================================== --- trunk/yast/ar/COPYING (rev 0) +++ trunk/yast/ar/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ar/Makefile.am =================================================================== --- trunk/yast/ar/Makefile.am (rev 0) +++ trunk/yast/ar/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ar/README =================================================================== --- trunk/yast/ar/README (rev 0) +++ trunk/yast/ar/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ar/configure.ac =================================================================== --- trunk/yast/ar/configure.ac (rev 0) +++ trunk/yast/ar/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ar +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ar, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ar) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ar" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ar/po/Makefile.am =================================================================== --- trunk/yast/ar/po/Makefile.am (rev 0) +++ trunk/yast/ar/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ast/COPYING =================================================================== --- trunk/yast/ast/COPYING (rev 0) +++ trunk/yast/ast/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ast/Makefile.am =================================================================== --- trunk/yast/ast/Makefile.am (rev 0) +++ trunk/yast/ast/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ast/README =================================================================== --- trunk/yast/ast/README (rev 0) +++ trunk/yast/ast/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ast/configure.ac =================================================================== --- trunk/yast/ast/configure.ac (rev 0) +++ trunk/yast/ast/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ast +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ast, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ast) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ast" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ast/po/Makefile.am =================================================================== --- trunk/yast/ast/po/Makefile.am (rev 0) +++ trunk/yast/ast/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/be/COPYING =================================================================== --- trunk/yast/be/COPYING (rev 0) +++ trunk/yast/be/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/be/Makefile.am =================================================================== --- trunk/yast/be/Makefile.am (rev 0) +++ trunk/yast/be/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/be/README =================================================================== --- trunk/yast/be/README (rev 0) +++ trunk/yast/be/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/be/configure.ac =================================================================== --- trunk/yast/be/configure.ac (rev 0) +++ trunk/yast/be/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-be +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-be, 3.1.0, http://bugs.opensuse.org/, yast2-trans-be) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-be" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/be/po/Makefile.am =================================================================== --- trunk/yast/be/po/Makefile.am (rev 0) +++ trunk/yast/be/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/bg/COPYING =================================================================== --- trunk/yast/bg/COPYING (rev 0) +++ trunk/yast/bg/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/bg/Makefile.am =================================================================== --- trunk/yast/bg/Makefile.am (rev 0) +++ trunk/yast/bg/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/bg/README =================================================================== --- trunk/yast/bg/README (rev 0) +++ trunk/yast/bg/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/bg/configure.ac =================================================================== --- trunk/yast/bg/configure.ac (rev 0) +++ trunk/yast/bg/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-bg +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-bg, 3.1.0, http://bugs.opensuse.org/, yast2-trans-bg) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-bg" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/bg/po/Makefile.am =================================================================== --- trunk/yast/bg/po/Makefile.am (rev 0) +++ trunk/yast/bg/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/bn/COPYING =================================================================== --- trunk/yast/bn/COPYING (rev 0) +++ trunk/yast/bn/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/bn/Makefile.am =================================================================== --- trunk/yast/bn/Makefile.am (rev 0) +++ trunk/yast/bn/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/bn/README =================================================================== --- trunk/yast/bn/README (rev 0) +++ trunk/yast/bn/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/bn/configure.ac =================================================================== --- trunk/yast/bn/configure.ac (rev 0) +++ trunk/yast/bn/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-bn +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-bn, 3.1.0, http://bugs.opensuse.org/, yast2-trans-bn) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-bn" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/bn/po/Makefile.am =================================================================== --- trunk/yast/bn/po/Makefile.am (rev 0) +++ trunk/yast/bn/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/bs/COPYING =================================================================== --- trunk/yast/bs/COPYING (rev 0) +++ trunk/yast/bs/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/bs/Makefile.am =================================================================== --- trunk/yast/bs/Makefile.am (rev 0) +++ trunk/yast/bs/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/bs/README =================================================================== --- trunk/yast/bs/README (rev 0) +++ trunk/yast/bs/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/bs/configure.ac =================================================================== --- trunk/yast/bs/configure.ac (rev 0) +++ trunk/yast/bs/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-bs +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-bs, 3.1.0, http://bugs.opensuse.org/, yast2-trans-bs) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-bs" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/bs/po/Makefile.am =================================================================== --- trunk/yast/bs/po/Makefile.am (rev 0) +++ trunk/yast/bs/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ca/COPYING =================================================================== --- trunk/yast/ca/COPYING (rev 0) +++ trunk/yast/ca/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ca/Makefile.am =================================================================== --- trunk/yast/ca/Makefile.am (rev 0) +++ trunk/yast/ca/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ca/README =================================================================== --- trunk/yast/ca/README (rev 0) +++ trunk/yast/ca/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ca/configure.ac =================================================================== --- trunk/yast/ca/configure.ac (rev 0) +++ trunk/yast/ca/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ca +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ca, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ca) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ca" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ca/po/Makefile.am =================================================================== --- trunk/yast/ca/po/Makefile.am (rev 0) +++ trunk/yast/ca/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/cs/COPYING =================================================================== --- trunk/yast/cs/COPYING (rev 0) +++ trunk/yast/cs/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/cs/Makefile.am =================================================================== --- trunk/yast/cs/Makefile.am (rev 0) +++ trunk/yast/cs/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/cs/README =================================================================== --- trunk/yast/cs/README (rev 0) +++ trunk/yast/cs/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/cs/configure.ac =================================================================== --- trunk/yast/cs/configure.ac (rev 0) +++ trunk/yast/cs/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-cs +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-cs, 3.1.0, http://bugs.opensuse.org/, yast2-trans-cs) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-cs" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/cs/po/Makefile.am =================================================================== --- trunk/yast/cs/po/Makefile.am (rev 0) +++ trunk/yast/cs/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/cy/COPYING =================================================================== --- trunk/yast/cy/COPYING (rev 0) +++ trunk/yast/cy/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/cy/Makefile.am =================================================================== --- trunk/yast/cy/Makefile.am (rev 0) +++ trunk/yast/cy/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/cy/README =================================================================== --- trunk/yast/cy/README (rev 0) +++ trunk/yast/cy/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/cy/configure.ac =================================================================== --- trunk/yast/cy/configure.ac (rev 0) +++ trunk/yast/cy/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-cy +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-cy, 3.1.0, http://bugs.opensuse.org/, yast2-trans-cy) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-cy" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/cy/po/Makefile.am =================================================================== --- trunk/yast/cy/po/Makefile.am (rev 0) +++ trunk/yast/cy/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/da/COPYING =================================================================== --- trunk/yast/da/COPYING (rev 0) +++ trunk/yast/da/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/da/Makefile.am =================================================================== --- trunk/yast/da/Makefile.am (rev 0) +++ trunk/yast/da/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/da/README =================================================================== --- trunk/yast/da/README (rev 0) +++ trunk/yast/da/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/da/configure.ac =================================================================== --- trunk/yast/da/configure.ac (rev 0) +++ trunk/yast/da/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-da +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-da, 3.1.0, http://bugs.opensuse.org/, yast2-trans-da) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-da" +MAINTAINER="Martin Schlander <suse@linuxin.dk>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/da/po/Makefile.am =================================================================== --- trunk/yast/da/po/Makefile.am (rev 0) +++ trunk/yast/da/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/de/COPYING =================================================================== --- trunk/yast/de/COPYING (rev 0) +++ trunk/yast/de/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/de/Makefile.am =================================================================== --- trunk/yast/de/Makefile.am (rev 0) +++ trunk/yast/de/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/de/README =================================================================== --- trunk/yast/de/README (rev 0) +++ trunk/yast/de/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/de/configure.ac =================================================================== --- trunk/yast/de/configure.ac (rev 0) +++ trunk/yast/de/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-de +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-de, 3.1.0, http://bugs.opensuse.org/, yast2-trans-de) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-de" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/de/po/Makefile.am =================================================================== --- trunk/yast/de/po/Makefile.am (rev 0) +++ trunk/yast/de/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/el/COPYING =================================================================== --- trunk/yast/el/COPYING (rev 0) +++ trunk/yast/el/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/el/Makefile.am =================================================================== --- trunk/yast/el/Makefile.am (rev 0) +++ trunk/yast/el/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/el/README =================================================================== --- trunk/yast/el/README (rev 0) +++ trunk/yast/el/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/el/configure.ac =================================================================== --- trunk/yast/el/configure.ac (rev 0) +++ trunk/yast/el/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-el +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-el, 3.1.0, http://bugs.opensuse.org/, yast2-trans-el) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-el" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/el/po/Makefile.am =================================================================== --- trunk/yast/el/po/Makefile.am (rev 0) +++ trunk/yast/el/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/en_GB/COPYING =================================================================== --- trunk/yast/en_GB/COPYING (rev 0) +++ trunk/yast/en_GB/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/en_GB/Makefile.am =================================================================== --- trunk/yast/en_GB/Makefile.am (rev 0) +++ trunk/yast/en_GB/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/en_GB/README =================================================================== --- trunk/yast/en_GB/README (rev 0) +++ trunk/yast/en_GB/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/en_GB/configure.ac =================================================================== --- trunk/yast/en_GB/configure.ac (rev 0) +++ trunk/yast/en_GB/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-en_GB +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-en_GB, 3.1.0, http://bugs.opensuse.org/, yast2-trans-en_GB) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-en_GB" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/en_GB/po/Makefile.am =================================================================== --- trunk/yast/en_GB/po/Makefile.am (rev 0) +++ trunk/yast/en_GB/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/en_US/COPYING =================================================================== --- trunk/yast/en_US/COPYING (rev 0) +++ trunk/yast/en_US/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/en_US/Makefile.am =================================================================== --- trunk/yast/en_US/Makefile.am (rev 0) +++ trunk/yast/en_US/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/en_US/README =================================================================== --- trunk/yast/en_US/README (rev 0) +++ trunk/yast/en_US/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/en_US/configure.ac =================================================================== --- trunk/yast/en_US/configure.ac (rev 0) +++ trunk/yast/en_US/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-en_US +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-en_US, 3.1.0, http://bugs.opensuse.org/, yast2-trans-en_US) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-en_US" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/en_US/po/Makefile.am =================================================================== --- trunk/yast/en_US/po/Makefile.am (rev 0) +++ trunk/yast/en_US/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/eo/COPYING =================================================================== --- trunk/yast/eo/COPYING (rev 0) +++ trunk/yast/eo/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/eo/Makefile.am =================================================================== --- trunk/yast/eo/Makefile.am (rev 0) +++ trunk/yast/eo/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/eo/README =================================================================== --- trunk/yast/eo/README (rev 0) +++ trunk/yast/eo/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/eo/configure.ac =================================================================== --- trunk/yast/eo/configure.ac (rev 0) +++ trunk/yast/eo/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-eo +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-eo, 3.1.0, http://bugs.opensuse.org/, yast2-trans-eo) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-eo" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/eo/po/Makefile.am =================================================================== --- trunk/yast/eo/po/Makefile.am (rev 0) +++ trunk/yast/eo/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/es/COPYING =================================================================== --- trunk/yast/es/COPYING (rev 0) +++ trunk/yast/es/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/es/Makefile.am =================================================================== --- trunk/yast/es/Makefile.am (rev 0) +++ trunk/yast/es/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/es/README =================================================================== --- trunk/yast/es/README (rev 0) +++ trunk/yast/es/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/es/configure.ac =================================================================== --- trunk/yast/es/configure.ac (rev 0) +++ trunk/yast/es/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-es +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-es, 3.1.0, http://bugs.opensuse.org/, yast2-trans-es) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-es" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/es/po/Makefile.am =================================================================== --- trunk/yast/es/po/Makefile.am (rev 0) +++ trunk/yast/es/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/et/COPYING =================================================================== --- trunk/yast/et/COPYING (rev 0) +++ trunk/yast/et/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/et/Makefile.am =================================================================== --- trunk/yast/et/Makefile.am (rev 0) +++ trunk/yast/et/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/et/README =================================================================== --- trunk/yast/et/README (rev 0) +++ trunk/yast/et/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/et/configure.ac =================================================================== --- trunk/yast/et/configure.ac (rev 0) +++ trunk/yast/et/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-et +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-et, 3.1.0, http://bugs.opensuse.org/, yast2-trans-et) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-et" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/et/po/Makefile.am =================================================================== --- trunk/yast/et/po/Makefile.am (rev 0) +++ trunk/yast/et/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/eu/COPYING =================================================================== --- trunk/yast/eu/COPYING (rev 0) +++ trunk/yast/eu/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/eu/Makefile.am =================================================================== --- trunk/yast/eu/Makefile.am (rev 0) +++ trunk/yast/eu/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/eu/README =================================================================== --- trunk/yast/eu/README (rev 0) +++ trunk/yast/eu/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/eu/configure.ac =================================================================== --- trunk/yast/eu/configure.ac (rev 0) +++ trunk/yast/eu/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-eu +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-eu, 3.1.0, http://bugs.opensuse.org/, yast2-trans-eu) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-eu" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/eu/po/Makefile.am =================================================================== --- trunk/yast/eu/po/Makefile.am (rev 0) +++ trunk/yast/eu/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/fa/COPYING =================================================================== --- trunk/yast/fa/COPYING (rev 0) +++ trunk/yast/fa/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/fa/Makefile.am =================================================================== --- trunk/yast/fa/Makefile.am (rev 0) +++ trunk/yast/fa/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/fa/README =================================================================== --- trunk/yast/fa/README (rev 0) +++ trunk/yast/fa/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/fa/configure.ac =================================================================== --- trunk/yast/fa/configure.ac (rev 0) +++ trunk/yast/fa/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-fa +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-fa, 3.1.0, http://bugs.opensuse.org/, yast2-trans-fa) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-fa" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/fa/po/Makefile.am =================================================================== --- trunk/yast/fa/po/Makefile.am (rev 0) +++ trunk/yast/fa/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/fi/COPYING =================================================================== --- trunk/yast/fi/COPYING (rev 0) +++ trunk/yast/fi/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/fi/Makefile.am =================================================================== --- trunk/yast/fi/Makefile.am (rev 0) +++ trunk/yast/fi/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/fi/README =================================================================== --- trunk/yast/fi/README (rev 0) +++ trunk/yast/fi/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/fi/configure.ac =================================================================== --- trunk/yast/fi/configure.ac (rev 0) +++ trunk/yast/fi/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-fi +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-fi, 3.1.0, http://bugs.opensuse.org/, yast2-trans-fi) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-fi" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/fi/po/Makefile.am =================================================================== --- trunk/yast/fi/po/Makefile.am (rev 0) +++ trunk/yast/fi/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/fr/COPYING =================================================================== --- trunk/yast/fr/COPYING (rev 0) +++ trunk/yast/fr/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/fr/Makefile.am =================================================================== --- trunk/yast/fr/Makefile.am (rev 0) +++ trunk/yast/fr/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/fr/README =================================================================== --- trunk/yast/fr/README (rev 0) +++ trunk/yast/fr/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/fr/configure.ac =================================================================== --- trunk/yast/fr/configure.ac (rev 0) +++ trunk/yast/fr/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-fr +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-fr, 3.1.0, http://bugs.opensuse.org/, yast2-trans-fr) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-fr" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/fr/po/Makefile.am =================================================================== --- trunk/yast/fr/po/Makefile.am (rev 0) +++ trunk/yast/fr/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/gl/COPYING =================================================================== --- trunk/yast/gl/COPYING (rev 0) +++ trunk/yast/gl/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/gl/Makefile.am =================================================================== --- trunk/yast/gl/Makefile.am (rev 0) +++ trunk/yast/gl/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/gl/README =================================================================== --- trunk/yast/gl/README (rev 0) +++ trunk/yast/gl/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/gl/configure.ac =================================================================== --- trunk/yast/gl/configure.ac (rev 0) +++ trunk/yast/gl/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-gl +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-gl, 3.1.0, http://bugs.opensuse.org/, yast2-trans-gl) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-gl" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/gl/po/Makefile.am =================================================================== --- trunk/yast/gl/po/Makefile.am (rev 0) +++ trunk/yast/gl/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/gu/COPYING =================================================================== --- trunk/yast/gu/COPYING (rev 0) +++ trunk/yast/gu/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/gu/Makefile.am =================================================================== --- trunk/yast/gu/Makefile.am (rev 0) +++ trunk/yast/gu/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/gu/README =================================================================== --- trunk/yast/gu/README (rev 0) +++ trunk/yast/gu/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/gu/configure.ac =================================================================== --- trunk/yast/gu/configure.ac (rev 0) +++ trunk/yast/gu/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-gu +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-gu, 3.1.0, http://bugs.opensuse.org/, yast2-trans-gu) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-gu" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/gu/po/Makefile.am =================================================================== --- trunk/yast/gu/po/Makefile.am (rev 0) +++ trunk/yast/gu/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/he/COPYING =================================================================== --- trunk/yast/he/COPYING (rev 0) +++ trunk/yast/he/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/he/Makefile.am =================================================================== --- trunk/yast/he/Makefile.am (rev 0) +++ trunk/yast/he/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/he/README =================================================================== --- trunk/yast/he/README (rev 0) +++ trunk/yast/he/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/he/configure.ac =================================================================== --- trunk/yast/he/configure.ac (rev 0) +++ trunk/yast/he/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-he +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-he, 3.1.0, http://bugs.opensuse.org/, yast2-trans-he) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-he" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/he/po/Makefile.am =================================================================== --- trunk/yast/he/po/Makefile.am (rev 0) +++ trunk/yast/he/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/hi/COPYING =================================================================== --- trunk/yast/hi/COPYING (rev 0) +++ trunk/yast/hi/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/hi/Makefile.am =================================================================== --- trunk/yast/hi/Makefile.am (rev 0) +++ trunk/yast/hi/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/hi/README =================================================================== --- trunk/yast/hi/README (rev 0) +++ trunk/yast/hi/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/hi/configure.ac =================================================================== --- trunk/yast/hi/configure.ac (rev 0) +++ trunk/yast/hi/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-hi +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-hi, 3.1.0, http://bugs.opensuse.org/, yast2-trans-hi) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-hi" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/hi/po/Makefile.am =================================================================== --- trunk/yast/hi/po/Makefile.am (rev 0) +++ trunk/yast/hi/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/hr/COPYING =================================================================== --- trunk/yast/hr/COPYING (rev 0) +++ trunk/yast/hr/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/hr/Makefile.am =================================================================== --- trunk/yast/hr/Makefile.am (rev 0) +++ trunk/yast/hr/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/hr/README =================================================================== --- trunk/yast/hr/README (rev 0) +++ trunk/yast/hr/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/hr/configure.ac =================================================================== --- trunk/yast/hr/configure.ac (rev 0) +++ trunk/yast/hr/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-hr +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-hr, 3.1.0, http://bugs.opensuse.org/, yast2-trans-hr) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-hr" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/hr/po/Makefile.am =================================================================== --- trunk/yast/hr/po/Makefile.am (rev 0) +++ trunk/yast/hr/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/hu/COPYING =================================================================== --- trunk/yast/hu/COPYING (rev 0) +++ trunk/yast/hu/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/hu/Makefile.am =================================================================== --- trunk/yast/hu/Makefile.am (rev 0) +++ trunk/yast/hu/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/hu/README =================================================================== --- trunk/yast/hu/README (rev 0) +++ trunk/yast/hu/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/hu/configure.ac =================================================================== --- trunk/yast/hu/configure.ac (rev 0) +++ trunk/yast/hu/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-hu +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-hu, 3.1.0, http://bugs.opensuse.org/, yast2-trans-hu) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-hu" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/hu/po/Makefile.am =================================================================== --- trunk/yast/hu/po/Makefile.am (rev 0) +++ trunk/yast/hu/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/id/COPYING =================================================================== --- trunk/yast/id/COPYING (rev 0) +++ trunk/yast/id/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/id/Makefile.am =================================================================== --- trunk/yast/id/Makefile.am (rev 0) +++ trunk/yast/id/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/id/README =================================================================== --- trunk/yast/id/README (rev 0) +++ trunk/yast/id/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/id/configure.ac =================================================================== --- trunk/yast/id/configure.ac (rev 0) +++ trunk/yast/id/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-id +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-id, 3.1.0, http://bugs.opensuse.org/, yast2-trans-id) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-id" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/id/po/Makefile.am =================================================================== --- trunk/yast/id/po/Makefile.am (rev 0) +++ trunk/yast/id/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/it/COPYING =================================================================== --- trunk/yast/it/COPYING (rev 0) +++ trunk/yast/it/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/it/Makefile.am =================================================================== --- trunk/yast/it/Makefile.am (rev 0) +++ trunk/yast/it/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/it/README =================================================================== --- trunk/yast/it/README (rev 0) +++ trunk/yast/it/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/it/configure.ac =================================================================== --- trunk/yast/it/configure.ac (rev 0) +++ trunk/yast/it/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-it +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-it, 3.1.0, http://bugs.opensuse.org/, yast2-trans-it) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-it" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/it/po/Makefile.am =================================================================== --- trunk/yast/it/po/Makefile.am (rev 0) +++ trunk/yast/it/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ja/COPYING =================================================================== --- trunk/yast/ja/COPYING (rev 0) +++ trunk/yast/ja/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ja/Makefile.am =================================================================== --- trunk/yast/ja/Makefile.am (rev 0) +++ trunk/yast/ja/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ja/README =================================================================== --- trunk/yast/ja/README (rev 0) +++ trunk/yast/ja/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ja/configure.ac =================================================================== --- trunk/yast/ja/configure.ac (rev 0) +++ trunk/yast/ja/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ja +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ja, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ja) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ja" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ja/po/Makefile.am =================================================================== --- trunk/yast/ja/po/Makefile.am (rev 0) +++ trunk/yast/ja/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/jv/COPYING =================================================================== --- trunk/yast/jv/COPYING (rev 0) +++ trunk/yast/jv/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/jv/Makefile.am =================================================================== --- trunk/yast/jv/Makefile.am (rev 0) +++ trunk/yast/jv/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/jv/README =================================================================== --- trunk/yast/jv/README (rev 0) +++ trunk/yast/jv/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/jv/configure.ac =================================================================== --- trunk/yast/jv/configure.ac (rev 0) +++ trunk/yast/jv/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-jv +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-jv, 3.1.0, http://bugs.opensuse.org/, yast2-trans-jv) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-jv" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/jv/po/Makefile.am =================================================================== --- trunk/yast/jv/po/Makefile.am (rev 0) +++ trunk/yast/jv/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ka/COPYING =================================================================== --- trunk/yast/ka/COPYING (rev 0) +++ trunk/yast/ka/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ka/Makefile.am =================================================================== --- trunk/yast/ka/Makefile.am (rev 0) +++ trunk/yast/ka/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ka/README =================================================================== --- trunk/yast/ka/README (rev 0) +++ trunk/yast/ka/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ka/configure.ac =================================================================== --- trunk/yast/ka/configure.ac (rev 0) +++ trunk/yast/ka/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ka +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ka, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ka) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ka" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ka/po/Makefile.am =================================================================== --- trunk/yast/ka/po/Makefile.am (rev 0) +++ trunk/yast/ka/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/km/COPYING =================================================================== --- trunk/yast/km/COPYING (rev 0) +++ trunk/yast/km/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/km/Makefile.am =================================================================== --- trunk/yast/km/Makefile.am (rev 0) +++ trunk/yast/km/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/km/README =================================================================== --- trunk/yast/km/README (rev 0) +++ trunk/yast/km/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/km/configure.ac =================================================================== --- trunk/yast/km/configure.ac (rev 0) +++ trunk/yast/km/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-km +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-km, 3.1.0, http://bugs.opensuse.org/, yast2-trans-km) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-km" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/km/po/Makefile.am =================================================================== --- trunk/yast/km/po/Makefile.am (rev 0) +++ trunk/yast/km/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/kn/COPYING =================================================================== --- trunk/yast/kn/COPYING (rev 0) +++ trunk/yast/kn/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/kn/Makefile.am =================================================================== --- trunk/yast/kn/Makefile.am (rev 0) +++ trunk/yast/kn/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/kn/README =================================================================== --- trunk/yast/kn/README (rev 0) +++ trunk/yast/kn/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/kn/configure.ac =================================================================== --- trunk/yast/kn/configure.ac (rev 0) +++ trunk/yast/kn/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-kn +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-kn, 3.1.0, http://bugs.opensuse.org/, yast2-trans-kn) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-kn" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/kn/po/Makefile.am =================================================================== --- trunk/yast/kn/po/Makefile.am (rev 0) +++ trunk/yast/kn/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ko/COPYING =================================================================== --- trunk/yast/ko/COPYING (rev 0) +++ trunk/yast/ko/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ko/Makefile.am =================================================================== --- trunk/yast/ko/Makefile.am (rev 0) +++ trunk/yast/ko/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ko/README =================================================================== --- trunk/yast/ko/README (rev 0) +++ trunk/yast/ko/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ko/configure.ac =================================================================== --- trunk/yast/ko/configure.ac (rev 0) +++ trunk/yast/ko/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ko +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ko, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ko) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ko" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ko/po/Makefile.am =================================================================== --- trunk/yast/ko/po/Makefile.am (rev 0) +++ trunk/yast/ko/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ku/COPYING =================================================================== --- trunk/yast/ku/COPYING (rev 0) +++ trunk/yast/ku/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ku/Makefile.am =================================================================== --- trunk/yast/ku/Makefile.am (rev 0) +++ trunk/yast/ku/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ku/README =================================================================== --- trunk/yast/ku/README (rev 0) +++ trunk/yast/ku/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ku/configure.ac =================================================================== --- trunk/yast/ku/configure.ac (rev 0) +++ trunk/yast/ku/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ku +dnl +dnl -- This file is generated by y2autoconf - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ku, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ku) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="" +RPMNAME="yast2-trans-ku" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +ylibdir=${yast2dir}/lib +controldir=${yast2dir}/control +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(ylibdir) +AC_SUBST(controldir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ku/po/Makefile.am =================================================================== --- trunk/yast/ku/po/Makefile.am (rev 0) +++ trunk/yast/ku/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/lo/COPYING =================================================================== --- trunk/yast/lo/COPYING (rev 0) +++ trunk/yast/lo/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/lo/Makefile.am =================================================================== --- trunk/yast/lo/Makefile.am (rev 0) +++ trunk/yast/lo/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/lo/README =================================================================== --- trunk/yast/lo/README (rev 0) +++ trunk/yast/lo/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/lo/configure.ac =================================================================== --- trunk/yast/lo/configure.ac (rev 0) +++ trunk/yast/lo/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-lo +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-lo, 3.1.0, http://bugs.opensuse.org/, yast2-trans-lo) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-lo" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/lo/po/Makefile.am =================================================================== --- trunk/yast/lo/po/Makefile.am (rev 0) +++ trunk/yast/lo/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/lt/COPYING =================================================================== --- trunk/yast/lt/COPYING (rev 0) +++ trunk/yast/lt/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/lt/Makefile.am =================================================================== --- trunk/yast/lt/Makefile.am (rev 0) +++ trunk/yast/lt/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/lt/README =================================================================== --- trunk/yast/lt/README (rev 0) +++ trunk/yast/lt/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/lt/configure.ac =================================================================== --- trunk/yast/lt/configure.ac (rev 0) +++ trunk/yast/lt/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-de +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-lt, 3.1.0, http://bugs.opensuse.org/, yast2-trans-lt) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-lt" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/lt/po/Makefile.am =================================================================== --- trunk/yast/lt/po/Makefile.am (rev 0) +++ trunk/yast/lt/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/lv/COPYING =================================================================== --- trunk/yast/lv/COPYING (rev 0) +++ trunk/yast/lv/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/lv/Makefile.am =================================================================== --- trunk/yast/lv/Makefile.am (rev 0) +++ trunk/yast/lv/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/lv/README =================================================================== --- trunk/yast/lv/README (rev 0) +++ trunk/yast/lv/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/lv/configure.ac =================================================================== --- trunk/yast/lv/configure.ac (rev 0) +++ trunk/yast/lv/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-lv +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-lv, 3.1.0, http://bugs.opensuse.org/, yast2-trans-lv) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-lv" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/lv/po/Makefile.am =================================================================== --- trunk/yast/lv/po/Makefile.am (rev 0) +++ trunk/yast/lv/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/mk/COPYING =================================================================== --- trunk/yast/mk/COPYING (rev 0) +++ trunk/yast/mk/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/mk/Makefile.am =================================================================== --- trunk/yast/mk/Makefile.am (rev 0) +++ trunk/yast/mk/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/mk/README =================================================================== --- trunk/yast/mk/README (rev 0) +++ trunk/yast/mk/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/mk/configure.ac =================================================================== --- trunk/yast/mk/configure.ac (rev 0) +++ trunk/yast/mk/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-mk +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-mk, 3.1.0, http://bugs.opensuse.org/, yast2-trans-mk) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-mk" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/mk/po/Makefile.am =================================================================== --- trunk/yast/mk/po/Makefile.am (rev 0) +++ trunk/yast/mk/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/mr/COPYING =================================================================== --- trunk/yast/mr/COPYING (rev 0) +++ trunk/yast/mr/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/mr/Makefile.am =================================================================== --- trunk/yast/mr/Makefile.am (rev 0) +++ trunk/yast/mr/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/mr/README =================================================================== --- trunk/yast/mr/README (rev 0) +++ trunk/yast/mr/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/mr/configure.ac =================================================================== --- trunk/yast/mr/configure.ac (rev 0) +++ trunk/yast/mr/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-mr +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-mr, 3.1.0, http://bugs.opensuse.org/, yast2-trans-mr) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-mr" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/mr/po/Makefile.am =================================================================== --- trunk/yast/mr/po/Makefile.am (rev 0) +++ trunk/yast/mr/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ms/COPYING =================================================================== --- trunk/yast/ms/COPYING (rev 0) +++ trunk/yast/ms/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ms/Makefile.am =================================================================== --- trunk/yast/ms/Makefile.am (rev 0) +++ trunk/yast/ms/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ms/README =================================================================== --- trunk/yast/ms/README (rev 0) +++ trunk/yast/ms/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ms/configure.ac =================================================================== --- trunk/yast/ms/configure.ac (rev 0) +++ trunk/yast/ms/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ms +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ms, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ms) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ms" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ms/po/Makefile.am =================================================================== --- trunk/yast/ms/po/Makefile.am (rev 0) +++ trunk/yast/ms/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/my/COPYING =================================================================== --- trunk/yast/my/COPYING (rev 0) +++ trunk/yast/my/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/my/Makefile.am =================================================================== --- trunk/yast/my/Makefile.am (rev 0) +++ trunk/yast/my/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/my/README =================================================================== --- trunk/yast/my/README (rev 0) +++ trunk/yast/my/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/my/configure.ac =================================================================== --- trunk/yast/my/configure.ac (rev 0) +++ trunk/yast/my/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-my +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-my, 3.1.0, http://bugs.opensuse.org/, yast2-trans-my) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-my" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/my/po/Makefile.am =================================================================== --- trunk/yast/my/po/Makefile.am (rev 0) +++ trunk/yast/my/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/nb/COPYING =================================================================== --- trunk/yast/nb/COPYING (rev 0) +++ trunk/yast/nb/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/nb/Makefile.am =================================================================== --- trunk/yast/nb/Makefile.am (rev 0) +++ trunk/yast/nb/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/nb/README =================================================================== --- trunk/yast/nb/README (rev 0) +++ trunk/yast/nb/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/nb/configure.ac =================================================================== --- trunk/yast/nb/configure.ac (rev 0) +++ trunk/yast/nb/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-nb +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-nb, 3.1.0, http://bugs.opensuse.org/, yast2-trans-nb) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-nb" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/nb/po/Makefile.am =================================================================== --- trunk/yast/nb/po/Makefile.am (rev 0) +++ trunk/yast/nb/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/nds/COPYING =================================================================== --- trunk/yast/nds/COPYING (rev 0) +++ trunk/yast/nds/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/nds/Makefile.am =================================================================== --- trunk/yast/nds/Makefile.am (rev 0) +++ trunk/yast/nds/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/nds/README =================================================================== --- trunk/yast/nds/README (rev 0) +++ trunk/yast/nds/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/nds/configure.ac =================================================================== --- trunk/yast/nds/configure.ac (rev 0) +++ trunk/yast/nds/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-nds +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-nds, 3.1.0, http://bugs.opensuse.org/, yast2-trans-nds) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-nds" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/nds/po/Makefile.am =================================================================== --- trunk/yast/nds/po/Makefile.am (rev 0) +++ trunk/yast/nds/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ne/COPYING =================================================================== --- trunk/yast/ne/COPYING (rev 0) +++ trunk/yast/ne/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ne/Makefile.am =================================================================== --- trunk/yast/ne/Makefile.am (rev 0) +++ trunk/yast/ne/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ne/README =================================================================== --- trunk/yast/ne/README (rev 0) +++ trunk/yast/ne/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ne/configure.ac =================================================================== --- trunk/yast/ne/configure.ac (rev 0) +++ trunk/yast/ne/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ne +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ne, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ne) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ne" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ne/po/Makefile.am =================================================================== --- trunk/yast/ne/po/Makefile.am (rev 0) +++ trunk/yast/ne/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/nl/COPYING =================================================================== --- trunk/yast/nl/COPYING (rev 0) +++ trunk/yast/nl/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/nl/Makefile.am =================================================================== --- trunk/yast/nl/Makefile.am (rev 0) +++ trunk/yast/nl/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/nl/README =================================================================== --- trunk/yast/nl/README (rev 0) +++ trunk/yast/nl/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/nl/configure.ac =================================================================== --- trunk/yast/nl/configure.ac (rev 0) +++ trunk/yast/nl/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-nl +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-nl, 3.1.0, http://bugs.opensuse.org/, yast2-trans-nl) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-nl" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/nl/po/Makefile.am =================================================================== --- trunk/yast/nl/po/Makefile.am (rev 0) +++ trunk/yast/nl/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/nn/COPYING =================================================================== --- trunk/yast/nn/COPYING (rev 0) +++ trunk/yast/nn/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/nn/Makefile.am =================================================================== --- trunk/yast/nn/Makefile.am (rev 0) +++ trunk/yast/nn/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/nn/README =================================================================== --- trunk/yast/nn/README (rev 0) +++ trunk/yast/nn/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/nn/configure.ac =================================================================== --- trunk/yast/nn/configure.ac (rev 0) +++ trunk/yast/nn/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-nn +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-nn, 3.1.0, http://bugs.opensuse.org/, yast2-trans-nn) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-nn" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Modified: trunk/yast/nn/po/Makefile.am =================================================================== --- trunk/yast/nn/po/Makefile.am 2015-09-29 09:46:54 UTC (rev 92875) +++ trunk/yast/nn/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -17,7 +17,9 @@ GENERATED = $(MOFILES) CLEANFILES = $(GENERATED) POFILES = $(wildcard *.po) -WANTED_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) MOFILES = $(POFILES:%.po=%.mo) INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) @@ -29,7 +31,7 @@ with_compendium = stat=status.txt -PO_STATS=@ybindir@/po-stats +PO_STATS= grep -v warning: | @ybindir@/po-stats MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous MSGFMT = @MSGFMT@ Added: trunk/yast/pa/COPYING =================================================================== --- trunk/yast/pa/COPYING (rev 0) +++ trunk/yast/pa/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/pa/Makefile.am =================================================================== --- trunk/yast/pa/Makefile.am (rev 0) +++ trunk/yast/pa/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/pa/README =================================================================== --- trunk/yast/pa/README (rev 0) +++ trunk/yast/pa/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/pa/configure.ac =================================================================== --- trunk/yast/pa/configure.ac (rev 0) +++ trunk/yast/pa/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-pa +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-pa, 3.1.0, http://bugs.opensuse.org/, yast2-trans-pa) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-pa" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/pa/po/Makefile.am =================================================================== --- trunk/yast/pa/po/Makefile.am (rev 0) +++ trunk/yast/pa/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/pl/COPYING =================================================================== --- trunk/yast/pl/COPYING (rev 0) +++ trunk/yast/pl/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/pl/Makefile.am =================================================================== --- trunk/yast/pl/Makefile.am (rev 0) +++ trunk/yast/pl/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/pl/README =================================================================== --- trunk/yast/pl/README (rev 0) +++ trunk/yast/pl/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/pl/configure.ac =================================================================== --- trunk/yast/pl/configure.ac (rev 0) +++ trunk/yast/pl/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-pl +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-pl, 3.1.0, http://bugs.opensuse.org/, yast2-trans-pl) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-pl" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/pl/po/Makefile.am =================================================================== --- trunk/yast/pl/po/Makefile.am (rev 0) +++ trunk/yast/pl/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ps/COPYING =================================================================== --- trunk/yast/ps/COPYING (rev 0) +++ trunk/yast/ps/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ps/Makefile.am =================================================================== --- trunk/yast/ps/Makefile.am (rev 0) +++ trunk/yast/ps/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ps/README =================================================================== --- trunk/yast/ps/README (rev 0) +++ trunk/yast/ps/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ps/configure.ac =================================================================== --- trunk/yast/ps/configure.ac (rev 0) +++ trunk/yast/ps/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ps +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ps, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ps) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ps" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ps/po/Makefile.am =================================================================== --- trunk/yast/ps/po/Makefile.am (rev 0) +++ trunk/yast/ps/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/pt/COPYING =================================================================== --- trunk/yast/pt/COPYING (rev 0) +++ trunk/yast/pt/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/pt/Makefile.am =================================================================== --- trunk/yast/pt/Makefile.am (rev 0) +++ trunk/yast/pt/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/pt/README =================================================================== --- trunk/yast/pt/README (rev 0) +++ trunk/yast/pt/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/pt/configure.ac =================================================================== --- trunk/yast/pt/configure.ac (rev 0) +++ trunk/yast/pt/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-pt +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-pt, 3.1.0, http://bugs.opensuse.org/, yast2-trans-pt) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-pt" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/pt/po/Makefile.am =================================================================== --- trunk/yast/pt/po/Makefile.am (rev 0) +++ trunk/yast/pt/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/pt_BR/COPYING =================================================================== --- trunk/yast/pt_BR/COPYING (rev 0) +++ trunk/yast/pt_BR/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/pt_BR/Makefile.am =================================================================== --- trunk/yast/pt_BR/Makefile.am (rev 0) +++ trunk/yast/pt_BR/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/pt_BR/README =================================================================== --- trunk/yast/pt_BR/README (rev 0) +++ trunk/yast/pt_BR/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/pt_BR/configure.ac =================================================================== --- trunk/yast/pt_BR/configure.ac (rev 0) +++ trunk/yast/pt_BR/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-pt_BR +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-pt_BR, 3.1.0, http://bugs.opensuse.org/, yast2-trans-pt_BR) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-pt_BR" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/pt_BR/po/Makefile.am =================================================================== --- trunk/yast/pt_BR/po/Makefile.am (rev 0) +++ trunk/yast/pt_BR/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ro/COPYING =================================================================== --- trunk/yast/ro/COPYING (rev 0) +++ trunk/yast/ro/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ro/Makefile.am =================================================================== --- trunk/yast/ro/Makefile.am (rev 0) +++ trunk/yast/ro/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ro/README =================================================================== --- trunk/yast/ro/README (rev 0) +++ trunk/yast/ro/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ro/configure.ac =================================================================== --- trunk/yast/ro/configure.ac (rev 0) +++ trunk/yast/ro/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ro +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ro, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ro) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ro" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ro/po/Makefile.am =================================================================== --- trunk/yast/ro/po/Makefile.am (rev 0) +++ trunk/yast/ro/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ru/COPYING =================================================================== --- trunk/yast/ru/COPYING (rev 0) +++ trunk/yast/ru/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ru/Makefile.am =================================================================== --- trunk/yast/ru/Makefile.am (rev 0) +++ trunk/yast/ru/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ru/README =================================================================== --- trunk/yast/ru/README (rev 0) +++ trunk/yast/ru/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ru/configure.ac =================================================================== --- trunk/yast/ru/configure.ac (rev 0) +++ trunk/yast/ru/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ru +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ru, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ru) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ru" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ru/po/Makefile.am =================================================================== --- trunk/yast/ru/po/Makefile.am (rev 0) +++ trunk/yast/ru/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/si/COPYING =================================================================== --- trunk/yast/si/COPYING (rev 0) +++ trunk/yast/si/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/si/Makefile.am =================================================================== --- trunk/yast/si/Makefile.am (rev 0) +++ trunk/yast/si/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/si/README =================================================================== --- trunk/yast/si/README (rev 0) +++ trunk/yast/si/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/si/configure.ac =================================================================== --- trunk/yast/si/configure.ac (rev 0) +++ trunk/yast/si/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-si +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-si, 3.1.0, http://bugs.opensuse.org/, yast2-trans-si) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-si" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/si/po/Makefile.am =================================================================== --- trunk/yast/si/po/Makefile.am (rev 0) +++ trunk/yast/si/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sk/COPYING =================================================================== --- trunk/yast/sk/COPYING (rev 0) +++ trunk/yast/sk/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sk/Makefile.am =================================================================== --- trunk/yast/sk/Makefile.am (rev 0) +++ trunk/yast/sk/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sk/README =================================================================== --- trunk/yast/sk/README (rev 0) +++ trunk/yast/sk/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sk/configure.ac =================================================================== --- trunk/yast/sk/configure.ac (rev 0) +++ trunk/yast/sk/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sk +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sk, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sk) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sk" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sk/po/Makefile.am =================================================================== --- trunk/yast/sk/po/Makefile.am (rev 0) +++ trunk/yast/sk/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sl/COPYING =================================================================== --- trunk/yast/sl/COPYING (rev 0) +++ trunk/yast/sl/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sl/Makefile.am =================================================================== --- trunk/yast/sl/Makefile.am (rev 0) +++ trunk/yast/sl/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sl/README =================================================================== --- trunk/yast/sl/README (rev 0) +++ trunk/yast/sl/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sl/configure.ac =================================================================== --- trunk/yast/sl/configure.ac (rev 0) +++ trunk/yast/sl/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sl +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sl, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sl) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sl" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sl/po/Makefile.am =================================================================== --- trunk/yast/sl/po/Makefile.am (rev 0) +++ trunk/yast/sl/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sq/COPYING =================================================================== --- trunk/yast/sq/COPYING (rev 0) +++ trunk/yast/sq/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sq/Makefile.am =================================================================== --- trunk/yast/sq/Makefile.am (rev 0) +++ trunk/yast/sq/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sq/README =================================================================== --- trunk/yast/sq/README (rev 0) +++ trunk/yast/sq/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sq/configure.ac =================================================================== --- trunk/yast/sq/configure.ac (rev 0) +++ trunk/yast/sq/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sq +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sq, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sq) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sq" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sq/po/Makefile.am =================================================================== --- trunk/yast/sq/po/Makefile.am (rev 0) +++ trunk/yast/sq/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sr/COPYING =================================================================== --- trunk/yast/sr/COPYING (rev 0) +++ trunk/yast/sr/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sr/Makefile.am =================================================================== --- trunk/yast/sr/Makefile.am (rev 0) +++ trunk/yast/sr/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sr/README =================================================================== --- trunk/yast/sr/README (rev 0) +++ trunk/yast/sr/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sr/configure.ac =================================================================== --- trunk/yast/sr/configure.ac (rev 0) +++ trunk/yast/sr/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sr +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sr, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sr) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sr" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sr/po/Makefile.am =================================================================== --- trunk/yast/sr/po/Makefile.am (rev 0) +++ trunk/yast/sr/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sv/COPYING =================================================================== --- trunk/yast/sv/COPYING (rev 0) +++ trunk/yast/sv/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sv/Makefile.am =================================================================== --- trunk/yast/sv/Makefile.am (rev 0) +++ trunk/yast/sv/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sv/README =================================================================== --- trunk/yast/sv/README (rev 0) +++ trunk/yast/sv/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sv/configure.ac =================================================================== --- trunk/yast/sv/configure.ac (rev 0) +++ trunk/yast/sv/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sv +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sv, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sv) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sv" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sv/po/Makefile.am =================================================================== --- trunk/yast/sv/po/Makefile.am (rev 0) +++ trunk/yast/sv/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/sw/COPYING =================================================================== --- trunk/yast/sw/COPYING (rev 0) +++ trunk/yast/sw/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/sw/Makefile.am =================================================================== --- trunk/yast/sw/Makefile.am (rev 0) +++ trunk/yast/sw/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/sw/README =================================================================== --- trunk/yast/sw/README (rev 0) +++ trunk/yast/sw/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/sw/configure.ac =================================================================== --- trunk/yast/sw/configure.ac (rev 0) +++ trunk/yast/sw/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-sw +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-sw, 3.1.0, http://bugs.opensuse.org/, yast2-trans-sw) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-sw" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/sw/po/Makefile.am =================================================================== --- trunk/yast/sw/po/Makefile.am (rev 0) +++ trunk/yast/sw/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/ta/COPYING =================================================================== --- trunk/yast/ta/COPYING (rev 0) +++ trunk/yast/ta/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/ta/Makefile.am =================================================================== --- trunk/yast/ta/Makefile.am (rev 0) +++ trunk/yast/ta/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/ta/README =================================================================== --- trunk/yast/ta/README (rev 0) +++ trunk/yast/ta/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/ta/configure.ac =================================================================== --- trunk/yast/ta/configure.ac (rev 0) +++ trunk/yast/ta/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-ta +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-ta, 3.1.0, http://bugs.opensuse.org/, yast2-trans-ta) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-ta" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/ta/po/Makefile.am =================================================================== --- trunk/yast/ta/po/Makefile.am (rev 0) +++ trunk/yast/ta/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/tg/COPYING =================================================================== --- trunk/yast/tg/COPYING (rev 0) +++ trunk/yast/tg/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/tg/Makefile.am =================================================================== --- trunk/yast/tg/Makefile.am (rev 0) +++ trunk/yast/tg/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/tg/README =================================================================== --- trunk/yast/tg/README (rev 0) +++ trunk/yast/tg/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/tg/configure.ac =================================================================== --- trunk/yast/tg/configure.ac (rev 0) +++ trunk/yast/tg/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-tg +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-tg, 3.1.0, http://bugs.opensuse.org/, yast2-trans-tg) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-tg" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/tg/po/Makefile.am =================================================================== --- trunk/yast/tg/po/Makefile.am (rev 0) +++ trunk/yast/tg/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/th/COPYING =================================================================== --- trunk/yast/th/COPYING (rev 0) +++ trunk/yast/th/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/th/Makefile.am =================================================================== --- trunk/yast/th/Makefile.am (rev 0) +++ trunk/yast/th/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/th/README =================================================================== --- trunk/yast/th/README (rev 0) +++ trunk/yast/th/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/th/configure.ac =================================================================== --- trunk/yast/th/configure.ac (rev 0) +++ trunk/yast/th/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-th +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-th, 3.1.0, http://bugs.opensuse.org/, yast2-trans-th) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-th" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/th/po/Makefile.am =================================================================== --- trunk/yast/th/po/Makefile.am (rev 0) +++ trunk/yast/th/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/tk/COPYING =================================================================== --- trunk/yast/tk/COPYING (rev 0) +++ trunk/yast/tk/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/tk/Makefile.am =================================================================== --- trunk/yast/tk/Makefile.am (rev 0) +++ trunk/yast/tk/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/tk/README =================================================================== --- trunk/yast/tk/README (rev 0) +++ trunk/yast/tk/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/tk/configure.ac =================================================================== --- trunk/yast/tk/configure.ac (rev 0) +++ trunk/yast/tk/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-tk +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-tk, 3.1.0, http://bugs.opensuse.org/, yast2-trans-tk) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-tk" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/tk/po/Makefile.am =================================================================== --- trunk/yast/tk/po/Makefile.am (rev 0) +++ trunk/yast/tk/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/tr/COPYING =================================================================== --- trunk/yast/tr/COPYING (rev 0) +++ trunk/yast/tr/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/tr/Makefile.am =================================================================== --- trunk/yast/tr/Makefile.am (rev 0) +++ trunk/yast/tr/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/tr/README =================================================================== --- trunk/yast/tr/README (rev 0) +++ trunk/yast/tr/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/tr/configure.ac =================================================================== --- trunk/yast/tr/configure.ac (rev 0) +++ trunk/yast/tr/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-tr +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-tr, 3.1.0, http://bugs.opensuse.org/, yast2-trans-tr) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-tr" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/tr/po/Makefile.am =================================================================== --- trunk/yast/tr/po/Makefile.am (rev 0) +++ trunk/yast/tr/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/uk/COPYING =================================================================== --- trunk/yast/uk/COPYING (rev 0) +++ trunk/yast/uk/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/uk/Makefile.am =================================================================== --- trunk/yast/uk/Makefile.am (rev 0) +++ trunk/yast/uk/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/uk/README =================================================================== --- trunk/yast/uk/README (rev 0) +++ trunk/yast/uk/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/uk/configure.ac =================================================================== --- trunk/yast/uk/configure.ac (rev 0) +++ trunk/yast/uk/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-uk +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-uk, 3.1.0, http://bugs.opensuse.org/, yast2-trans-uk) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-uk" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/uk/po/Makefile.am =================================================================== --- trunk/yast/uk/po/Makefile.am (rev 0) +++ trunk/yast/uk/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/vi/COPYING =================================================================== --- trunk/yast/vi/COPYING (rev 0) +++ trunk/yast/vi/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/vi/Makefile.am =================================================================== --- trunk/yast/vi/Makefile.am (rev 0) +++ trunk/yast/vi/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/vi/README =================================================================== --- trunk/yast/vi/README (rev 0) +++ trunk/yast/vi/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/vi/configure.ac =================================================================== --- trunk/yast/vi/configure.ac (rev 0) +++ trunk/yast/vi/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-vi +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-vi, 3.1.0, http://bugs.opensuse.org/, yast2-trans-vi) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-vi" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/vi/po/Makefile.am =================================================================== --- trunk/yast/vi/po/Makefile.am (rev 0) +++ trunk/yast/vi/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/wa/COPYING =================================================================== --- trunk/yast/wa/COPYING (rev 0) +++ trunk/yast/wa/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/wa/Makefile.am =================================================================== --- trunk/yast/wa/Makefile.am (rev 0) +++ trunk/yast/wa/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/wa/README =================================================================== --- trunk/yast/wa/README (rev 0) +++ trunk/yast/wa/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/wa/configure.ac =================================================================== --- trunk/yast/wa/configure.ac (rev 0) +++ trunk/yast/wa/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-wa +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-wa, 3.1.0, http://bugs.opensuse.org/, yast2-trans-wa) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-wa" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/wa/po/Makefile.am =================================================================== --- trunk/yast/wa/po/Makefile.am (rev 0) +++ trunk/yast/wa/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/xh/COPYING =================================================================== --- trunk/yast/xh/COPYING (rev 0) +++ trunk/yast/xh/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/xh/Makefile.am =================================================================== --- trunk/yast/xh/Makefile.am (rev 0) +++ trunk/yast/xh/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/xh/README =================================================================== --- trunk/yast/xh/README (rev 0) +++ trunk/yast/xh/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/xh/configure.ac =================================================================== --- trunk/yast/xh/configure.ac (rev 0) +++ trunk/yast/xh/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-xh +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-xh, 3.1.0, http://bugs.opensuse.org/, yast2-trans-xh) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-xh" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/xh/po/Makefile.am =================================================================== --- trunk/yast/xh/po/Makefile.am (rev 0) +++ trunk/yast/xh/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/zh_CN/COPYING =================================================================== --- trunk/yast/zh_CN/COPYING (rev 0) +++ trunk/yast/zh_CN/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/zh_CN/Makefile.am =================================================================== --- trunk/yast/zh_CN/Makefile.am (rev 0) +++ trunk/yast/zh_CN/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/zh_CN/README =================================================================== --- trunk/yast/zh_CN/README (rev 0) +++ trunk/yast/zh_CN/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/zh_CN/configure.ac =================================================================== --- trunk/yast/zh_CN/configure.ac (rev 0) +++ trunk/yast/zh_CN/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-zh_CN +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-zh_CN, 3.1.0, http://bugs.opensuse.org/, yast2-trans-zh_CN) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-zh_CN" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/zh_CN/po/Makefile.am =================================================================== --- trunk/yast/zh_CN/po/Makefile.am (rev 0) +++ trunk/yast/zh_CN/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/zh_TW/COPYING =================================================================== --- trunk/yast/zh_TW/COPYING (rev 0) +++ trunk/yast/zh_TW/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/zh_TW/Makefile.am =================================================================== --- trunk/yast/zh_TW/Makefile.am (rev 0) +++ trunk/yast/zh_TW/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/zh_TW/README =================================================================== --- trunk/yast/zh_TW/README (rev 0) +++ trunk/yast/zh_TW/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/zh_TW/configure.ac =================================================================== --- trunk/yast/zh_TW/configure.ac (rev 0) +++ trunk/yast/zh_TW/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-zh_TW +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-zh_TW, 3.1.0, http://bugs.opensuse.org/, yast2-trans-zh_TW) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-zh_TW" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/zh_TW/po/Makefile.am =================================================================== --- trunk/yast/zh_TW/po/Makefile.am (rev 0) +++ trunk/yast/zh_TW/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- Added: trunk/yast/zu/COPYING =================================================================== --- trunk/yast/zu/COPYING (rev 0) +++ trunk/yast/zu/COPYING 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/yast/zu/Makefile.am =================================================================== --- trunk/yast/zu/Makefile.am (rev 0) +++ trunk/yast/zu/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,196 @@ +# Emacs: -*- makefile -*- +# +# Toplevel Makefile.am for a YaST2 subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# (Edit ./SUBDIRS instead) +# + +#where devtools are +Y2TOOL = $(Y2DEVTOOLS_PREFIX)/bin/y2tool + +VERSION = $(shell cat $(srcdir)/VERSION) +RPMNAME = $(shell cat $(srcdir)/RPMNAME) +SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS) +ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4) + +HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE) + +# do we do Makefile.am for devtools? It is a little special... +IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME)) + +DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools) +LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl) + +COPYRIGHT_files_gpl = README COPYING + +COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \ + COPYRIGHT.french COPYRIGHT.german COPYRIGHT.spanish + +extra_COPYRIGHT_files = $(if $(HAS_YAST_LICENSE), $(COPYRIGHT_files_yast), $(COPYRIGHT_files_gpl)) + +# less strict; prefer bzip2 +AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip +# where devtools install m4 snippets +# argh, executed literally +#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal +ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal + +Makefile.am.common: $(DEVTOOLS_DIR)/admin/Makefile.am.common + cmp -s $< $@ || cp -f $< $@ + +# create bzip2ed tar and make some sanity checks +$(RPMNAME)-$(VERSION).tar.bz2: checkpo dist-bzip2 + @if [ `bunzip2 -c $(RPMNAME)-$(VERSION).tar.bz2 | wc --bytes` = 0 ] ; then \ + echo "Error: created tar is empty" ; \ + exit 1 ; \ + fi + +CLEANFILES = +MAINTAINERCLEANFILES = package/$(RPMNAME)-$(VERSION).tar.bz2 package/$(RPMNAME).spec + +POT_DST = $(shell find -type d -name testsuite -prune , \ + -type f -name "*.pot") + +EXTRA_DIST = \ + VERSION RPMNAME MAINTAINER configure.in.in \ + $(SUBDIRS_FILE) $(ACINCLUDE_FILE) \ + $(if $(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) + +show-extra-dist: + @echo $(EXTRA_DIST) + +# info '(automake)Conditionals' +if CREATE_PKGCONFIG +# create the file here instead of by configure +# because the prerequisite is made here (not anymore!) +# and we don't want any paths in y2autoconf +# info '(autoconf)config.status Invocation' +$(RPMNAME).pc: $(RPMNAME).pc.in config.status + ./config.status --file=$@:$< + +if CREATE_PKGCONFIG_NOARCH +pkgconfigdata_DATA = $(RPMNAME).pc +else +pkgconfig_DATA = $(RPMNAME).pc +endif + +EXTRA_DIST += $(RPMNAME).pc.in +endif + +dist-hook: + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $$LEGALESE_DIR/"; \ + exit 1 ; \ + fi ; \ + echo "cp $$EX $(distdir)" ; \ + cp $$EX "$(distdir)" ; \ + done + +pot: + $(Y2TOOL) y2makepot -s $(srcdir) + +install-pot: pot + @POT_DST=`find -type d -name testsuite -prune , \ + -type f -name "*.pot"` ; \ + if [ -n "$$POT_DST" ] ; then \ + echo "mkdir -p $(DESTDIR)$(potdir)" ; \ + mkdir -p $(DESTDIR)$(potdir) ; \ + list="$$POT_DST"; \ + for I in $$list ; \ + do \ + echo $$I ; \ + if [ "$$I" == "pot" ] ; then \ + continue ; \ + fi ; \ + echo "$(INSTALL_DATA) $$I $(DESTDIR)$(potdir)" ; \ + $(INSTALL_DATA) $$I $(DESTDIR)$(potdir) ; \ + done ; \ + fi + +spellcheck: pot + $(Y2TOOL) pot-spellcheck + +# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST)) + +install-data-local: # $(if $(IS_DEVTOOLS),,install-pot) + mkdir -p $(DESTDIR)$(docdir) + @for I in $(extra_COPYRIGHT_files) ; \ + do \ + EX="" ; \ + if test -f $(srcdir)/$$I ; then \ + EX=$(srcdir)/$$I ; \ + elif test -f $(LEGALESE_DIR)/$$I ; then \ + EX=$(LEGALESE_DIR)/$$I ; \ + else \ + echo "Error: No file $$I in $(srcdir)/ or in $(LEGALESE_DIR)/"; \ + exit 1 ; \ + fi ; \ + echo "$(INSTALL_DATA) $$EX $(DESTDIR)$(docdir)" ; \ + $(INSTALL_DATA) $$EX $(DESTDIR)$(docdir) ; \ + done + +package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION).tar.bz2 + rm -f package/$(RPMNAME)-*.tar.bz2 + rm -f package/*~ + rm -f package/*.bak + rm -f package/*.auto + mv $(RPMNAME)-$(VERSION).tar.bz2 package/ + if ! test -x $(Y2TOOL); then \ + echo "$(Y2TOOL): not found."; \ + echo "You have to install yast2-devtools to making a package"; \ + false; \ + fi + here=`pwd`; \ + cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \ + newname="`echo "$$i" | sed "s/\.in$$//g"`"; \ + $(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \ + done + +package: check-up-to-date check-tagversion check-textdomain package-local + +TAGVERSION = $(Y2TOOL) tagversion + +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ + fi + +check-tagversion: + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ + [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) + +check-parse-old: + @if [ `find -type f -name "*.ycp" | wc -l` -gt 0 -a "$(RPMNAME)" != "yast2-core" ] ; then \ + echo "Running parseycp..." ; \ + parseycp -q -R ; \ + else \ + echo "Not running parseycp." ; \ + fi + +check-parse: + @echo "Not running parseycp." + +check-textdomain: + $(Y2TOOL) check-textdomain $(srcdir) + +stable: checkin-stable + +checkin-stable: package + $(Y2TOOL) checkin-stable + + +# For po/ modules +checkpo: + test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo +# test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox +# Contents of ./SUBDIRS +SUBDIRS = po Added: trunk/yast/zu/README =================================================================== --- trunk/yast/zu/README (rev 0) +++ trunk/yast/zu/README 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,2 @@ +This program/library is part of YaST2 +See the file COPYING for license terms Added: trunk/yast/zu/configure.ac =================================================================== --- trunk/yast/zu/configure.ac (rev 0) +++ trunk/yast/zu/configure.ac 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,184 @@ +dnl configure.ac for yast2-trans-zu +dnl +dnl -- This file is generated by y2autoconf 3.0.5 - DO NOT EDIT! -- +dnl (edit configure.ac.in or configure.in.in instead) + +AC_INIT(yast2-trans-zu, 3.1.0, http://bugs.opensuse.org/, yast2-trans-zu) +dnl Check for presence of file 'RPMNAME' +AC_CONFIG_SRCDIR([RPMNAME]) + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_TARGET +dnl Perform program name transformation +AC_ARG_PROGRAM + +AC_PREFIX_DEFAULT(/usr) + +dnl long filenames; we use GNU Make extensions and that's ok +AM_INIT_AUTOMAKE(tar-ustar -Wno-portability) + +dnl Important YaST2 variables +VERSION="3.1.0" +RPMNAME="yast2-trans-zu" +MAINTAINER="Karl Eichwalder <ke@suse.de>" + +dnl pkgconfig honors lib64 +pkgconfigdir=\${libdir}/pkgconfig +pkgconfigdatadir=\${datadir}/pkgconfig +yast2dir=\${prefix}/share/YaST2 + +ybindir=\${prefix}/lib/YaST2/bin +# FIXME duplicates execcompdir +ystartupdir=\${prefix}/lib/YaST2 +plugindir=\${libdir}/YaST2/plugin +includedir=\${prefix}/include/YaST2 +potdir=\${docdir}/pot + +docdir=\${prefix}/share/doc/packages/$RPMNAME +mandir=\${prefix}/share/man + +execcompdir=\${prefix}/lib/YaST2 +agentdir=${execcompdir}/servers_non_y2 + +ydatadir=${yast2dir}/data +imagedir=${yast2dir}/images +themedir=${yast2dir}/theme +localedir=${yast2dir}/locale +clientdir=${yast2dir}/clients +moduledir=${yast2dir}/modules +yncludedir=${yast2dir}/include +schemadir=${yast2dir}/schema +scrconfdir=${yast2dir}/scrconf +desktopdir=\${prefix}/share/applications/YaST2 + +AC_SUBST(VERSION) +AC_SUBST(RPMNAME) +AC_SUBST(MAINTAINER) + +AC_SUBST(pkgconfigdir) +AC_SUBST(pkgconfigdatadir) + +AC_SUBST(yast2dir) + +AC_SUBST(ybindir) +AC_SUBST(ystartupdir) +AC_SUBST(plugindir) +AC_SUBST(includedir) +AC_SUBST(potdir) +AC_SUBST(execcompdir) + +AC_SUBST(docdir) +AC_SUBST(mandir) + +AC_SUBST(ydatadir) +AC_SUBST(imagedir) +AC_SUBST(themedir) +AC_SUBST(localedir) +AC_SUBST(clientdir) +AC_SUBST(moduledir) +AC_SUBST(yncludedir) +AC_SUBST(schemadir) +AC_SUBST(scrconfdir) +AC_SUBST(agentdir) +AC_SUBST(desktopdir) + +fillupdir_d="/var/adm/fillup-templates" +AC_ARG_WITH(fillupdir, + AS_HELP_STRING([--with-fillupdir=DIR], + [where to place fillup templates (default $fillupdir_d.]), + [ fillupdir="$withval" ], + [ fillupdir="$fillupdir_d" ]) +AC_SUBST(fillupdir) + +LL=${RPMNAME##*-} +AC_SUBST(LL) +ISO639=${LL%_*} +AC_SUBST(ISO639) + +AC_ARG_WITH(own_compendium, + AS_HELP_STRING([--with-own_compendium=FILE], + [Location of compendium file]), + y2compendium=yes, y2compendium=no) +if test "x$with_own_compendium" = "x" ; then + if test -d ../50-memory ; then + COMPENDIUM='../../50-memory/yast2.$(LL).po' + else + COMPENDIUM='../../memory/yast2.$(LL).po' + fi +else + COMPENDIUM=${with_own_compendium} +fi +AC_SUBST(COMPENDIUM) +if test -d ../50-pot ; then + POTDIR=../../50-pot +else + POTDIR=../../pot/pot +fi +AC_SUBST(POTDIR) + + +dnl Checks for programs. +AC_PROG_INSTALL +dnl The YCP interpreter checks whether dependent ybc files are older +dnl so we must preserve their timestamps +INSTALL="${INSTALL} -p" +AC_PROG_LN_S +AC_PROG_MAKE_SET + +dnl pkgconfig +AC_ARG_VAR([PKG_CONFIG_PATH], [where to search for pkg-config files]) +dnl devtools +dnl ... + +dnl no need for AC_ARG_VAR +AC_PATH_PROG(XGETTEXT, xgettext) +if test -z "$XGETTEXT" ; then + AC_MSG_ERROR(xgettext is missing; please install gettext-tools.) +fi + +Y2DEVTOOLS_PREFIX=`pkg-config --print-errors --variable=prefix yast2-devtools` +AC_SUBST(Y2DEVTOOLS_PREFIX) +devtools_ybindir=`pkg-config --print-errors --variable=ybindir yast2-devtools` +devtools_yast2dir=`pkg-config --print-errors --variable=yast2dir yast2-devtools` + +dnl producing pkg-config for others? +AM_CONDITIONAL(CREATE_PKGCONFIG, test "x${CREATE_PKGCONFIG}" != x) +AM_CONDITIONAL(CREATE_PKGCONFIG_NOARCH, test "x${CREATE_PKGCONFIG}" = xnoarch) + +dbdir=${devtools_yast2dir}/data/docbook +STYLESHEET_HTML=${dbdir}/stylesheets/customize-html.xsl +STYLESHEET_PDF=${dbdir}/stylesheets/customize-fo.xsl +STYLESHEET_CSS=${dbdir}/css/yast2docs.css +STYLESHEET_YDOC=${dbdir}/stylesheets/ydoc.xsl +STYLESHEET_YCPDOC=${dbdir}/stylesheets/ycpdoc.xsl +AC_SUBST(STYLESHEET_HTML) +AC_SUBST(STYLESHEET_PDF) +AC_SUBST(STYLESHEET_CSS) +AC_SUBST(STYLESHEET_YDOC) +AC_SUBST(STYLESHEET_YCPDOC) + + +dnl searches for some needed programs +AC_PATH_PROG(MSGFMT, msgfmt, no, /usr/bin) +if test x$MSGFMT != x"/usr/bin/msgfmt"; then + AC_MSG_ERROR(msgfmt is missing; please install gettext.) +fi +AC_PATH_PROGS(MSGCAT, msgcat pmsgcat, no) +if test x$MSGCAT = xno; then + AC_MSG_ERROR(msgcat is missing; please install gettext-0.11pre or better.) +fi + +AC_PATH_PROG(MSGMERGE, msgmerge, no, /usr/bin) +if test x$MSGMERGE != x"/usr/bin/msgmerge"; then + AC_MSG_ERROR(msgmerge is missing; please install gettext.) +fi + +AC_PATH_PROG(MSGCONV, msgconv, no, /usr/bin) +if test x$MSGCONV != x"/usr/bin/msgconv"; then + AC_MSG_ERROR(msgconv is missing; please install gettext.) +fi + + +AC_CONFIG_FILES(Makefile po/Makefile) +AC_OUTPUT + Added: trunk/yast/zu/po/Makefile.am =================================================================== --- trunk/yast/zu/po/Makefile.am (rev 0) +++ trunk/yast/zu/po/Makefile.am 2015-09-29 10:47:28 UTC (rev 92876) @@ -0,0 +1,175 @@ +# Emacs: -*- makefile -*- +# +# Makefile.am for a YaST2 translation (po/) subproject +# +# -- This file is generated by y2automake - DO NOT EDIT! -- +# +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# Emacs: -*- makefile -*- +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.top --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# Emacs: -*- makefile -*- + +LL = @LL@ +#POTDIR = ../../50-pot +POTDIR = @POTDIR@ +POTFILES = $(wildcard $(POTDIR)/*.pot) +GENERATED = $(MOFILES) +CLEANFILES = $(GENERATED) +POFILES = $(wildcard *.po) +ALL_TEXTDOMAINS = $(basename $(notdir $(POTFILES))) +BPOTFILES = $(shell source ../../50-tools/build.conf && echo $$business) +WANTED_TEXTDOMAINS = $(filter-out $(BPOTFILES), $(ALL_TEXTDOMAINS)) +WANTED_POFILES = $(addsuffix .$(LL).po, $(WANTED_TEXTDOMAINS)) +MOFILES = $(POFILES:%.po=%.mo) +INST_MOFILES = $(MOFILES:.$(LL).mo=.mo) +POXFILES = $(POFILES:%.po=%.pox) +EXTRA_DIST = $(WANTED_POFILES) $(stat) +localedir=@localedir@ +locale_lang_msg_dir=$(localedir)/$(LL)/LC_MESSAGES +compendium = @COMPENDIUM@ +with_compendium = + +stat=status.txt +PO_STATS= grep -v warning: | @ybindir@/po-stats + +MSGMERGE = @MSGMERGE@ --no-wrap --force-po --previous +MSGFMT = @MSGFMT@ +MSGCAT = @MSGCAT@ --no-wrap --force-po +MSGCONV = @MSGCONV@ --no-wrap --force-po +XGETTEXT = @XGETTEXT@ --no-wrap + +SUFFIXES = .po .pox .gmo .mo + +all-local: $(GENERATED) + +make-pox pox: Makefile $(POXFILES) +$(POXFILES): %.pox: %.po + -[ -f $@ ] && mv --backup=numbered $@ $@.bak; \ + pot=$$(echo $< | sed "s:$(LL).po:pot:"); \ + compendium=$(compendium); \ + [ -f $$compendium ] || compendium=/dev/null ; \ + $(MSGMERGE) -C $$compendium -o $@ $< $(POTDIR)/$$pot + +# update or init PO file +update-po: Makefile $(POTFILES) + for p in $(POTFILES); do \ + q=$${p##*/}; \ + po=$${q%pot}$(LL).po; \ + echo $$po; \ + if [ -f $$po ]; then \ + $(MSGMERGE) -o $$po.tmp $(with_compendium) $$po $$p; \ + else \ + $(MSGMERGE) -o $$po.tmp -C $(compendium) \ + --verbose /dev/null $$p; \ + fi || { echo "$(MSGMERGE) for \"$$po\" failed" ; \ + rm -f $$po.tmp ; }; \ + if cmp $$po.tmp $$po >/dev/null 2>&1; then \ + rm -vf $$po.tmp; \ + else \ + mv -vf $$po.tmp $$po; \ + fi; \ + done + $(MAKE) $(stat) + +$(stat): $(WANTED_POFILES) + if [ -f $(stat) ]; then \ + cp --backup=numbered $(stat) $(stat).bak; \ + :> $(stat); \ + fi + { for f in $(WANTED_POFILES); do \ + LANG=C msgfmt -o /dev/null -c -v --statistics $$f 2>&1; \ + done ; } | $(PO_STATS) | head -n 6 | tee $(stat) + +update-po-with-compendium: + $(MAKE) update-po with_compendium="-C $(compendium)" + +update-mo: $(MOFILES) + @: + +%.mo: %.po + file=$(srcdir)/`echo $* | sed 's,.*/,,'`.mo \ + && rm -f $$file \ + && $(MSGCONV) --to UTF-8 $< \ + | $(MSGFMT) -c --statistics -o $$file - + +showpo: + echo $(POFILES) + +showmo: + echo $(MOFILES) + +checkpo: + for f in $(POFILES); do \ + mypot=$(POTDIR)/$${f/$(LL).po/pot}; echo $$f $$mypot; \ + [ -f $$mypot ] && { LANG=C $(MSGMERGE) --verbose --output=/dev/null $$f $$mypot || exit 1; }; \ + LANG=C $(MSGFMT) --output=/dev/null --check --statistics --verbose $$f \ + || exit 1; \ + done + +# Try to checkin a .pox file +# FIXME make sure msgcat doesn't weird things with "" and comments +checkin: + p=$(MODULE).$(ci_ll); \ + cp --backup=numbered $(ci_opt) $$p.po $$p.po.bak; \ + if [ -d CVS ]; then \ + cvs -n update $$p.po | grep -q -v '^[UPMC]'; \ + else \ + LC_ALL=C svn status --show-updates --quiet $$p.po| grep -v '^Status against revision'; \ + fi; \ + if [ $$? = 0 ]; then \ + echo "CVS/Subversion mismatch; trying to merge..."; \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo -e "Then try again to checkin \"$$p.pox\"."; \ + else \ + cp $(ci_opt) $$p.pox $$p.po; \ + if [ -d CVS ]; then \ + cvs -n ci $$p.po; \ + else \ + svn --dry-run commit $$p.po; \ + fi; \ + if [ $$? = 0 ] ; then \ + if [ -d CVS ]; then \ + cvs ci -m "$(ci_msg)" $$p.po; \ + else \ + svn commit --message "$(ci_msg)" $$p.po; \ + fi; \ + else \ + rm -f $$p.po; \ + if [ -d CVS ]; then \ + cvs -q update $$p.po; \ + else \ + svn update $$p.po; \ + fi; \ + cp $$p.pox $$p.pox.new; \ + $(MSGCAT) $$p.po $$p.pox.new -o $$p.pox; \ + echo -e "\nCheck \"$$p.pox\" for fuzzy entries. Status:"; \ + $(MSGFMT) --check --statistics $$p.pox; \ + echo "Then try to checkin \"$$p.pox\"."; \ + fi; \ + fi + +install-data-local: $(MOFILES) $(stat) + D=$(DESTDIR)$(locale_lang_msg_dir); \ + [ -d $$D ] || install -d -m 755 $$D; \ + for l in $(MOFILES); do \ + m=$${l/$(LL).mo/mo}; \ + install -m 644 $$l $$D/$$m; \ + done + install -d -m 755 $(DESTDIR)$(docdir) + $(INSTALL_DATA) $(stat) $(DESTDIR)$(docdir) +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.center --- +# --- START lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom --- +# Emacs: -*- makefile -*- + +## po/Makefile.am.bottom ends here +# --- END lines from /usr/share/YaST2/data/devtools/admin/po/Makefile.am.bottom ---