GNU Stow 2.2.2 released

Adam Spiers <[email protected]> Mon, 9 Nov 2015 21:58:02 +0000
Newsgroups gmane.comp.gnu.stow.devel
Message-ID <[email protected]>
--yNb1oOkm5a9FJOVX
Content-Type: text/plain; charset=us-ascii; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/"
Content-Disposition: inline

Hi all,

GNU Stow 2.2.2 is now available for download from

 http://ftp.gnu.org/gnu/stow/

and also from the mirrors[1] as soon as they catch up.

Stow is a tool for managing the installation of multiple software
packages to a shared run-time directory tree (e.g. /usr/local) via
symlinks, whilst keeping the files from each package separate.  Whilst
it has often been used to manage system-wide software installations,
it also provides a clean mechanism for managing software and
configuration files in users' home directories[2].  More information
is available at the homepage:

   http://www.gnu.org/software/stow/

Below are the headline changes since 2.2.0.  (Version 2.2.1 was not
uploaded since the automatic checks at pause.perl.org discovered an
issue with Stow::Util missing $VERSION.)  See the ChangeLog for full
details.

--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------
* Changes in version 2.2.2

** @VERSION@ substitution was set up for the Stow::Util module.

* Changes in version 2.2.1

** Small improvements to documentation

*** The README has been revamped.

*** Some index points have been added to the manual.

*** Some typos were fixed.

*** @VERSION@ substitution was fixed in the stow(8) man page.

** Fix Perl warnings

   Stow no longer emits "v-string in use/require non-portable" and
   "Possible precedence issue with control flow operator" warnings
   with newer Perl versions.  See https://savannah.gnu.org/bugs/?36478
   and http://lists.gnu.org/archive/html/bug-stow/2014-06/msg00000.html
   for full details.

** Fix "Undefined subroutine &main::error" error

   See https://rt.cpan.org/Public/Bug/Display.html?id=75349 for details.

** Failed system calls now include error description

   This should make errors easier to understand.

** Default ignore list now ignores top-level README.*, LICENSE.*, and COPYING

   These files are by definition specific to a given package, so if
   they exist in the top-level directory, they should not be stowed.

** Correctly handle the stow/target directories as non-canonical paths

   Fix the case discovered by Hiroyuki Iwatsuki where stowing fails if
   the stow / target directories are non-canonical paths.  For
   example, on FreeBSD /home is a symlink pointing to 'usr/home', so
   running with the stow directory as /home/user/local/stow and the
   target directory as /home/user/local previously resulted in the
   stow directory path being calculated as
   ../../../usr/home/user/local/stow relative to the target.

   See http://article.gmane.org/gmane.comp.gnu.stow.bugs/8820 for details.

** Fix stowing of relative links when --no-folding is used.

   With a tree like this:

       .
       |-- stow
       |   `-- pkg
       |       `-- lib
       |           |-- itk-current -> itk4.0.0
       |           `-- itk4.0.0
       |               `-- libitk4.0.0.so
       `-- target
           `-- lib
               |-- itk4.0.0 -> ../../stow/pkg/lib/itk4.0.0
               `-- libfoo-1.2.3.so

   stowing pkg with the --no-folding option resulted in itk-current
   being "unpacked":

       .
       `-- target
           `-- lib
               |-- itk-current
               |   `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk-current/libitk4.0.0.so
               |-- itk4.0.0
               |   `-- libitk4.0.0.so -> ../../../stow/pkg/lib/itk4.0.0/libitk4.0.0.so
               `-- libfoo-1.2.3.so

   This commit fixes it so that it gets stowed as a symlink:

     .
     `-- target
         `-- lib
             ...
             |-- itk-current -> ../../stow/pkg/lib/itk-current
             ...

   Thanks to Gabriele Balducci for reporting this problem:

       http://thread.gmane.org/gmane.comp.gnu.stow.general/6676

** Internal code cleanups

*** aclocal was updated.

*** automake files were removed.

*** Trailing whitespace was removed.

*** Comments were added.

*** Debug messages were improved.

--------- 8< --------- 8< --------- 8< --------- 8< --------- 8< ---------


Happy hacking,
Adam

[1] You can see a list of mirrors at <http://www.gnu.org/order/ftp.html>
    or use <http://ftpmirror.gnu.org/stow/> which will automatically
    redirect to a nearby mirror.

[2] http://lists.gnu.org/archive/html/info-stow/2011-12/msg00000.html

--yNb1oOkm5a9FJOVX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIVAwUBVkEW6tMbVWPawdT6AQKBmhAAmgQ3U5I8bDomKT0/F6LHfi0DwW1dM/8r
yJSnoJqQT/Litaw5i8pTI3XQLLeHMuDlfvy5i61+S0PfrI+ZerL+SryF7i1W6p1x
GTwyYMU7HJhy6Tk1KI3NycKKeOvgSeA96CGKb69xeKSeoxIRiHcOg6o9YqkGMloN
u6nE7mkPOZ0+YG+pCQyP2YL3I6Z0Q3nBsRY8HLoSmByKorR7YmKSPfVnIGYtEe9A
SEngE5+vqUU+nOgIeosJz5j+qpELbv8zd3zNFzfynCsg9IgUhA7l2D/4PsWHfm1X
8R5TePOELZ4kvtJHKHnTlSCZxUaFDFO+XyhKa9ElCRKXKnnKOdiJcccfidI7Xjmv
ZAgyjTMuP5bm0qj3SGzjY07o2NY8rUcizLj2IiPLlHGaKOJEgqabqqydvvxQQYfI
DsM0/1TV2N6elA6hkh4tc/jwkGV1N7Zl0afIMvfTNypn2OCUWSh4z67NHInzP/g/
a+qdrbfayI3/o9Fhq5NMF/Kh243LqADej06vC1gcSlCRrWEHUvIJ8y2qpSY95iz3
qALgKaXBi8MUxnwCuOeVbrvGj4wRq5HullfDe34lgVAD+b/VZU8sq4IQ9/VI9hba
M93ZcfI9NsQ6z4cf0LnUcFqFgNtLP6s6RIdyulTcecG0gM69cuo3foZi9nLiLbMU
9LI6u7qj4mE=
=v1QM
-----END PGP SIGNATURE-----

--yNb1oOkm5a9FJOVX--