pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/stow



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed May 14 05:19:26 UTC 2025

Modified Files:
        pkgsrc/sysutils/stow: Makefile PLIST distinfo

Log Message:
stow: update to 2.4.1.

Closes PR 59420 by Kaguya Miyama.

* Changes in version 2.4.1

*** Fix precedence warning with Perl 5.40.

    Perl 5.40.0 extended the scope of the "Possible precedence issue
    with control flow operator" warnings to include ternary operators,
    which reintroduced this warning when running Stow on Perl >= 5.40.0.
    This has now been fixed.

*** =--dotfiles= option now works correctly with ignore lists

    If the =--dotfiles= option was enabled, files in the package such
    as =dot-gitignore= would be translated to =.gitignore= prior to
    stowing, and consequently ignored by the default ignore list.
    However any file named =dot-*= in a package is obviously intended
    to be stowed as a dot file, so should not be ignored.

    To fix this, Stow now ignores based on the name in the package,
    not the potentially translated name used for stowing, and
    similarly for unstowing.

*** Use shell-like parsing for =.stowrc= arguments

    If a file path or regex in =.stowrc= has a space, the option
    previously broke because it would have been treated as two options
    instead of one.  Now it's possible to include options using
    shell-like quoting, e.g.:

    --target="$HOME/dir with space in/file with space in"
    --ignore=\\$FOO\\$

*** Make dependency on LaTeX optional

    Previously, the installation instructions always built a PDF
    version of the manual, which required having LaTeX installed.
    However LaTeX is a large program which can be awkward to install,
    so this has now been made optional, and by default the PDF manual
    is not part of the build.  It can still be built via =make pdf=,
    and this is documented.

*** Fix Docker builds.

    Fix the return error 100 that was happening when trying to run
    the build script with docker.

*** Various maintainer tweaks

    Further improved the release process and its documentation in
    various minor ways.  Perl 5.40 has been added to the test matrix.

* Changes in version 2.4.0

*** --dotfiles now works with directories

    A long-standing bug preventing the --dotfiles option from working
    correctly with directories has been fixed.

    It should also works in combination with the --compat option.

*** Eliminated a spurious warning on unstowing

    2.3.1 introduced a benign but annoying warning when unstowing
    in certain circumstances.  It looked like:

      BUG in find_stowed_path? Absolute/relative mismatch between Stow dir X and path Y

    This was caused by erroneous logic, and has now been fixed.

*** Unstowing logic has been improved in other cases

    Several other improvements have been made internally to the
    unstowing logic.  These changes should all be either invisible
    (except for changes to debug output) or improvements, but if you
    encounter any unexpected behaviour, please report it as directed
    in the manual.

*** Improved debug output

    Extra output resulting from use of the -v / --verbose flag
    now appears in a more logical and understandable way.

*** Janitorial tasks

    Users are not substantially affected by these changes.

***** Added some more information from the web page to the README

***** Made some improvements to the documentation

***** Improve readability of source code

      Quite a few extra details have been added in comments to clarify
      how the code works.  Many variable names have also been
      improved.  The comments of many Stow class methods have been
      converted into Perl POD format.

***** Added a =CONTRIBUTING.md= file

***** Add a =watch= target to =Makefile=

      =make watch= provides easy continual pre-processing during
      development, which reduces the risk of debugging the wrong code.

***** Removed texinfo.tex from the distribution

      This eliminates existing and future bit-rot.

***** Updated aclocal.m4 from 1.15.1 to 1.16.5

      This mostly just updates copyright notices to 2021, and URLs to https.

