Hello community, here is the log from the commit of package perl-File-HomeDir for openSUSE:Factory checked in at 2013-06-06 15:05:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-HomeDir (Old) and /work/SRC/openSUSE:Factory/.perl-File-HomeDir.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-HomeDir" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-HomeDir/perl-File-HomeDir.changes 2012-02-21 12:23:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-File-HomeDir.new/perl-File-HomeDir.changes 2013-06-06 15:05:54.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Jun 4 08:52:18 UTC 2013 - co...@suse.com + +- updated to 1.00 + - No functional changes + - Updating to Module::Install 1.06 + - Don't require documents directory on Mac under AUTOMATED_TESTING + +------------------------------------------------------------------- Old: ---- File-HomeDir-0.99.tar.gz New: ---- File-HomeDir-1.00.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-HomeDir.spec ++++++ --- /var/tmp/diff_new_pack.unB5kw/_old 2013-06-06 15:05:54.000000000 +0200 +++ /var/tmp/diff_new_pack.unB5kw/_new 2013-06-06 15:05:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-File-HomeDir # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-File-HomeDir -Version: 0.99 +Version: 1.00 Release: 0 %define cpan_name File-HomeDir Summary: Find your home and other directories on any platform @@ -38,7 +38,7 @@ #BuildRequires: perl(File::HomeDir::Driver) #BuildRequires: perl(File::HomeDir::Test) #BuildRequires: perl(File::HomeDir::Unix) -#BuildRequires: perl(inc::Module::Install) >= 1.04 +#BuildRequires: perl(inc::Module::Install) >= 1.06 #BuildRequires: perl(JSON) #BuildRequires: perl(LWP::Simple) #BuildRequires: perl(Mac::Files) @@ -74,7 +74,7 @@ back-compatibility reasons they will remain supported until at least 2010. The '%~' interface has been deprecated. Documentation was removed in 2009, -Unit test were removed in 2011, usage will issue warnings from 2013, and +Unit test were removed in 2011, usage will issue warnings from 2012, and the interface will be removed entirely in 2015 (in line with the general Perl toolchain convention of a 10 year support period for legacy APIs that are potentially or actually in common use). ++++++ File-HomeDir-0.99.tar.gz -> File-HomeDir-1.00.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/Changes new/File-HomeDir-1.00/Changes --- old/File-HomeDir-0.99/Changes 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/Changes 2012-10-19 23:35:24.000000000 +0200 @@ -1,5 +1,10 @@ Changes for Perl extension File-HomeDir +1.00 Fri 19 Oct 2012 + - No functional changes + - Updating to Module::Install 1.06 + - Don't require documents directory on Mac under AUTOMATED_TESTING + 0.99 Thu 26 Jan 2012 - Updating to Module::Install 1.04 - Removed deprecated interfaces from the documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/LICENSE new/File-HomeDir-1.00/LICENSE --- old/File-HomeDir-0.99/LICENSE 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/LICENSE 2012-10-19 23:35:24.000000000 +0200 @@ -8,266 +8,286 @@ ---------------------------------------------------------------------------- -The General Public License (GPL) -Version 2, June 1991 + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 -Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, -Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute -verbatim copies of this license document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away your freedom to share -and change it. By contrast, the GNU General Public License is intended to -guarantee your freedom to share and change free software--to make sure the -software is free for all its users. This General Public License applies to most of -the Free Software Foundation's software and to any other program whose -authors commit to using it. (Some other Free Software Foundation software is -covered by the GNU Library General Public License instead.) You can apply it to + 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 + 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. +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 + 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. +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 + END OF TERMS AND CONDITIONS ---------------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/META.yml new/File-HomeDir-1.00/META.yml --- old/File-HomeDir-0.99/META.yml 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/META.yml 2012-10-19 23:35:48.000000000 +0200 @@ -9,7 +9,7 @@ ExtUtils::MakeMaker: 6.36 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.04' +generated_by: 'Module::Install version 1.06' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -33,4 +33,4 @@ ChangeLog: http://fisheye2.atlassian.com/changelog/cpan/trunk/File-HomeDir license: http://dev.perl.org/licenses/ repository: http://svn.ali.as/cpan/trunk/File-HomeDir -version: 0.99 +version: 1.00 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/MYMETA.json new/File-HomeDir-1.00/MYMETA.json --- old/File-HomeDir-0.99/MYMETA.json 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/MYMETA.json 2012-10-19 23:35:48.000000000 +0200 @@ -4,7 +4,7 @@ "Adam Kennedy <ad...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Module::Install version 1.04, CPAN::Meta::Converter version 2.112621", + "generated_by" : "Module::Install version 1.06, CPAN::Meta::Converter version 2.120921", "license" : [ "perl_5" ], @@ -34,7 +34,7 @@ }, "runtime" : { "requires" : { - "Carp" : 0, + "Carp" : "0", "Cwd" : "3.12", "File::Path" : "2.01", "File::Spec" : "3.12", @@ -54,6 +54,6 @@ }, "x_ChangeLog" : "http://fisheye2.atlassian.com/changelog/cpan/trunk/File-HomeDir" }, - "version" : "0.99", + "version" : "1.00", "x_module_name" : "File::HomeDir" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/Makefile.PL new/File-HomeDir-1.00/Makefile.PL --- old/File-HomeDir-0.99/Makefile.PL 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/Makefile.PL 2012-10-19 23:35:24.000000000 +0200 @@ -1,4 +1,4 @@ -use inc::Module::Install 1.04; +use inc::Module::Install 1.06; use Config; all_from 'lib/File/HomeDir.pm'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/README new/File-HomeDir-1.00/README --- old/File-HomeDir-0.99/README 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/README 2012-10-19 23:35:24.000000000 +0200 @@ -50,7 +50,7 @@ The "%~" interface has been deprecated. Documentation was removed in 2009, Unit test were removed in 2011, usage will issue warnings from - 2013, and the interface will be removed entirely in 2015 (in line with + 2012, and the interface will be removed entirely in 2015 (in line with the general Perl toolchain convention of a 10 year support period for legacy APIs that are potentially or actually in common use). @@ -288,9 +288,6 @@ home/profile directory. TO DO - * Become generally clearer on situations in which a user might not - have a particular resource. - * Add more granularity to Unix, and add support to VMS and other esoteric platforms, so we can consider going core. @@ -324,7 +321,7 @@ address above. ACKNOWLEDGEMENTS - The biggest acknowledgement must go to Chris Nandor, who wielded his + The biggest acknowledgement goes to Chris Nandor, who wielded his legendary Mac-fu and turned my initial fairly ordinary Darwin implementation into something that actually worked properly everywhere, and then donated a Mac OS X license to allow it to be maintained diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Base.pm new/File-HomeDir-1.00/inc/Module/Install/Base.pm --- old/File-HomeDir-0.99/inc/Module/Install/Base.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Base.pm 2012-10-19 23:35:48.000000000 +0200 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; } # Suspend handler for "redefined" warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Can.pm new/File-HomeDir-1.00/inc/Module/Install/Can.pm --- old/File-HomeDir-0.99/inc/Module/Install/Can.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Can.pm 2012-10-19 23:35:48.000000000 +0200 @@ -3,13 +3,12 @@ use strict; use Config (); -use File::Spec (); use ExtUtils::MakeMaker (); use Module::Install::Base (); use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -29,7 +28,7 @@ eval { require $mod; $pkg->VERSION($ver || 0); 1 }; } -# check if we can run some command +# Check if we can run some command sub can_run { my ($self, $cmd) = @_; @@ -38,14 +37,88 @@ for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') { next if $dir eq ''; - my $abs = File::Spec->catfile($dir, $_[1]); + require File::Spec; + my $abs = File::Spec->catfile($dir, $cmd); return $abs if (-x $abs or $abs = MM->maybe_command($abs)); } return; } -# can we locate a (the) C compiler +# Can our C compiler environment build XS files +sub can_xs { + my $self = shift; + + # Ensure we have the CBuilder module + $self->configure_requires( 'ExtUtils::CBuilder' => 0.27 ); + + # Do we have the configure_requires checker? + local $@; + eval "require ExtUtils::CBuilder;"; + if ( $@ ) { + # They don't obey configure_requires, so it is + # someone old and delicate. Try to avoid hurting + # them by falling back to an older simpler test. + return $self->can_cc(); + } + + # Do we have a working C compiler + my $builder = ExtUtils::CBuilder->new( + quiet => 1, + ); + unless ( $builder->have_compiler ) { + # No working C compiler + return 0; + } + + # Write a C file representative of what XS becomes + require File::Temp; + my ( $FH, $tmpfile ) = File::Temp::tempfile( + "compilexs-XXXXX", + SUFFIX => '.c', + ); + binmode $FH; + print $FH <<'END_C'; +#include "EXTERN.h" +#include "perl.h" +#include "XSUB.h" + +int main(int argc, char **argv) { + return 0; +} + +int boot_sanexs() { + return 1; +} + +END_C + close $FH; + + # Can the C compiler access the same headers XS does + my @libs = (); + my $object = undef; + eval { + local $^W = 0; + $object = $builder->compile( + source => $tmpfile, + ); + @libs = $builder->link( + objects => $object, + module_name => 'sanexs', + ); + }; + my $result = $@ ? 0 : 1; + + # Clean up all the build files + foreach ( $tmpfile, $object, @libs ) { + next unless defined $_; + 1 while unlink; + } + + return $result; +} + +# Can we locate a (the) C compiler sub can_cc { my $self = shift; my @chunks = split(/ /, $Config::Config{cc}) or return; @@ -78,4 +151,4 @@ __END__ -#line 156 +#line 236 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Fetch.pm new/File-HomeDir-1.00/inc/Module/Install/Fetch.pm --- old/File-HomeDir-0.99/inc/Module/Install/Fetch.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Fetch.pm 2012-10-19 23:35:48.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Makefile.pm new/File-HomeDir-1.00/inc/Module/Install/Makefile.pm --- old/File-HomeDir-0.99/inc/Module/Install/Makefile.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Makefile.pm 2012-10-19 23:35:48.000000000 +0200 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -215,13 +215,17 @@ require ExtUtils::MakeMaker; if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) { - # MakeMaker can complain about module versions that include - # an underscore, even though its own version may contain one! - # Hence the funny regexp to get rid of it. See RT #35800 - # for details. - my ($v) = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/; - $self->build_requires( 'ExtUtils::MakeMaker' => $v ); - $self->configure_requires( 'ExtUtils::MakeMaker' => $v ); + # This previous attempted to inherit the version of + # ExtUtils::MakeMaker in use by the module author, but this + # was found to be untenable as some authors build releases + # using future dev versions of EU:MM that nobody else has. + # Instead, #toolchain suggests we use 6.59 which is the most + # stable version on CPAN at time of writing and is, to quote + # ribasushi, "not terminally fucked, > and tested enough". + # TODO: We will now need to maintain this over time to push + # the version up as new versions are released. + $self->build_requires( 'ExtUtils::MakeMaker' => 6.59 ); + $self->configure_requires( 'ExtUtils::MakeMaker' => 6.59 ); } else { # Allow legacy-compatibility with 5.005 by depending on the # most recent EU:MM that supported 5.005. @@ -411,4 +415,4 @@ __END__ -#line 540 +#line 544 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Metadata.pm new/File-HomeDir-1.00/inc/Module/Install/Metadata.pm --- old/File-HomeDir-0.99/inc/Module/Install/Metadata.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Metadata.pm 2012-10-19 23:35:48.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/Win32.pm new/File-HomeDir-1.00/inc/Module/Install/Win32.pm --- old/File-HomeDir-0.99/inc/Module/Install/Win32.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/Win32.pm 2012-10-19 23:35:48.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install/WriteAll.pm new/File-HomeDir-1.00/inc/Module/Install/WriteAll.pm --- old/File-HomeDir-0.99/inc/Module/Install/WriteAll.pm 2012-01-25 14:49:52.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install/WriteAll.pm 2012-10-19 23:35:48.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.04'; + $VERSION = '1.06'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/inc/Module/Install.pm new/File-HomeDir-1.00/inc/Module/Install.pm --- old/File-HomeDir-0.99/inc/Module/Install.pm 2012-01-25 14:49:51.000000000 +0100 +++ new/File-HomeDir-1.00/inc/Module/Install.pm 2012-10-19 23:35:47.000000000 +0200 @@ -31,7 +31,7 @@ # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.04'; + $VERSION = '1.06'; # Storage for the pseudo-singleton $MAIN = undef; @@ -467,4 +467,4 @@ 1; -# Copyright 2008 - 2011 Adam Kennedy. +# Copyright 2008 - 2012 Adam Kennedy. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Darwin/Carbon.pm new/File-HomeDir-1.00/lib/File/HomeDir/Darwin/Carbon.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Darwin/Carbon.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Darwin/Carbon.pm 2012-10-19 23:35:24.000000000 +0200 @@ -11,7 +11,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; # This is only a child class of the pure Perl darwin # class so that we can do homedir detection of all three diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Darwin/Cocoa.pm new/File-HomeDir-1.00/lib/File/HomeDir/Darwin/Cocoa.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Darwin/Cocoa.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Darwin/Cocoa.pm 2012-10-19 23:35:24.000000000 +0200 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Darwin'; # Load early if in a forking environment and we have diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Darwin.pm new/File-HomeDir-1.00/lib/File/HomeDir/Darwin.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Darwin.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Darwin.pm 2012-10-19 23:35:24.000000000 +0200 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Unix'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Driver.pm new/File-HomeDir-1.00/lib/File/HomeDir/Driver.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Driver.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Driver.pm 2012-10-19 23:35:24.000000000 +0200 @@ -9,7 +9,7 @@ use vars qw{$VERSION}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; } sub my_home { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/FreeDesktop.pm new/File-HomeDir-1.00/lib/File/HomeDir/FreeDesktop.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/FreeDesktop.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/FreeDesktop.pm 2012-10-19 23:35:24.000000000 +0200 @@ -14,7 +14,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Unix'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/MacOS9.pm new/File-HomeDir-1.00/lib/File/HomeDir/MacOS9.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/MacOS9.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/MacOS9.pm 2012-10-19 23:35:24.000000000 +0200 @@ -11,7 +11,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Driver'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Test.pm new/File-HomeDir-1.00/lib/File/HomeDir/Test.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Test.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Test.pm 2012-10-19 23:35:24.000000000 +0200 @@ -9,7 +9,7 @@ use vars qw{$VERSION @ISA %DIR $ENABLED}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Driver'; %DIR = (); $ENABLED = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Unix.pm new/File-HomeDir-1.00/lib/File/HomeDir/Unix.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Unix.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Unix.pm 2012-10-19 23:35:24.000000000 +0200 @@ -9,7 +9,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Driver'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir/Windows.pm new/File-HomeDir-1.00/lib/File/HomeDir/Windows.pm --- old/File-HomeDir-0.99/lib/File/HomeDir/Windows.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir/Windows.pm 2012-10-19 23:35:24.000000000 +0200 @@ -10,7 +10,7 @@ use vars qw{$VERSION @ISA}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; @ISA = 'File::HomeDir::Driver'; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/lib/File/HomeDir.pm new/File-HomeDir-1.00/lib/File/HomeDir.pm --- old/File-HomeDir-0.99/lib/File/HomeDir.pm 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/lib/File/HomeDir.pm 2012-10-19 23:35:24.000000000 +0200 @@ -12,7 +12,7 @@ # Globals use vars qw{$VERSION @ISA @EXPORT @EXPORT_OK $IMPLEMENTED_BY}; BEGIN { - $VERSION = '0.99'; + $VERSION = '1.00'; # Inherit manually require Exporter; @@ -378,7 +378,7 @@ back-compatibility reasons they will remain supported until at least 2010. The C<%~> interface has been deprecated. Documentation was removed in 2009, -Unit test were removed in 2011, usage will issue warnings from 2013, and the +Unit test were removed in 2011, usage will issue warnings from 2012, and the interface will be removed entirely in 2015 (in line with the general Perl toolchain convention of a 10 year support period for legacy APIs that are potentially or actually in common use). @@ -643,9 +643,6 @@ =over 4 -=item * Become generally clearer on situations in which a user might not -have a particular resource. - =item * Add more granularity to Unix, and add support to VMS and other esoteric platforms, so we can consider going core. @@ -683,7 +680,7 @@ =head1 ACKNOWLEDGEMENTS -The biggest acknowledgement must go to Chris Nandor, who wielded his +The biggest acknowledgement goes to Chris Nandor, who wielded his legendary Mac-fu and turned my initial fairly ordinary Darwin implementation into something that actually worked properly everywhere, and then donated a Mac OS X license to allow it to be maintained properly. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-HomeDir-0.99/t/02_main.t new/File-HomeDir-1.00/t/02_main.t --- old/File-HomeDir-0.99/t/02_main.t 2012-01-25 14:49:24.000000000 +0100 +++ new/File-HomeDir-1.00/t/02_main.t 2012-10-19 23:35:24.000000000 +0200 @@ -35,23 +35,25 @@ # Environment Detection and Plan # For what scenarios can we be sure that we have desktop/documents -my $NO_GETPWUID = 0; -my $HAVEHOME = 0; -my $HAVEDESKTOP = 0; -my $HAVEMUSIC = 0; -my $HAVEPICTURES = 0; -my $HAVEVIDEOS = 0; -my $HAVEOTHERS = 0; +my $NO_GETPWUID = 0; +my $HAVEHOME = 0; +my $HAVEDESKTOP = 0; +my $HAVEMUSIC = 0; +my $HAVEPICTURES = 0; +my $HAVEVIDEOS = 0; +my $HAVEDOCUMENTS = 0; +my $HAVEOTHERS = 0; # Various cases of things we should try to test for # Top level is entire classes of operating system. # Below that are more general things. if ( $^O eq 'MSWin32' ) { - $NO_GETPWUID = 1; - $HAVEHOME = 1; - $HAVEDESKTOP = 1; - $HAVEPICTURES = 1; - $HAVEOTHERS = 1; + $NO_GETPWUID = 1; + $HAVEHOME = 1; + $HAVEDESKTOP = 1; + $HAVEPICTURES = 1; + $HAVEDOCUMENTS = 1; + $HAVEOTHERS = 1; # My Music does not exist on Win2000 require Win32; @@ -85,47 +87,52 @@ if ( $ENV{AUTOMATED_TESTING} ) { # Automated testers on Mac (notably BINGOS) will often have # super stripped down testing users. - $HAVEHOME = 1; - $HAVEDESKTOP = 1; - $HAVEMUSIC = 0; - $HAVEPICTURES = 0; - $HAVEVIDEOS = 0; - $HAVEOTHERS = 1; + $HAVEHOME = 1; + $HAVEDESKTOP = 1; + $HAVEMUSIC = 0; + $HAVEPICTURES = 0; + $HAVEVIDEOS = 0; + $HAVEDOCUMENTS = 0; + $HAVEOTHERS = 1; } elsif ( $< ) { # Normal user - $HAVEHOME = 1; - $HAVEDESKTOP = 1; - $HAVEMUSIC = 1; - $HAVEPICTURES = 1; - $HAVEVIDEOS = 1; - $HAVEOTHERS = 1; + $HAVEHOME = 1; + $HAVEDESKTOP = 1; + $HAVEMUSIC = 1; + $HAVEPICTURES = 1; + $HAVEVIDEOS = 1; + $HAVEDOCUMENTS = 1; + $HAVEOTHERS = 1; } else { # Root can only be relied on to have a home - $HAVEHOME = 1; - $HAVEDESKTOP = 0; - $HAVEMUSIC = 0; - $HAVEPICTURES = 0; - $HAVEVIDEOS = 0; - $HAVEOTHERS = 0; + $HAVEHOME = 1; + $HAVEDESKTOP = 0; + $HAVEMUSIC = 0; + $HAVEPICTURES = 0; + $HAVEVIDEOS = 0; + $HAVEDOCUMENTS = 0; + $HAVEOTHERS = 0; } } elsif ( $File::HomeDir::IMPLEMENTED_BY eq 'File::HomeDir::FreeDesktop' ) { # On FreeDesktop we can't trust people to have a desktop (annoyingly) - $HAVEHOME = 1; - $HAVEDESKTOP = 0; - $HAVEMUSIC = 0; - $HAVEVIDEOS = 0; - $HAVEPICTURES = 0; - $HAVEOTHERS = 0; + $HAVEHOME = 1; + $HAVEDESKTOP = 0; + $HAVEMUSIC = 0; + $HAVEVIDEOS = 0; + $HAVEPICTURES = 0; + $HAVEDOCUMENTS = 0; + $HAVEOTHERS = 0; } else { # Default to traditional Unix - $HAVEHOME = 1; - $HAVEDESKTOP = 1; - $HAVEMUSIC = 1; - $HAVEPICTURES = 1; - $HAVEVIDEOS = 1; - $HAVEOTHERS = 1; + $HAVEHOME = 1; + $HAVEDESKTOP = 1; + $HAVEMUSIC = 1; + $HAVEPICTURES = 1; + $HAVEVIDEOS = 1; + $HAVEDOCUMENTS = 1; + $HAVEOTHERS = 1; } plan tests => 39; @@ -199,10 +206,11 @@ # Find this user's documents SKIP: { - skip("Cannot assume existance of documents", 3) unless $HAVEOTHERS; my $my_documents = File::HomeDir->my_documents; my $my_documents2 = File::HomeDir::my_documents(); is( $my_documents, $my_documents2, 'Different APIs give the same results' ); + + skip("Cannot assume existance of documents", 2) unless $HAVEDOCUMENTS; ok( !!($my_documents and is_dir $my_documents), 'Found our documents directory' ); ok( !!($my_documents2 and $my_documents2), 'Found our documents directory' ); } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org