***** Replace broken gmane links with links to lists.gnu.org

      [[https://lars.ingebrigtsen.no/2020/01/06/whatever-happened-to-news-gmane-org/][gmane has been dead for quite a while.]]

***** Improve support for navigating / editing source via emacs

******* Support source navigation in emacs via [[https://github.com/jacktasia/dumb-jump][dumb-jump]].

******* Configure cperl-mode to match existing coding style.

*** Various maintainer tweaks

    Further improved the release process and its documentation in
    various minor ways.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/sysutils/stow/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/stow/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/stow/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/stow/Makefile
diff -u pkgsrc/sysutils/stow/Makefile:1.36 pkgsrc/sysutils/stow/Makefile:1.37
--- pkgsrc/sysutils/stow/Makefile:1.36  Sat Feb  3 11:54:55 2024
+++ pkgsrc/sysutils/stow/Makefile       Wed May 14 05:19:26 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2024/02/03 11:54:55 bsiegert Exp $
-#
+# $NetBSD: Makefile,v 1.37 2025/05/14 05:19:26 wiz Exp $
 
-DISTNAME=      stow-2.3.1
+DISTNAME=      stow-2.4.1
 CATEGORIES=    sysutils perl5
 MASTER_SITES=  ${MASTER_SITE_GNU:=stow/}
 
@@ -10,9 +9,12 @@ HOMEPAGE=     https://www.gnu.org/software/s
 COMMENT=       Maps several separate packages into a tree without merging them
 LICENSE=       gnu-gpl-v3
 
+TEST_DEPENDS+= p5-Test-Output-[0-9]*:../../devel/p5-Test-Output
+
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-pmdir=${PERL5_INSTALLVENDORLIB}
 USE_TOOLS+=            gmake perl:run
 INFO_FILES=            yes
+TEST_TARGET=           test
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/stow/PLIST
diff -u pkgsrc/sysutils/stow/PLIST:1.9 pkgsrc/sysutils/stow/PLIST:1.10
--- pkgsrc/sysutils/stow/PLIST:1.9      Sat Feb  3 11:54:55 2024
+++ pkgsrc/sysutils/stow/PLIST  Wed May 14 05:19:26 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2024/02/03 11:54:55 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/05/14 05:19:26 wiz Exp $
 bin/chkstow
 bin/stow
 info/stow.info
@@ -11,7 +11,7 @@ share/doc/stow/INSTALL.md
 share/doc/stow/README.md
 share/doc/stow/manual-single.html
 share/doc/stow/manual-split/Bootstrapping.html
-share/doc/stow/manual-split/Compile_002dtime-vs-Install_002dtime.html
+share/doc/stow/manual-split/Compile_002dtime-vs_002e-Install_002dtime.html
 share/doc/stow/manual-split/Conflicts.html
 share/doc/stow/manual-split/Cygnus-Software.html
 share/doc/stow/manual-split/Deferred-Operation.html
@@ -37,7 +37,7 @@ share/doc/stow/manual-split/Terminology.
 share/doc/stow/manual-split/Tree-unfolding.html
 share/doc/stow/manual-split/Types-And-Syntax-Of-Ignore-Lists.html
 share/doc/stow/manual-split/index.html
+share/doc/stow/manual-split/symlink.html
 share/doc/stow/manual-split/tree-folding.html
 share/doc/stow/manual-split/tree-refolding.html
-share/doc/stow/manual.pdf
 share/doc/stow/version.texi

Index: pkgsrc/sysutils/stow/distinfo
diff -u pkgsrc/sysutils/stow/distinfo:1.12 pkgsrc/sysutils/stow/distinfo:1.13
--- pkgsrc/sysutils/stow/distinfo:1.12  Sat Feb  3 11:54:55 2024
+++ pkgsrc/sysutils/stow/distinfo       Wed May 14 05:19:26 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2024/02/03 11:54:55 bsiegert Exp $
+$NetBSD: distinfo,v 1.13 2025/05/14 05:19:26 wiz Exp $
 
-BLAKE2s (stow-2.3.1.tar.gz) = 67f89dd2223807a08bfbe6b6ecda1d82215b5454704b1144e169db2dde6e496b
-SHA512 (stow-2.3.1.tar.gz) = e9a7de1a6f10eaf7cdbe6737e0a8be1498e2eac46b6c57e65b83759b061efd1c0db45f7cba123e35428307e3aebe5baef9ea8bd4b5eb6ec5e1b159117a760441
-Size (stow-2.3.1.tar.gz) = 654191 bytes
+BLAKE2s (stow-2.4.1.tar.gz) = f3f6807d3f565897ef5b0bae246559735976c4824f20bc13ddc93a7b7cc626ef
+SHA512 (stow-2.4.1.tar.gz) = fc05f95b95d6439a379fb1c5c5eed5f878e17ad2500d08f0e24798358afaf93116330086296d4233ac4bf32e4a6f4fe3d2feb03461876769074b50abdc586c2b
+Size (stow-2.4.1.tar.gz) = 726337 bytes



Home | Main Index | Thread Index | Old Index