Migrate from .stow-rename to --dotfiles
This commit is contained in:
parent
23daff4a9f
commit
d3ba668350
43 changed files with 0 additions and 1 deletions
3685
dot-local/share/doc/stow/ChangeLog
Normal file
3685
dot-local/share/doc/stow/ChangeLog
Normal file
File diff suppressed because it is too large
Load diff
232
dot-local/share/doc/stow/ChangeLog.OLD
Normal file
232
dot-local/share/doc/stow/ChangeLog.OLD
Normal file
|
@ -0,0 +1,232 @@
|
|||
Thu Jan 31 2008 Kahlil Hodgson <kal@grebo.cs.rmit.edu.au>
|
||||
|
||||
* stow.texi: Austin Wood and Chris Hoobin clean this up for version 2.
|
||||
|
||||
* texi2man: new script by Austin and Chris to generate a man page from the
|
||||
texinfo file.
|
||||
|
||||
|
||||
Sun Nov 25 19:31:32 2007 Kahlil Hodgson <kahlil@internode.con.net>
|
||||
* all: Version 2.0.1
|
||||
|
||||
* AUTHORS: added Kahlil Hodgson as a new author and current maintainer.
|
||||
|
||||
* stow.in: major rewrite to produce version 2.0.1 see NEWS for details
|
||||
|
||||
* t/: added test suite and support code
|
||||
|
||||
* configure.in: renamed to configure.ac as per autotools recommendation.
|
||||
|
||||
* configure.ac:
|
||||
Use AC_INT rather than obsolete AM_INTI_MAKEFILE usage.
|
||||
Remove redundant VERSION and PACKAGE setttings
|
||||
Remove redundant AC_ARG_PROGRAM
|
||||
Use AM_INIT_AUTOMAKE([-Wall -Werror]) because we are pedantic.
|
||||
Add AC_PREREQ([2.6.1])
|
||||
|
||||
* Makefile.am, configure.ac:
|
||||
Use explicit rewrite in Makefile.am, rather than AC_CONFIG_FILES(stow.in),
|
||||
as per autotools recommendation.
|
||||
|
||||
* Makefile.am:
|
||||
Add TESTS and TEST_ENVIRONMENT for files in t/
|
||||
Use dist_man_MANS instead of EXTRA_DIST for man page
|
||||
|
||||
* INSTALL: update to reflect autotools modernization.
|
||||
|
||||
* NEWS: update to describe cahnges in Version 2.0.1.
|
||||
|
||||
* README: update to point to the right websites and email addresses.
|
||||
|
||||
* THANKS:
|
||||
Add Emil Mikulc who's ideas largely inspired Version 2 and
|
||||
and Geoffrey Giesemann who did some initial testing and found some
|
||||
important bugs.
|
||||
|
||||
* TODO: remove tasks that where implemented in Version 2
|
||||
|
||||
* stow.texi: update documentation to reflect Version 2 changes.
|
||||
|
||||
* stow.8: update to reflect Version 2 changes.
|
||||
|
||||
Sat Jan 26 16:15:21 2002 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* stow.in: if $ENV{'STOW_DIR'} is set, this becomes the default
|
||||
Stow directory.
|
||||
|
||||
Sun Jan 06 12:18:50 2002 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* Makefile.am: use EXTRA_DIST to include manpage in distribution
|
||||
|
||||
Wed Jan 02 21:33:41 2002 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* stow.in: Stow now only warns the user if a subdirectory
|
||||
is unreadable during unstowing.
|
||||
|
||||
Wed Jan 02 20:58:05 2002 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* stow.in: fixed JoinPaths so that subdirs called "0" are
|
||||
correctly pushed. Thanks a lot to Gergely Nagy
|
||||
<algernon@bonehunter.rulez.org> who patiently helped me to chase
|
||||
this bug.
|
||||
|
||||
Sun Dec 30 21:58:25 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* stow.in: fixed a bug introduced by previous changes when
|
||||
Target argument was relative. (thanks to Luca Filipozzi
|
||||
<lfilipoz@debian.org> for pointing this out)
|
||||
|
||||
Sun Dec 30 18:23:25 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* stow.in: now requires Perl 5. Use POSIX getcwd instead of broken
|
||||
fastcwd. Fixed bug when CommonParent is /. Stow does not remove
|
||||
initially empty directories anymore.
|
||||
|
||||
Sun Dec 30 18:07:51 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
* configure.in: automake fixes (fp_ -> AC, +AC_INIT_AUTOMAKE)
|
||||
|
||||
Fri Oct 11 22:09:45 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* stow.html, configure.in: Version 1.3.2.
|
||||
|
||||
* README, stow.texi: Correct the URL again.
|
||||
|
||||
Fri Oct 11 18:20:42 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* configure.in: Version 1.3.1.
|
||||
|
||||
* stow.html: Update Stow manual URL. Mention version 1.3.1.
|
||||
|
||||
* README: Update Stow URL.
|
||||
|
||||
* Makefile.am: stow-manual.html -> manual.html.
|
||||
|
||||
* stow.texi:
|
||||
Add a reference to the Stow home page on the GNU web server. Change
|
||||
several occurrences of "which" to "that" for grammatical superiority.
|
||||
|
||||
Wed Oct 9 00:34:07 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* Makefile.am:
|
||||
Add maintainer-only rules for stow-manual.html and stow-manual.texi.
|
||||
|
||||
Wed Oct 9 00:32:31 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* README: Refer to the new location for the Stow home page.
|
||||
|
||||
* stow.html: Make it right for the GNU web server.
|
||||
|
||||
Tue Oct 8 21:54:09 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* stow.texi: Document --restow
|
||||
|
||||
* stow.in: Add --restow (-R) option
|
||||
|
||||
* configure.in: Add "perl4" to search for Perl binary.
|
||||
Bump version number to 1.3.
|
||||
|
||||
Mon Jun 24 23:23:03 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* stow.texi: Delete trailing whitespace.
|
||||
|
||||
Fri Jun 21 19:44:26 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* Makefile.am:
|
||||
Don't explicitly mention version.texi. Automake now does it
|
||||
automagically, by noticing the `@include version.texi' in
|
||||
stow.texi. Awesome.
|
||||
|
||||
* stow.texi:
|
||||
Use @include instead of @input. This is more Texinfoid, plus
|
||||
allows Automake to automatically deduce the need for
|
||||
version.texi.
|
||||
|
||||
* stow.in:
|
||||
Elide trailing slashes from package names, then complain if
|
||||
package names have slashes in them.
|
||||
|
||||
Tue Jun 18 23:19:04 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* README: Call it "Gnu Stow".
|
||||
|
||||
Tue Jun 18 22:15:45 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* configure.in:
|
||||
Bump version number to 1.2.
|
||||
|
||||
Look for Perl under the names `perl' and `perl5'. If not found,
|
||||
print a warning.
|
||||
|
||||
* stow.texi:
|
||||
Add a section about bootstrapping. Add text about hacking Gnu
|
||||
Make output.
|
||||
|
||||
* INSTALL:
|
||||
Describe what happens when Perl isn't found during `configure'.
|
||||
|
||||
Mon Jun 17 19:43:25 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* THANKS: Thank Fritz.
|
||||
|
||||
Fri Jun 14 19:18:50 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* AUTHORS: Credit John Bazik and Gord Matzigkeit.
|
||||
|
||||
* stow.texi: Remove a "known bug" -- the pwd dependency is gone.
|
||||
|
||||
* stow.in:
|
||||
Use fastcwd, from fastcwd.pl (which is GPL'd), to remove
|
||||
dependency on an external pwd binary. Suggested by Gord
|
||||
Matzigkeit.
|
||||
|
||||
* stow.in: Add a missing comma.
|
||||
|
||||
Thu Jun 13 21:52:10 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* stow.in:
|
||||
Change three occurrences of `my' to `local' for Perl 4
|
||||
compatibility.
|
||||
|
||||
Thu Jun 13 18:07:37 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* configure.in: Bump version number to 1.1.
|
||||
|
||||
* Makefile.am:
|
||||
Add `stow' to the list of clean targets. Don't redirect output
|
||||
directly into a make target.
|
||||
|
||||
* AUTHORS, README:
|
||||
Use <bobg+stow@zanshin.com> as the contact address.
|
||||
|
||||
* TODO: New file.
|
||||
|
||||
* stow.in:
|
||||
Refer to "Gnu Stow" in a few places. Use <bobg+stow@zanshin.com>
|
||||
as the contact address. Handle long and short options. Handle
|
||||
`version' and `help' options. Refer to "packages," not
|
||||
"collections," for consistency with the manual.
|
||||
|
||||
* stow.texi:
|
||||
Refer to "Gnu Stow" in a few places. Use <bobg+stow@zanshin.com>
|
||||
as the contact address. Add sections on Reporting bugs and Known
|
||||
bugs. Create a master menu. Minor rewording. Remove the period
|
||||
from a node name.
|
||||
|
||||
* TODO, THANKS: New files.
|
||||
|
||||
Mon Jun 10 14:44:13 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* NEWS: Create NEWS file for release. 1.0 now ready.
|
||||
|
||||
* stow.texi: Big revisions in preparation for release.
|
||||
|
||||
Sun Jun 9 15:47:19 1996 Bob Glickstein <bobg@zoger.ipost.com>
|
||||
|
||||
* stow.in: Enhance argument parsing, losing Perl 4 support in the
|
||||
process.
|
||||
(later) Perl 4 support restored.
|
||||
|
||||
Fri Jun 7 12:13:33 1996 Bob Glickstein <bobg@hiro.zanshin.com>
|
||||
|
||||
* Created stow, formerly "depot."
|
202
dot-local/share/doc/stow/INSTALL.md
Normal file
202
dot-local/share/doc/stow/INSTALL.md
Normal file
|
@ -0,0 +1,202 @@
|
|||
How to install GNU Stow
|
||||
=======================
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
Stow is a collection of Perl scripts and modules. You must have Perl
|
||||
5.6.1 or later in order for it to run. The test suite also requires
|
||||
the `Test::More` and `Test::Output` modules which can be obtained from
|
||||
CPAN. They are also available as packages in some of the GNU/Linux
|
||||
distributions.
|
||||
|
||||
Installation methods
|
||||
--------------------
|
||||
|
||||
Stow can either be installed via the standard GNU Autotools procedure
|
||||
(`./configure && make install`) or since 2.1.0, via CPAN-style via
|
||||
Module::Build.
|
||||
|
||||
Advantages of the Autotools approach:
|
||||
|
||||
- It's arguably more flexible.
|
||||
|
||||
- It will install the documentation in Info, HTML, man, and PDF
|
||||
formats.
|
||||
|
||||
Advantages of the `Module::Build` approach:
|
||||
|
||||
- It's more in keeping with the standard way to distribute CPAN
|
||||
modules.
|
||||
|
||||
- It performs dependency checking to ensure you have the necessary
|
||||
Perl modules installed.
|
||||
|
||||
Both approaches are described in detail below. However if you are
|
||||
building from the git repository rather than an official release,
|
||||
you first need to perform some extra steps:
|
||||
|
||||
Preparatory steps required only when building from git
|
||||
------------------------------------------------------
|
||||
|
||||
`configure` and `Makefile` are included in official releases of Stow,
|
||||
but they are deliberately omitted from the git repository because they
|
||||
are autogenerated. Therefore if you are installing directly from git,
|
||||
you first need to generate them as follows.
|
||||
|
||||
First `cd` to the directory containing the source code (and this
|
||||
file), and then run:
|
||||
|
||||
autoreconf -iv
|
||||
|
||||
If this runs successfully then you are ready to continue with one of
|
||||
the two installation methods below.
|
||||
|
||||
Basic Installation via `Module::Build`
|
||||
--------------------------------------
|
||||
|
||||
The steps in building Stow are:
|
||||
|
||||
1. `cd` to the directory containing the source code (and this file).
|
||||
|
||||
2. If you are building from an official GNU release tarball, type
|
||||
`./configure && make` to configure stow for your system. If you
|
||||
are building from a CPAN tarball, this step can be skipped.
|
||||
|
||||
If `make` warns that the Perl module installation directory is
|
||||
not in `@INC`, then you should run:
|
||||
|
||||
eval `perl -V:siteprefix`
|
||||
./configure --prefix=$siteprefix && make
|
||||
|
||||
to avoid a superfluous `use lib` line in your stow executable.
|
||||
|
||||
3. Type `perl Build.PL`.
|
||||
|
||||
4. Type `./Build install` to install the various files. As noted
|
||||
above, this installs fewer files than the Autotools installation.
|
||||
|
||||
Basic Installation via Autotools
|
||||
--------------------------------
|
||||
|
||||
The steps in building Stow are:
|
||||
|
||||
1. `cd` to the directory containing the source code (and this file).
|
||||
|
||||
2. Type `./configure` to configure stow for your system. This step
|
||||
will attempt to locate your copy of perl and set its location in
|
||||
`Makefile.in`. You can use the normal arguments to change the
|
||||
default installation paths (see below); additionally you can use
|
||||
the
|
||||
|
||||
--with-pmdir=/path/to/perl/modules
|
||||
|
||||
option to manually choose where the Perl modules get installed.
|
||||
However, if you don't, the `configure` script will go to great
|
||||
lengths to try to choose a sensible default.
|
||||
|
||||
3. Type `make install` to install the various files. If the chosen
|
||||
installation directory for Perl modules is not included in Perl's
|
||||
built-in `@INC` search path, the Makefile rules will automatically
|
||||
insert a
|
||||
|
||||
use lib "...";
|
||||
|
||||
line into the generated stow script to ensure that it can always
|
||||
locate the Perl modules without needing to manually set `PERL5LIB`.
|
||||
|
||||
4. You can remove the generated files from the source code directory
|
||||
by typing `make clean`. To also remove the files that `configure`
|
||||
created (so you can compile the package for a different computer),
|
||||
type `make distclean`. There is also a `make maintainer-clean`
|
||||
target, but that is intended mainly for stow's developers. If you
|
||||
use it, you may have to get all sorts of other programs in order
|
||||
to regenerate files that came with the distribution.
|
||||
|
||||
Installation Names
|
||||
------------------
|
||||
|
||||
By default, `make install` will install the package's files in
|
||||
`/usr/local/bin` and `/usr/local/info`. You can specify an
|
||||
installation prefix other than `/usr/local` by giving `configure` the
|
||||
option `--prefix=PATH`.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure`
|
||||
the option `--program-prefix=PREFIX` or `--program-suffix=SUFFIX`.
|
||||
|
||||
Since `stow` is concerned with separating a package's installation
|
||||
tree from its run-time tree, you might want to install `stow` into a
|
||||
directory such as `/usr/local/stow/stow` but have it run out of
|
||||
`/usr/local`. Do this by giving the run-time prefix (e.g.,
|
||||
/usr/local) to configure as described above; then run `make`; then run
|
||||
`make install prefix=/usr/local/stow/stow`. For more information on
|
||||
this technique, see the Stow manual.
|
||||
|
||||
The configuration system
|
||||
------------------------
|
||||
|
||||
The `configure` shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile` and to create the `stow` script
|
||||
itself, using Makefile.in and stow.in as templates. Finally, it
|
||||
creates a shell script `config.status` that you can run in the future
|
||||
to recreate the current configuration, a file `config.cache` that
|
||||
saves the results of its tests to speed up reconfiguring, and a file
|
||||
`config.log` containing other output.
|
||||
|
||||
The file `configure.ac` is used to create `configure` by a program
|
||||
called `autoconf`. You only need `configure.ac` if you want to change
|
||||
it or regenerate `configure` using a newer version of `autoconf`.
|
||||
|
||||
The file `Makefile.am` is used to create `Makefile.in` by a program
|
||||
called `automake`. You only need `Makefile.am` if you want to change
|
||||
it or regenerate `Makefile.in` using a newer version of `automake`.
|
||||
|
||||
Sharing Defaults
|
||||
----------------
|
||||
|
||||
If you want to set default values for `configure` scripts to share,
|
||||
you can create a site shell script called `config.site` that gives
|
||||
default values for variables like `CC`, `cache_file`, and `prefix`.
|
||||
`configure` looks for `PREFIX/share/config.site` if it exists, then
|
||||
`PREFIX/etc/config.site` if it exists. Or, you can set the
|
||||
`CONFIG_SITE` environment variable to the location of the site script.
|
||||
A warning: not all `configure` scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
------------------
|
||||
|
||||
`configure` recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE`
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache`. Set FILE to `/dev/null` to disable caching, for
|
||||
debugging `configure`.
|
||||
|
||||
`--help`
|
||||
Print a summary of the options to `configure`, and exit.
|
||||
|
||||
`--quiet`
|
||||
`--silent`
|
||||
`-q`
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR`
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure` can determine that directory automatically.
|
||||
|
||||
`--version`
|
||||
Print the version of Autoconf used to generate the `configure`
|
||||
script, and exit.
|
||||
|
||||
`configure` also accepts some other, not widely useful, options.
|
||||
|
||||
License for this file
|
||||
---------------------
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without any warranty.
|
101
dot-local/share/doc/stow/README.md
Normal file
101
dot-local/share/doc/stow/README.md
Normal file
|
@ -0,0 +1,101 @@
|
|||
[](https://travis-ci.org/aspiers/stow)
|
||||
[](https://coveralls.io/github/aspiers/stow?branch=master)
|
||||
|
||||
README for GNU Stow
|
||||
===================
|
||||
|
||||
This README describes GNU Stow. This is not the definitive
|
||||
documentation for Stow; for that, see the [info
|
||||
manual](https://www.gnu.org/software/stow/manual/).
|
||||
|
||||
Stow is a symlink farm manager program which takes distinct sets
|
||||
of software and/or data located in separate directories on the
|
||||
filesystem, and makes them all appear to be installed in a single
|
||||
directory tree.
|
||||
|
||||
Originally Stow was born to address the need to administer, upgrade,
|
||||
install, and remove files in independent software packages without
|
||||
confusing them with other files sharing the same file system space.
|
||||
For instance, many years ago it used to be common to compile programs
|
||||
such as Perl and Emacs from source and install them in `/usr/local`.
|
||||
By using Stow, `/usr/local/bin` could contain symlinks to files within
|
||||
`/usr/local/stow/emacs/bin`, `/usr/local/stow/perl/bin` etc., and
|
||||
likewise recursively for any other subdirectories such as `.../share`,
|
||||
`.../man`, and so on.
|
||||
|
||||
While this is useful for keeping track of system-wide and per-user
|
||||
installations of software built from source, in more recent times
|
||||
software packages are often managed by more sophisticated package
|
||||
management software such as
|
||||
[`rpm`](https://en.wikipedia.org/wiki/Rpm_(software)),
|
||||
[`dpkg`](https://en.wikipedia.org/wiki/Dpkg), and
|
||||
[Nix](https://en.wikipedia.org/wiki/Nix_package_manager) / [GNU
|
||||
Guix](https://en.wikipedia.org/wiki/GNU_Guix), or language-native
|
||||
package managers such as Ruby's
|
||||
[`gem`](https://en.wikipedia.org/wiki/RubyGems), Python's
|
||||
[`pip`](https://en.wikipedia.org/wiki/Pip_(package_manager)),
|
||||
Javascript's [`npm`](https://en.wikipedia.org/wiki/Npm_(software)),
|
||||
and so on.
|
||||
|
||||
However Stow is still used not only for software package management,
|
||||
but also for other purposes, such as facilitating [a more controlled
|
||||
approach to management of configuration files in the user's home
|
||||
directory](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html),
|
||||
especially when [coupled with version control
|
||||
systems](http://lists.gnu.org/archive/html/info-stow/2011-12/msg00000.html).
|
||||
|
||||
Stow was inspired by Carnegie Mellon's Depot program, but is
|
||||
substantially simpler and safer. Whereas Depot required database files
|
||||
to keep things in sync, Stow stores no extra state between runs, so
|
||||
there's no danger (as there was in Depot) of mangling directories when
|
||||
file hierarchies don't match the database. Also unlike Depot, Stow will
|
||||
never delete any files, directories, or links that appear in a Stow
|
||||
directory (e.g., `/usr/local/stow/emacs`), so it's always possible
|
||||
to rebuild the target tree (e.g., `/usr/local`).
|
||||
|
||||
Stow is implemented as a combination of a Perl script providing a CLI
|
||||
interface, and a backend Perl module which does most of the work.
|
||||
|
||||
You can get the latest information about Stow from the home page:
|
||||
|
||||
http://www.gnu.org/software/stow/
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Stow is free software, licensed under the GNU General Public License,
|
||||
which can be found in the file [`COPYING`](COPYING).
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without any warranty.
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
See [`INSTALL.md`](INSTALL.md) for installation instructions.
|
||||
|
||||
Feedback
|
||||
--------
|
||||
|
||||
Please do send comments, questions, and constructive criticism. The
|
||||
mailing lists and any other communication channels are detailed on the
|
||||
above home page.
|
||||
|
||||
Brief history and authorship
|
||||
----------------------------
|
||||
|
||||
Stow was inspired by Carnegie Mellon's "Depot" program, but is
|
||||
substantially simpler. Whereas Depot requires database files to keep
|
||||
things in sync, Stow stores no extra state between runs, so there's no
|
||||
danger (as there is in Depot) of mangling directories when file
|
||||
hierarchies don't match the database. Also unlike Depot, Stow will
|
||||
never delete any files, directories, or links that appear in a Stow
|
||||
directory (e.g., `/usr/local/stow/emacs`), so it's always possible to
|
||||
rebuild the target tree (e.g., `/usr/local`).
|
||||
|
||||
For a high-level overview of the contributions of the main developers
|
||||
over the years, see [the `AUTHORS` file](AUTHORS).
|
||||
|
||||
For a more detailed history, please see the `ChangeLog` file.
|
2326
dot-local/share/doc/stow/manual-single.html
Normal file
2326
dot-local/share/doc/stow/manual-single.html
Normal file
File diff suppressed because it is too large
Load diff
104
dot-local/share/doc/stow/manual-split/Bootstrapping.html
Normal file
104
dot-local/share/doc/stow/manual-split/Bootstrapping.html
Normal file
|
@ -0,0 +1,104 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Bootstrapping (Stow)</title>
|
||||
|
||||
<meta name="description" content="Bootstrapping (Stow)">
|
||||
<meta name="keywords" content="Bootstrapping (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Reporting-Bugs.html" rel="next" title="Reporting Bugs">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="prev" title="Compile-time vs Install-time">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Bootstrapping">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Reporting-Bugs.html" accesskey="n" rel="next">Reporting Bugs</a>, Previous: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="p" rel="prev">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Bootstrapping-1"><span>13 Bootstrapping<a class="copiable-link" href="#Bootstrapping-1"> ¶</a></span></h2>
|
||||
|
||||
<p>Suppose you have a stow directory all set up and ready to go:
|
||||
<samp class="file">/usr/local/stow/perl</samp> contains the Perl installation,
|
||||
<samp class="file">/usr/local/stow/stow</samp> contains Stow itself, and perhaps you have
|
||||
other packages waiting to be stowed. You’d like to be able to do this:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">cd /usr/local/stow
|
||||
stow -vv *
|
||||
</pre></div>
|
||||
|
||||
<p>but <code class="command">stow</code> is not yet in your <code class="env">PATH</code>. Nor can you do this:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">cd /usr/local/stow
|
||||
stow/bin/stow -vv *
|
||||
</pre></div>
|
||||
|
||||
<p>because the ‘<samp class="samp">#!</samp>’ line at the beginning of <code class="command">stow</code> tries to
|
||||
locate Perl (usually in <samp class="file">/usr/local/bin/perl</samp>), and that won’t be
|
||||
found. The solution you must use is:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">cd /usr/local/stow
|
||||
perl/bin/perl stow/bin/stow -vv *
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,162 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Compile-time vs Install-time (Stow)</title>
|
||||
|
||||
<meta name="description" content="Compile-time vs Install-time (Stow)">
|
||||
<meta name="keywords" content="Compile-time vs Install-time (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Bootstrapping.html" rel="next" title="Bootstrapping">
|
||||
<link href="Resource-Files.html" rel="prev" title="Resource Files">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span.r {font-family: initial; font-weight: normal; font-style: normal}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Compile_002dtime-vs-Install_002dtime">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Bootstrapping.html" accesskey="n" rel="next">Bootstrapping</a>, Previous: <a href="Resource-Files.html" accesskey="p" rel="prev">Resource Files</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Compile_002dtime-vs-Install_002dtime-1"><span>12 Compile-time vs Install-time<a class="copiable-link" href="#Compile_002dtime-vs-Install_002dtime-1"> ¶</a></span></h2>
|
||||
|
||||
<p>Software whose installation is managed with Stow needs to be installed
|
||||
in one place (the package directory, e.g. <samp class="file">/usr/local/stow/perl</samp>)
|
||||
but needs to appear to run in another place (the target tree, e.g.,
|
||||
<samp class="file">/usr/local</samp>). Why is this important? What’s wrong with Perl, for
|
||||
instance, looking for its files in <samp class="file">/usr/local/stow/perl</samp> instead
|
||||
of in <samp class="file">/usr/local</samp>?
|
||||
</p>
|
||||
<p>The answer is that there may be another package, e.g.,
|
||||
<samp class="file">/usr/local/stow/perl-extras</samp>, stowed under <samp class="file">/usr/local</samp>. If
|
||||
Perl is configured to find its files in <samp class="file">/usr/local/stow/perl</samp>, it
|
||||
will never find the extra files in the ‘<samp class="samp">perl-extras</samp>’ package, even
|
||||
though they’re intended to be found by Perl. On the other hand, if Perl
|
||||
looks for its files in <samp class="file">/usr/local</samp>, then it will find the
|
||||
intermingled Perl and ‘<samp class="samp">perl-extras</samp>’ files.
|
||||
</p>
|
||||
<p>This means that when you compile a package, you must tell it the
|
||||
location of the run-time, or target tree; but when you install it, you
|
||||
must place it in the stow tree.
|
||||
</p>
|
||||
<ul class="mini-toc">
|
||||
<li><a href="#Advice-on-changing-compilation-and-installation-parameters" accesskey="1">Advice on changing compilation and installation parameters</a></li>
|
||||
<li><a href="GNU-Emacs.html" accesskey="2">GNU Emacs</a></li>
|
||||
<li><a href="Other-FSF-Software.html" accesskey="3">Other FSF Software</a></li>
|
||||
<li><a href="Cygnus-Software.html" accesskey="4">Cygnus Software</a></li>
|
||||
<li><a href="Perl-and-Perl-5-Modules.html" accesskey="5">Perl and Perl 5 Modules</a></li>
|
||||
</ul>
|
||||
<div class="section-level-extent" id="Advice-on-changing-compilation-and-installation-parameters">
|
||||
<h3 class="section"><span>12.1 Advice on changing compilation and installation parameters<a class="copiable-link" href="#Advice-on-changing-compilation-and-installation-parameters"> ¶</a></span></h3>
|
||||
<p>Some software packages allow you to specify, at compile-time, separate
|
||||
locations for installation and for run-time. Perl is one such package;
|
||||
see <a class="ref" href="Perl-and-Perl-5-Modules.html">Perl and Perl 5 Modules</a>. Others allow you to compile the
|
||||
package, then give a different destination in the ‘<samp class="samp">make install</samp>’
|
||||
step without causing the binaries or other files to get rebuilt. Most
|
||||
GNU software falls into this category; Emacs is a notable exception.
|
||||
See <a class="xref" href="GNU-Emacs.html">GNU Emacs</a>, and <a class="ref" href="Other-FSF-Software.html">Other FSF Software</a>.
|
||||
</p>
|
||||
<p>Still other software packages cannot abide the idea of separate
|
||||
installation and run-time locations at all. If you try to ‘<samp class="samp">make
|
||||
install prefix=/usr/local/stow/<var class="var">foo</var></samp>’, then first the whole package
|
||||
will be recompiled to hardwire the <samp class="file">/usr/local/stow/<var class="var">foo</var></samp>
|
||||
path. With these packages, it is best to compile normally, then run
|
||||
‘<samp class="samp">make -n install</samp>’, which should report all the steps needed to
|
||||
install the just-built software. Place this output into a file, edit
|
||||
the commands in the file to remove recompilation steps and to reflect
|
||||
the Stow-based installation location, and execute the edited file as a
|
||||
shell script in place of ‘<samp class="samp">make install</samp>’. Be sure to execute the
|
||||
script using the same shell that ‘<samp class="samp">make install</samp>’ would have used.
|
||||
</p>
|
||||
<p>(If you use GNU Make and a shell [such as GNU bash] that understands
|
||||
<code class="command">pushd</code> and <code class="command">popd</code>, you can do the following:
|
||||
</p>
|
||||
<ol class="enumerate">
|
||||
<li> Replace all lines matching ‘<samp class="samp">make[<var class="var">n</var>]: Entering directory
|
||||
<var class="var">dir</var></samp>’ with ‘<samp class="samp">pushd <var class="var">dir</var></samp>’.
|
||||
</li><li> Replace all lines matching ‘<samp class="samp">make[<var class="var">n</var>]: Leaving directory
|
||||
<var class="var">dir</var></samp>’ with ‘<samp class="samp">popd</samp>’.
|
||||
</li><li> Delete all lines matching ‘<samp class="samp">make[<var class="var">n</var>]: Nothing to be done for
|
||||
<var class="var">rule</var></samp>’.
|
||||
</li></ol>
|
||||
|
||||
<p>Then find other lines in the output containing <code class="command">cd</code> or <code class="command">make</code>
|
||||
commands and rewrite or delete them. In particular, you should be able
|
||||
to delete sections of the script that resemble this:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">for i in <var class="var">dir_1</var> <var class="var">dir_2</var> <span class="r">...</span>; do \
|
||||
(cd $i; make <var class="var">args</var> <span class="r">...</span>) \
|
||||
done
|
||||
</pre></div>
|
||||
|
||||
<p>Note, that’s “should be able to,” not “can.” Be sure to modulate
|
||||
these guidelines with plenty of your own intelligence.
|
||||
</p>
|
||||
<p>The details of stowing some specific packages are described in the
|
||||
following sections.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Bootstrapping.html">Bootstrapping</a>, Previous: <a href="Resource-Files.html">Resource Files</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
117
dot-local/share/doc/stow/manual-split/Conflicts.html
Normal file
117
dot-local/share/doc/stow/manual-split/Conflicts.html
Normal file
|
@ -0,0 +1,117 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Conflicts (Stow)</title>
|
||||
|
||||
<meta name="description" content="Conflicts (Stow)">
|
||||
<meta name="keywords" content="Conflicts (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Mixing-Operations.html" rel="next" title="Mixing Operations">
|
||||
<link href="Deleting-Packages.html" rel="prev" title="Deleting Packages">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Conflicts">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Mixing-Operations.html" accesskey="n" rel="next">Mixing Operations</a>, Previous: <a href="Deleting-Packages.html" accesskey="p" rel="prev">Deleting Packages</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Conflicts-1"><span>7 Conflicts<a class="copiable-link" href="#Conflicts-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-conflicts-1"></a>
|
||||
<p>If, during installation, a file or symlink exists in the target tree and
|
||||
has the same name as something Stow needs to create, and if the
|
||||
existing name is not a folded tree that can be split open, then a
|
||||
<em class="dfn">conflict</em> has arisen. A conflict also occurs if a directory exists
|
||||
where Stow needs to place a symlink to a non-directory. On the
|
||||
other hand, if the existing name is merely a symlink that already points
|
||||
where Stow needs it to, then no conflict has occurred. (Thus it
|
||||
is harmless to install a package that has already been installed.)
|
||||
</p>
|
||||
<p>For complex packages, scanning the stow and target trees in tandem,
|
||||
and deciding whether to make directories or links, split-open or fold
|
||||
directories, can actually take a long time (a number of seconds).
|
||||
Moreover, an accurate analysis of potential conflicts requires us to
|
||||
take into account all of these operations.
|
||||
</p>
|
||||
<a class="anchor" id="Deferred-Operation"></a><ul class="mini-toc">
|
||||
<li><a href="#Deferred-Operation-1" accesskey="1">Deferred Operation</a></li>
|
||||
</ul>
|
||||
<div class="section-level-extent" id="Deferred-Operation-1">
|
||||
<h3 class="section"><span>7.1 Deferred Operation<a class="copiable-link" href="#Deferred-Operation-1"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-deferred-operation"></a>
|
||||
|
||||
<p>Since version 2.0, Stow now adopts a two-phase algorithm, first
|
||||
scanning for any potential conflicts before any stowing or unstowing
|
||||
operations are performed. If any conflicts are found, they are
|
||||
displayed and then Stow terminates without making any modifications to
|
||||
the filesystem. This means that there is much less risk of a package
|
||||
being partially stowed or unstowed due to conflicts.
|
||||
</p>
|
||||
<p>Prior to version 2.0, if a conflict was discovered, the stow or unstow
|
||||
operation could be aborted mid-flow, leaving the target tree in an
|
||||
inconsistent state.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Mixing-Operations.html">Mixing Operations</a>, Previous: <a href="Deleting-Packages.html">Deleting Packages</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
103
dot-local/share/doc/stow/manual-split/Cygnus-Software.html
Normal file
103
dot-local/share/doc/stow/manual-split/Cygnus-Software.html
Normal file
|
@ -0,0 +1,103 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Cygnus Software (Stow)</title>
|
||||
|
||||
<meta name="description" content="Cygnus Software (Stow)">
|
||||
<meta name="keywords" content="Cygnus Software (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="up" title="Compile-time vs Install-time">
|
||||
<link href="Perl-and-Perl-5-Modules.html" rel="next" title="Perl and Perl 5 Modules">
|
||||
<link href="Other-FSF-Software.html" rel="prev" title="Other FSF Software">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span.r {font-family: initial; font-weight: normal; font-style: normal}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Cygnus-Software">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Perl-and-Perl-5-Modules.html" accesskey="n" rel="next">Perl and Perl 5 Modules</a>, Previous: <a href="Other-FSF-Software.html" accesskey="p" rel="prev">Other FSF Software</a>, Up: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="u" rel="up">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Cygnus-Software-1"><span>12.4 Cygnus Software<a class="copiable-link" href="#Cygnus-Software-1"> ¶</a></span></h3>
|
||||
|
||||
<p>Cygnus is a commercial supplier and supporter of GNU software. It has
|
||||
also written several of its own packages, released under the terms of
|
||||
the GNU General Public License; and it has taken over the maintenance of
|
||||
other packages. Among the packages released by Cygnus are ‘<samp class="samp">gdb</samp>’,
|
||||
‘<samp class="samp">gnats</samp>’, and ‘<samp class="samp">dejagnu</samp>’.
|
||||
</p>
|
||||
<p>Cygnus packages have the peculiarity that each one unpacks into a
|
||||
directory tree with a generic top-level Makefile, which is set up to
|
||||
compile <em class="emph">all</em> of Cygnus’ packages, any number of which may reside
|
||||
under the top-level directory. In other words, even if you’re only
|
||||
building ‘<samp class="samp">gnats</samp>’, the top-level Makefile will look for, and try to
|
||||
build, <samp class="file">gdb</samp> and <samp class="file">dejagnu</samp> subdirectories, among many others.
|
||||
</p>
|
||||
<p>The result is that if you try ‘<samp class="samp">make -n install
|
||||
prefix=/usr/local/stow/<var class="var">package</var></samp>’ at the top level of a Cygnus
|
||||
package, you’ll get a bewildering amount of output. It will then be
|
||||
very difficult to visually scan the output to see whether the install
|
||||
will proceed correctly. Unfortunately, it’s not always clear how to
|
||||
invoke an install from the subdirectory of interest.
|
||||
</p>
|
||||
<p>In cases like this, the best approach is to run your ‘<samp class="samp">make install
|
||||
prefix=<span class="r">…</span></samp>’, but be ready to interrupt it if you detect that it
|
||||
is recompiling files. Usually it will work just fine; otherwise,
|
||||
install manually.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<!-- This file redirects to the location of a node or anchor -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Deferred Operation (Stow)</title>
|
||||
|
||||
<meta name="description" content="Deferred Operation (Stow)">
|
||||
<meta name="keywords" content="Deferred Operation (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
|
||||
<meta http-equiv="Refresh" content="0; url=Conflicts.html#Deferred-Operation">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
|
||||
<p>The node you are looking for is at <a href="Conflicts.html#Deferred-Operation">Deferred Operation</a>.</p>
|
||||
</body>
|
126
dot-local/share/doc/stow/manual-split/Deleting-Packages.html
Normal file
126
dot-local/share/doc/stow/manual-split/Deleting-Packages.html
Normal file
|
@ -0,0 +1,126 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Deleting Packages (Stow)</title>
|
||||
|
||||
<meta name="description" content="Deleting Packages (Stow)">
|
||||
<meta name="keywords" content="Deleting Packages (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Conflicts.html" rel="next" title="Conflicts">
|
||||
<link href="Installing-Packages.html" rel="prev" title="Installing Packages">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Deleting-Packages">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Conflicts.html" accesskey="n" rel="next">Conflicts</a>, Previous: <a href="Installing-Packages.html" accesskey="p" rel="prev">Installing Packages</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Deleting-Packages-1"><span>6 Deleting Packages<a class="copiable-link" href="#Deleting-Packages-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-deletion"></a>
|
||||
<p>When the <samp class="option">-D</samp> option is given, the action of Stow is to
|
||||
delete a package from the target tree. Note that Stow will not
|
||||
delete anything it doesn’t “own”. Deleting a package does <em class="emph">not</em>
|
||||
mean removing it from the stow directory or discarding the package
|
||||
tree.
|
||||
</p>
|
||||
<p>To delete a package, Stow recursively scans the target tree, skipping over any
|
||||
directory that is not included in the installation image.<a class="footnote" id="DOCF7" href="#FOOT7"><sup>7</sup></a>
|
||||
For example, if the target directory is <samp class="file">/usr/local</samp> and the
|
||||
installation image for the package being deleted has only a <samp class="file">bin</samp>
|
||||
directory and a <samp class="file">man</samp> directory at the top level, then we only scan
|
||||
<samp class="file">/usr/local/bin</samp> and <samp class="file">/usr/local/man</samp>, and not
|
||||
<samp class="file">/usr/local/lib</samp> or <samp class="file">/usr/local/share</samp>, or for that matter
|
||||
<samp class="file">/usr/local/stow</samp>. Any symlink it finds that points into the package
|
||||
being deleted is removed. Any directory that contained only symlinks to the
|
||||
package being deleted is removed.
|
||||
</p>
|
||||
<a class="anchor" id="tree-refolding"></a><ul class="mini-toc">
|
||||
<li><a href="#Refolding-_0060_0060foldable_0027_0027-trees_002e" accesskey="1">Refolding “foldable” trees.</a></li>
|
||||
</ul>
|
||||
<div class="section-level-extent" id="Refolding-_0060_0060foldable_0027_0027-trees_002e">
|
||||
<h3 class="section"><span>6.1 Refolding “foldable” trees.<a class="copiable-link" href="#Refolding-_0060_0060foldable_0027_0027-trees_002e"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-refolding-trees"></a>
|
||||
<a class="index-entry-id" id="index-tree-refolding"></a>
|
||||
|
||||
<p>After removing symlinks and empty subdirectories, any directory that
|
||||
contains only symlinks to a single other package is considered to be a
|
||||
previously “folded” tree that was “split open.” Stow will refold
|
||||
the tree by removing the symlinks to the surviving package, removing
|
||||
the directory, then linking the directory back to the surviving
|
||||
package. However, this behaviour can be prevented via the
|
||||
<samp class="option">--no-folding</samp> option; see <a class="pxref" href="Invoking-Stow.html">Invoking Stow</a>.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footnotes-segment">
|
||||
<hr>
|
||||
<h4 class="footnotes-heading">Footnotes</h4>
|
||||
|
||||
<h5 class="footnote-body-heading"><a id="FOOT7" href="#DOCF7">(7)</a></h5>
|
||||
<p>This
|
||||
approach was introduced in version 2 of GNU Stow. Previously, the whole
|
||||
target tree was scanned and stow directories were explicitly omitted. This
|
||||
became problematic when dealing with very large installations. The only
|
||||
situation where this is useful is if you accidentally delete a directory in
|
||||
the package tree, leaving you with a whole bunch of dangling links. Note that
|
||||
you can enable the old approach with the <samp class="option">-p</samp> option. Alternatively, you can
|
||||
use the <samp class="option">--badlinks</samp> option get stow to search for dangling links in your target tree and remove the offenders manually.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
112
dot-local/share/doc/stow/manual-split/GNU-Emacs.html
Normal file
112
dot-local/share/doc/stow/manual-split/GNU-Emacs.html
Normal file
|
@ -0,0 +1,112 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>GNU Emacs (Stow)</title>
|
||||
|
||||
<meta name="description" content="GNU Emacs (Stow)">
|
||||
<meta name="keywords" content="GNU Emacs (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="up" title="Compile-time vs Install-time">
|
||||
<link href="Other-FSF-Software.html" rel="next" title="Other FSF Software">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="prev" title="Compile-time vs Install-time">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="GNU-Emacs">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Other-FSF-Software.html" accesskey="n" rel="next">Other FSF Software</a>, Previous: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="p" rel="prev">Compile-time vs Install-time</a>, Up: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="u" rel="up">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="GNU-Emacs-1"><span>12.2 GNU Emacs<a class="copiable-link" href="#GNU-Emacs-1"> ¶</a></span></h3>
|
||||
|
||||
<p>Although the Free Software Foundation has many enlightened practices
|
||||
regarding Makefiles and software installation (see see <a class="pxref" href="Other-FSF-Software.html">Other FSF Software</a>), Emacs, its flagship program, doesn’t quite follow the
|
||||
rules. In particular, most GNU software allows you to write:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">make
|
||||
make install prefix=/usr/local/stow/<var class="var">package</var>
|
||||
</pre></div>
|
||||
|
||||
<p>If you try this with Emacs, then the new value for <var class="var">prefix</var> in the
|
||||
‘<samp class="samp">make install</samp>’ step will cause some files to get recompiled with
|
||||
the new value of <var class="var">prefix</var> wired into them. In Emacs 19.23 and
|
||||
later,<a class="footnote" id="DOCF8" href="#FOOT8"><sup>8</sup></a>
|
||||
the way to work around this problem is:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">make
|
||||
make install-arch-dep install-arch-indep prefix=/usr/local/stow/emacs
|
||||
</pre></div>
|
||||
|
||||
<p>In 19.22 and some prior versions of Emacs, the workaround was:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">make
|
||||
make do-install prefix=/usr/local/stow/emacs
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
<div class="footnotes-segment">
|
||||
<hr>
|
||||
<h4 class="footnotes-heading">Footnotes</h4>
|
||||
|
||||
<h5 class="footnote-body-heading"><a id="FOOT8" href="#DOCF8">(8)</a></h5>
|
||||
<p>As I write this, the current version of Emacs is 19.31.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,786 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>GNU General Public License (Stow)</title>
|
||||
|
||||
<meta name="description" content="GNU General Public License (Stow)">
|
||||
<meta name="keywords" content="GNU General Public License (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Index.html" rel="next" title="Index">
|
||||
<link href="Known-Bugs.html" rel="prev" title="Known Bugs">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.center {text-align:center}
|
||||
div.display {margin-left: 3.2em}
|
||||
div.example {margin-left: 3.2em}
|
||||
pre.display-preformatted {font-family: inherit}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="unnumbered-level-extent" id="GNU-General-Public-License">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Index.html" accesskey="n" rel="next">Index</a>, Previous: <a href="Known-Bugs.html" accesskey="p" rel="prev">Known Bugs</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="unnumbered" id="GNU-General-Public-License-1"><span>GNU General Public License<a class="copiable-link" href="#GNU-General-Public-License-1"> ¶</a></span></h2>
|
||||
|
||||
<div class="center">Version 3, 29 June 2007
|
||||
</div>
|
||||
|
||||
<div class="display">
|
||||
<pre class="display-preformatted">Copyright © 2007 Free Software Foundation, Inc. <a class="url" href="https://fsf.org/">https://fsf.org/</a>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this
|
||||
license document, but changing it is not allowed.
|
||||
</pre></div>
|
||||
|
||||
<h3 class="heading" id="Preamble"><span>Preamble<a class="copiable-link" href="#Preamble"> ¶</a></span></h3>
|
||||
|
||||
<p>The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
</p>
|
||||
<p>The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom
|
||||
to share and change all versions of a program—to make sure it remains
|
||||
free software for all its users. We, the Free Software Foundation,
|
||||
use the GNU General Public License for most of our software; it
|
||||
applies also to any other work released this way by its authors. You
|
||||
can apply it to your programs, too.
|
||||
</p>
|
||||
<p>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
|
||||
them 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.
|
||||
</p>
|
||||
<p>To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you
|
||||
have certain responsibilities if you distribute copies of the
|
||||
software, or if you modify it: responsibilities to respect the freedom
|
||||
of others.
|
||||
</p>
|
||||
<p>For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. 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.
|
||||
</p>
|
||||
<p>Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
</p>
|
||||
<p>For the developers’ and authors’ protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users’ and
|
||||
authors’ sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
</p>
|
||||
<p>Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the
|
||||
manufacturer can do so. This is fundamentally incompatible with the
|
||||
aim of protecting users’ freedom to change the software. The
|
||||
systematic pattern of such abuse occurs in the area of products for
|
||||
individuals to use, which is precisely where it is most unacceptable.
|
||||
Therefore, we have designed this version of the GPL to prohibit the
|
||||
practice for those products. If such problems arise substantially in
|
||||
other domains, we stand ready to extend this provision to those
|
||||
domains in future versions of the GPL, as needed to protect the
|
||||
freedom of users.
|
||||
</p>
|
||||
<p>Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish
|
||||
to avoid the special danger that patents applied to a free program
|
||||
could make it effectively proprietary. To prevent this, the GPL
|
||||
assures that patents cannot be used to render the program non-free.
|
||||
</p>
|
||||
<p>The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
</p>
|
||||
<h3 class="heading" id="TERMS-AND-CONDITIONS"><span>TERMS AND CONDITIONS<a class="copiable-link" href="#TERMS-AND-CONDITIONS"> ¶</a></span></h3>
|
||||
|
||||
<ol class="enumerate" start="0">
|
||||
<li> Definitions.
|
||||
|
||||
<p>“This License” refers to version 3 of the GNU General Public License.
|
||||
</p>
|
||||
<p>“Copyright” also means copyright-like laws that apply to other kinds
|
||||
of works, such as semiconductor masks.
|
||||
</p>
|
||||
<p>“The Program” refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as “you”. “Licensees” and
|
||||
“recipients” may be individuals or organizations.
|
||||
</p>
|
||||
<p>To “modify” a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of
|
||||
an exact copy. The resulting work is called a “modified version” of
|
||||
the earlier work or a work “based on” the earlier work.
|
||||
</p>
|
||||
<p>A “covered work” means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
</p>
|
||||
<p>To “propagate” a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
</p>
|
||||
<p>To “convey” a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user
|
||||
through a computer network, with no transfer of a copy, is not
|
||||
conveying.
|
||||
</p>
|
||||
<p>An interactive user interface displays “Appropriate Legal Notices” to
|
||||
the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
</p>
|
||||
</li><li> Source Code.
|
||||
|
||||
<p>The “source code” for a work means the preferred form of the work for
|
||||
making modifications to it. “Object code” means any non-source form
|
||||
of a work.
|
||||
</p>
|
||||
<p>A “Standard Interface” means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
</p>
|
||||
<p>The “System Libraries” of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
“Major Component”, in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
</p>
|
||||
<p>The “Corresponding Source” for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work’s
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
</p>
|
||||
<p>The Corresponding Source need not include anything that users can
|
||||
regenerate automatically from other parts of the Corresponding Source.
|
||||
</p>
|
||||
<p>The Corresponding Source for a work in source code form is that same
|
||||
work.
|
||||
</p>
|
||||
</li><li> Basic Permissions.
|
||||
|
||||
<p>All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
</p>
|
||||
<p>You may make, run and propagate covered works that you do not convey,
|
||||
without conditions so long as your license otherwise remains in force.
|
||||
You may convey covered works to others for the sole purpose of having
|
||||
them make modifications exclusively for you, or provide you with
|
||||
facilities for running those works, provided that you comply with the
|
||||
terms of this License in conveying all material for which you do not
|
||||
control copyright. Those thus making or running the covered works for
|
||||
you must do so exclusively on your behalf, under your direction and
|
||||
control, on terms that prohibit them from making any copies of your
|
||||
copyrighted material outside their relationship with you.
|
||||
</p>
|
||||
<p>Conveying under any other circumstances is permitted solely under the
|
||||
conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
</p>
|
||||
</li><li> Protecting Users’ Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
<p>No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
</p>
|
||||
<p>When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such
|
||||
circumvention is effected by exercising rights under this License with
|
||||
respect to the covered work, and you disclaim any intention to limit
|
||||
operation or modification of the work as a means of enforcing, against
|
||||
the work’s users, your or third parties’ legal rights to forbid
|
||||
circumvention of technological measures.
|
||||
</p>
|
||||
</li><li> Conveying Verbatim Copies.
|
||||
|
||||
<p>You may convey 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;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
</p>
|
||||
<p>You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
</p>
|
||||
</li><li> Conveying Modified Source Versions.
|
||||
|
||||
<p>You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these
|
||||
conditions:
|
||||
</p>
|
||||
<ol class="enumerate" type="a" start="1">
|
||||
<li> The work must carry prominent notices stating that you modified it,
|
||||
and giving a relevant date.
|
||||
|
||||
</li><li> The work must carry prominent notices stating that it is released
|
||||
under this License and any conditions added under section 7. This
|
||||
requirement modifies the requirement in section 4 to “keep intact all
|
||||
notices”.
|
||||
|
||||
</li><li> You must license the entire work, as a whole, under this License to
|
||||
anyone who comes into possession of a copy. This License will
|
||||
therefore apply, along with any applicable section 7 additional terms,
|
||||
to the whole of the work, and all its parts, regardless of how they
|
||||
are packaged. This License gives no permission to license the work in
|
||||
any other way, but it does not invalidate such permission if you have
|
||||
separately received it.
|
||||
|
||||
</li><li> If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your work
|
||||
need not make them do so.
|
||||
</li></ol>
|
||||
|
||||
<p>A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
“aggregate” if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation’s users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
</p>
|
||||
</li><li> Conveying Non-Source Forms.
|
||||
|
||||
<p>You may convey a covered work in object code form under the terms of
|
||||
sections 4 and 5, provided that you also convey the machine-readable
|
||||
Corresponding Source under the terms of this License, in one of these
|
||||
ways:
|
||||
</p>
|
||||
<ol class="enumerate" type="a" start="1">
|
||||
<li> Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium customarily
|
||||
used for software interchange.
|
||||
|
||||
</li><li> Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a written
|
||||
offer, valid for at least three years and valid for as long as you
|
||||
offer spare parts or customer support for that product model, to give
|
||||
anyone who possesses the object code either (1) a copy of the
|
||||
Corresponding Source for all the software in the product that is
|
||||
covered by this License, on a durable physical medium customarily used
|
||||
for software interchange, for a price no more than your reasonable
|
||||
cost of physically performing this conveying of source, or (2) access
|
||||
to copy the Corresponding Source from a network server at no charge.
|
||||
|
||||
</li><li> Convey individual copies of the object code with a copy of the written
|
||||
offer to provide the Corresponding Source. This alternative is
|
||||
allowed only occasionally and noncommercially, and only if you
|
||||
received the object code with such an offer, in accord with subsection
|
||||
6b.
|
||||
|
||||
</li><li> Convey the object code by offering access from a designated place
|
||||
(gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to copy
|
||||
the object code is a network server, the Corresponding Source may be
|
||||
on a different server (operated by you or a third party) that supports
|
||||
equivalent copying facilities, provided you maintain clear directions
|
||||
next to the object code saying where to find the Corresponding Source.
|
||||
Regardless of what server hosts the Corresponding Source, you remain
|
||||
obligated to ensure that it is available for as long as needed to
|
||||
satisfy these requirements.
|
||||
|
||||
</li><li> Convey the object code using peer-to-peer transmission, provided you
|
||||
inform other peers where the object code and Corresponding Source of
|
||||
the work are being offered to the general public at no charge under
|
||||
subsection 6d.
|
||||
|
||||
</li></ol>
|
||||
|
||||
<p>A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
</p>
|
||||
<p>A “User Product” is either (1) a “consumer product”, which means any
|
||||
tangible personal property which is normally used for personal,
|
||||
family, or household purposes, or (2) anything designed or sold for
|
||||
incorporation into a dwelling. In determining whether a product is a
|
||||
consumer product, doubtful cases shall be resolved in favor of
|
||||
coverage. For a particular product received by a particular user,
|
||||
“normally used” refers to a typical or common use of that class of
|
||||
product, regardless of the status of the particular user or of the way
|
||||
in which the particular user actually uses, or expects or is expected
|
||||
to use, the product. A product is a consumer product regardless of
|
||||
whether the product has substantial commercial, industrial or
|
||||
non-consumer uses, unless such uses represent the only significant
|
||||
mode of use of the product.
|
||||
</p>
|
||||
<p>“Installation Information” for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to
|
||||
install and execute modified versions of a covered work in that User
|
||||
Product from a modified version of its Corresponding Source. The
|
||||
information must suffice to ensure that the continued functioning of
|
||||
the modified object code is in no case prevented or interfered with
|
||||
solely because modification has been made.
|
||||
</p>
|
||||
<p>If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
</p>
|
||||
<p>The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or
|
||||
updates for a work that has been modified or installed by the
|
||||
recipient, or for the User Product in which it has been modified or
|
||||
installed. Access to a network may be denied when the modification
|
||||
itself materially and adversely affects the operation of the network
|
||||
or violates the rules and protocols for communication across the
|
||||
network.
|
||||
</p>
|
||||
<p>Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
</p>
|
||||
</li><li> Additional Terms.
|
||||
|
||||
<p>“Additional permissions” are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
</p>
|
||||
<p>When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
</p>
|
||||
<p>Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders
|
||||
of that material) supplement the terms of this License with terms:
|
||||
</p>
|
||||
<ol class="enumerate" type="a" start="1">
|
||||
<li> Disclaiming warranty or limiting liability differently from the terms
|
||||
of sections 15 and 16 of this License; or
|
||||
|
||||
</li><li> Requiring preservation of specified reasonable legal notices or author
|
||||
attributions in that material or in the Appropriate Legal Notices
|
||||
displayed by works containing it; or
|
||||
|
||||
</li><li> Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
</li><li> Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
</li><li> Declining to grant rights under trademark law for use of some trade
|
||||
names, trademarks, or service marks; or
|
||||
|
||||
</li><li> Requiring indemnification of licensors and authors of that material by
|
||||
anyone who conveys the material (or modified versions of it) with
|
||||
contractual assumptions of liability to the recipient, for any
|
||||
liability that these contractual assumptions directly impose on those
|
||||
licensors and authors.
|
||||
</li></ol>
|
||||
|
||||
<p>All other non-permissive additional terms are considered “further
|
||||
restrictions” within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
</p>
|
||||
<p>If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
</p>
|
||||
<p>Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions; the
|
||||
above requirements apply either way.
|
||||
</p>
|
||||
</li><li> Termination.
|
||||
|
||||
<p>You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
</p>
|
||||
<p>However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
</p>
|
||||
<p>Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
</p>
|
||||
<p>Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
</p>
|
||||
</li><li> Acceptance Not Required for Having Copies.
|
||||
|
||||
<p>You are not required to accept this License in order to receive or run
|
||||
a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
</p>
|
||||
</li><li> Automatic Licensing of Downstream Recipients.
|
||||
|
||||
<p>Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
</p>
|
||||
<p>An “entity transaction” is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party’s predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
</p>
|
||||
<p>You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
</p>
|
||||
</li><li> Patents.
|
||||
|
||||
<p>A “contributor” is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor’s “contributor version”.
|
||||
</p>
|
||||
<p>A contributor’s “essential patent claims” are all patent claims owned
|
||||
or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, “control” includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
</p>
|
||||
<p>Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor’s essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
</p>
|
||||
<p>In the following three paragraphs, a “patent license” is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To “grant” such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
</p>
|
||||
<p>If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. “Knowingly relying” means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient’s use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
</p>
|
||||
<p>If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
</p>
|
||||
<p>A patent license is “discriminatory” if it does not include within the
|
||||
scope of its coverage, prohibits the exercise of, or is conditioned on
|
||||
the non-exercise of one or more of the rights that are specifically
|
||||
granted under this License. You may not convey a covered work if you
|
||||
are a party to an arrangement with a third party that is in the
|
||||
business of distributing software, under which you make payment to the
|
||||
third party based on the extent of your activity of conveying the
|
||||
work, and under which the third party grants, to any of the parties
|
||||
who would receive the covered work from you, a discriminatory patent
|
||||
license (a) in connection with copies of the covered work conveyed by
|
||||
you (or copies made from those copies), or (b) primarily for and in
|
||||
connection with specific products or compilations that contain the
|
||||
covered work, unless you entered into that arrangement, or that patent
|
||||
license was granted, prior to 28 March 2007.
|
||||
</p>
|
||||
<p>Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
</p>
|
||||
</li><li> No Surrender of Others’ Freedom.
|
||||
|
||||
<p>If 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 convey
|
||||
a covered work so as to satisfy simultaneously your obligations under
|
||||
this License and any other pertinent obligations, then as a
|
||||
consequence you may not convey it at all. For example, if you agree
|
||||
to terms that obligate you to collect a royalty for further conveying
|
||||
from those to whom you convey the Program, the only way you could
|
||||
satisfy both those terms and this License would be to refrain entirely
|
||||
from conveying the Program.
|
||||
</p>
|
||||
</li><li> Use with the GNU Affero General Public License.
|
||||
|
||||
<p>Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
</p>
|
||||
</li><li> Revised Versions of this License.
|
||||
|
||||
<p>The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU 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.
|
||||
</p>
|
||||
<p>Each version is given a distinguishing version number. If the Program
|
||||
specifies that a certain numbered version of the GNU General Public
|
||||
License “or any later version” applies to it, you have the option of
|
||||
following the terms and conditions either of that numbered version or
|
||||
of any later version published by the Free Software Foundation. If
|
||||
the Program does not specify a version number of the GNU General
|
||||
Public License, you may choose any version ever published by the Free
|
||||
Software Foundation.
|
||||
</p>
|
||||
<p>If the Program specifies that a proxy can decide which future versions
|
||||
of the GNU General Public License can be used, that proxy’s public
|
||||
statement of acceptance of a version permanently authorizes you to
|
||||
choose that version for the Program.
|
||||
</p>
|
||||
<p>Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
</p>
|
||||
</li><li> Disclaimer of Warranty.
|
||||
|
||||
<p>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.
|
||||
</p>
|
||||
</li><li> Limitation of Liability.
|
||||
|
||||
<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
|
||||
CONVEYS 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.
|
||||
</p>
|
||||
</li><li> Interpretation of Sections 15 and 16.
|
||||
|
||||
<p>If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
</p>
|
||||
</li></ol>
|
||||
|
||||
<h3 class="heading" id="END-OF-TERMS-AND-CONDITIONS"><span>END OF TERMS AND CONDITIONS<a class="copiable-link" href="#END-OF-TERMS-AND-CONDITIONS"> ¶</a></span></h3>
|
||||
|
||||
<h3 class="heading" id="How-to-Apply-These-Terms-to-Your-New-Programs"><span>How to Apply These Terms to Your New Programs<a class="copiable-link" href="#How-to-Apply-These-Terms-to-Your-New-Programs"> ¶</a></span></h3>
|
||||
|
||||
<p>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.
|
||||
</p>
|
||||
<p>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
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the “copyright” line and a pointer to where the full notice is found.
|
||||
</p>
|
||||
<div class="example smallexample">
|
||||
<pre class="example-preformatted"><var class="var">one line to give the program's name and a brief idea of what it does.</var>
|
||||
Copyright (C) <var class="var">year</var> <var class="var">name of author</var>
|
||||
|
||||
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 3 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, see <a class="url" href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
|
||||
</pre></div>
|
||||
|
||||
<p>Also add information on how to contact you by electronic and paper mail.
|
||||
</p>
|
||||
<p>If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
</p>
|
||||
<div class="example smallexample">
|
||||
<pre class="example-preformatted"><var class="var">program</var> Copyright (C) <var class="var">year</var> <var class="var">name of author</var>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type ‘<samp class="samp">show w</samp>’.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type ‘<samp class="samp">show c</samp>’ for details.
|
||||
</pre></div>
|
||||
|
||||
<p>The hypothetical commands ‘<samp class="samp">show w</samp>’ and ‘<samp class="samp">show c</samp>’ should show
|
||||
the appropriate parts of the General Public License. Of course, your
|
||||
program’s commands might be different; for a GUI interface, you would
|
||||
use an “about box”.
|
||||
</p>
|
||||
<p>You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a “copyright disclaimer” for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<a class="url" href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
|
||||
</p>
|
||||
<p>The GNU 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. But
|
||||
first, please read <a class="url" href="https://www.gnu.org/licenses/why-not-lgpl.html">https://www.gnu.org/licenses/why-not-lgpl.html</a>.
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Index.html">Index</a>, Previous: <a href="Known-Bugs.html">Known Bugs</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
86
dot-local/share/doc/stow/manual-split/Ignore-Lists.html
Normal file
86
dot-local/share/doc/stow/manual-split/Ignore-Lists.html
Normal file
|
@ -0,0 +1,86 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Ignore Lists (Stow)</title>
|
||||
|
||||
<meta name="description" content="Ignore Lists (Stow)">
|
||||
<meta name="keywords" content="Ignore Lists (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Installing-Packages.html" rel="next" title="Installing Packages">
|
||||
<link href="Invoking-Stow.html" rel="prev" title="Invoking Stow">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Ignore-Lists">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Installing-Packages.html" accesskey="n" rel="next">Installing Packages</a>, Previous: <a href="Invoking-Stow.html" accesskey="p" rel="prev">Invoking Stow</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Ignore-Lists-1"><span>4 Ignore Lists<a class="copiable-link" href="#Ignore-Lists-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-ignore-lists"></a>
|
||||
<a class="index-entry-id" id="index-ignoring-files-and-directories"></a>
|
||||
|
||||
|
||||
<ul class="mini-toc">
|
||||
<li><a href="Motivation-For-Ignore-Lists.html" accesskey="1">Motivation For Ignore Lists</a></li>
|
||||
<li><a href="Types-And-Syntax-Of-Ignore-Lists.html" accesskey="2">Types And Syntax Of Ignore Lists</a></li>
|
||||
<li><a href="Justification-For-Yet-Another-Set-Of-Ignore-Files.html" accesskey="3">Justification For Yet Another Set Of Ignore Files</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
187
dot-local/share/doc/stow/manual-split/Installing-Packages.html
Normal file
187
dot-local/share/doc/stow/manual-split/Installing-Packages.html
Normal file
|
@ -0,0 +1,187 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Installing Packages (Stow)</title>
|
||||
|
||||
<meta name="description" content="Installing Packages (Stow)">
|
||||
<meta name="keywords" content="Installing Packages (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Deleting-Packages.html" rel="next" title="Deleting Packages">
|
||||
<link href="Ignore-Lists.html" rel="prev" title="Ignore Lists">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Installing-Packages">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Deleting-Packages.html" accesskey="n" rel="next">Deleting Packages</a>, Previous: <a href="Ignore-Lists.html" accesskey="p" rel="prev">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Installing-Packages-1"><span>5 Installing Packages<a class="copiable-link" href="#Installing-Packages-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-installation"></a>
|
||||
<p>The default action of Stow is to install a package. This means creating
|
||||
symlinks in the target tree that point into the package tree. Stow
|
||||
attempts to do this with as few symlinks as possible; in other words, if
|
||||
Stow can create a single symlink that points to an entire subtree within
|
||||
the package tree, it will choose to do that rather than create a
|
||||
directory in the target tree and populate it with symlinks.
|
||||
</p>
|
||||
<a class="anchor" id="tree-folding"></a><ul class="mini-toc">
|
||||
<li><a href="#Tree-folding" accesskey="1">Tree folding</a></li>
|
||||
<li><a href="#Tree-unfolding-1" accesskey="2">Tree unfolding</a></li>
|
||||
<li><a href="#Ownership" accesskey="3">Ownership</a></li>
|
||||
<li><a href="#Conflicts-during-installation" accesskey="4">Conflicts during installation</a></li>
|
||||
</ul>
|
||||
<div class="section-level-extent" id="Tree-folding">
|
||||
<h3 class="section"><span>5.1 Tree folding<a class="copiable-link" href="#Tree-folding"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-tree-folding"></a>
|
||||
<a class="index-entry-id" id="index-directory-folding"></a>
|
||||
<a class="index-entry-id" id="index-folding-trees"></a>
|
||||
<p>For example, suppose that no packages have yet been installed in
|
||||
<samp class="file">/usr/local</samp>; it’s completely empty (except for the <samp class="file">stow</samp>
|
||||
subdirectory, of course). Now suppose the Perl package is installed.
|
||||
Recall that it includes the following directories in its installation
|
||||
image: <samp class="file">bin</samp>; <samp class="file">info</samp>; <samp class="file">lib/perl</samp>; <samp class="file">man/man1</samp>.
|
||||
Rather than creating the directory <samp class="file">/usr/local/bin</samp> and populating
|
||||
it with symlinks to <samp class="file">../stow/perl/bin/perl</samp> and
|
||||
<samp class="file">../stow/perl/bin/a2p</samp> (and so on), Stow will create a
|
||||
single symlink, <samp class="file">/usr/local/bin</samp>, which points to
|
||||
<samp class="file">stow/perl/bin</samp>. In this way, it still works to refer to
|
||||
<samp class="file">/usr/local/bin/perl</samp> and <samp class="file">/usr/local/bin/a2p</samp>, and fewer
|
||||
symlinks have been created. This is called <em class="dfn">tree folding</em>, since an
|
||||
entire subtree is “folded” into a single symlink.
|
||||
</p>
|
||||
<p>To complete this example, Stow will also create the symlink
|
||||
<samp class="file">/usr/local/info</samp> pointing to <samp class="file">stow/perl/info</samp>; the symlink
|
||||
<samp class="file">/usr/local/lib</samp> pointing to <samp class="file">stow/perl/lib</samp>; and the symlink
|
||||
<samp class="file">/usr/local/man</samp> pointing to <samp class="file">stow/perl/man</samp>.
|
||||
</p>
|
||||
<p>Now suppose that instead of installing the Perl package into an empty
|
||||
target tree, the target tree is not empty to begin with. Instead, it
|
||||
contains several files and directories installed under a different
|
||||
system-administration philosophy. In particular, <samp class="file">/usr/local/bin</samp>
|
||||
already exists and is a directory, as are <samp class="file">/usr/local/lib</samp> and
|
||||
<samp class="file">/usr/local/man/man1</samp>. In this case, Stow will descend into
|
||||
<samp class="file">/usr/local/bin</samp> and create symlinks to
|
||||
<samp class="file">../stow/perl/bin/perl</samp> and <samp class="file">../stow/perl/bin/a2p</samp> (etc.),
|
||||
and it will descend into <samp class="file">/usr/local/lib</samp> and create the
|
||||
tree-folding symlink <samp class="file">perl</samp> pointing to
|
||||
<samp class="file">../stow/perl/lib/perl</samp>, and so on. As a rule, Stow only
|
||||
descends as far as necessary into the target tree when it can create a
|
||||
tree-folding symlink. However, this behaviour can be changed via
|
||||
the <samp class="option">--no-folding</samp> option; see <a class="pxref" href="Invoking-Stow.html">Invoking Stow</a>.
|
||||
</p>
|
||||
<a class="anchor" id="Tree-unfolding"></a></div>
|
||||
<div class="section-level-extent" id="Tree-unfolding-1">
|
||||
<h3 class="section"><span>5.2 Tree unfolding<a class="copiable-link" href="#Tree-unfolding-1"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-splitting-open-folded-trees"></a>
|
||||
<a class="index-entry-id" id="index-unfolding-trees"></a>
|
||||
<a class="index-entry-id" id="index-tree-unfolding"></a>
|
||||
<a class="index-entry-id" id="index-tree-unsplitting"></a>
|
||||
<p>The time often comes when a tree-folding symlink has to be undone
|
||||
because another package uses one or more of the folded subdirectories in
|
||||
its installation image. This operation is called <em class="dfn">splitting open</em> or
|
||||
<em class="dfn">unfolding</em> a folded tree. It involves removing the original symlink from
|
||||
the target tree, creating a true directory in its place, and then populating the
|
||||
new directory with symlinks to the newly-installed package <em class="emph">and</em> to
|
||||
the old package that used the old symlink. For example, suppose that
|
||||
after installing Perl into an empty <samp class="file">/usr/local</samp>, we wish to
|
||||
install Emacs. Emacs’s installation image includes a <samp class="file">bin</samp>
|
||||
directory containing the <samp class="file">emacs</samp> and <samp class="file">etags</samp> executables,
|
||||
among others. Stow must make these files appear to be installed
|
||||
in <samp class="file">/usr/local/bin</samp>, but presently <samp class="file">/usr/local/bin</samp> is a
|
||||
symlink to <samp class="file">stow/perl/bin</samp>. Stow therefore takes the
|
||||
following steps: the symlink <samp class="file">/usr/local/bin</samp> is deleted; the
|
||||
directory <samp class="file">/usr/local/bin</samp> is created; links are made from
|
||||
<samp class="file">/usr/local/bin</samp> to <samp class="file">../stow/emacs/bin/emacs</samp> and
|
||||
<samp class="file">../stow/emacs/bin/etags</samp>; and links are made from
|
||||
<samp class="file">/usr/local/bin</samp> to <samp class="file">../stow/perl/bin/perl</samp> and
|
||||
<samp class="file">../stow/perl/bin/a2p</samp>.
|
||||
</p>
|
||||
</div>
|
||||
<div class="section-level-extent" id="Ownership">
|
||||
<h3 class="section"><span>5.3 Ownership<a class="copiable-link" href="#Ownership"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-ownership"></a>
|
||||
<p>When splitting open a folded tree, Stow makes sure that the
|
||||
symlink it is about to remove points inside a valid package in the
|
||||
current stow directory. <em class="emph">Stow will never delete anything
|
||||
that it doesn’t own</em>. Stow “owns” everything living in the
|
||||
target tree that points into a package in the stow directory. Anything
|
||||
Stow owns, it can recompute if lost: symlinks that point into a package in
|
||||
the stow directory, or directories that only contain symlinks that stow
|
||||
“owns”. Note that by this definition, Stow doesn’t “own” anything
|
||||
<em class="emph">in</em> the stow directory or in any of the packages.
|
||||
</p>
|
||||
</div>
|
||||
<div class="section-level-extent" id="Conflicts-during-installation">
|
||||
<h3 class="section"><span>5.4 Conflicts during installation<a class="copiable-link" href="#Conflicts-during-installation"> ¶</a></span></h3>
|
||||
<a class="index-entry-id" id="index-conflicts"></a>
|
||||
<a class="index-entry-id" id="index-installation-conflicts"></a>
|
||||
<p>If Stow needs to create a directory or a symlink in the target
|
||||
tree and it cannot because that name is already in use and is not owned
|
||||
by Stow, then a <em class="dfn">conflict</em> has arisen. See <a class="xref" href="Conflicts.html">Conflicts</a>.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Deleting-Packages.html">Deleting Packages</a>, Previous: <a href="Ignore-Lists.html">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
170
dot-local/share/doc/stow/manual-split/Introduction.html
Normal file
170
dot-local/share/doc/stow/manual-split/Introduction.html
Normal file
|
@ -0,0 +1,170 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Introduction (Stow)</title>
|
||||
|
||||
<meta name="description" content="Introduction (Stow)">
|
||||
<meta name="keywords" content="Introduction (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Terminology.html" rel="next" title="Terminology">
|
||||
<link href="index.html" rel="prev" title="Top">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Introduction">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Terminology.html" accesskey="n" rel="next">Terminology</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Introduction-1"><span>1 Introduction<a class="copiable-link" href="#Introduction-1"> ¶</a></span></h2>
|
||||
|
||||
<p>GNU Stow is a symlink farm manager which takes distinct sets of
|
||||
software and/or data located in separate directories on the
|
||||
filesystem, and makes them all appear to be installed in a single
|
||||
directory tree.
|
||||
</p>
|
||||
<p>Originally Stow was born to address the need to administer, upgrade,
|
||||
install, and remove files in independent software packages without
|
||||
confusing them with other files sharing the same file system space.
|
||||
For instance, many years ago it used to be common to compile programs
|
||||
such as Perl and Emacs from source and install them in
|
||||
<samp class="file">/usr/local</samp>. When one does so, one winds up with the following
|
||||
files<a class="footnote" id="DOCF1" href="#FOOT1"><sup>1</sup></a> in
|
||||
<samp class="file">/usr/local/man/man1</samp>:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">a2p.1
|
||||
ctags.1
|
||||
emacs.1
|
||||
etags.1
|
||||
h2ph.1
|
||||
perl.1
|
||||
s2p.1
|
||||
</pre></div>
|
||||
|
||||
<p>Now suppose it’s time to uninstall Perl. Which man pages
|
||||
get removed? Obviously <samp class="file">perl.1</samp> is one of them, but it should not
|
||||
be the administrator’s responsibility to memorize the ownership of
|
||||
individual files by separate packages.
|
||||
</p>
|
||||
<p>The approach used by Stow is to install each package into its own
|
||||
tree, then use symbolic links to make it appear as though the files are
|
||||
installed in the common tree. Administration can be performed in the
|
||||
package’s private tree in isolation from clutter from other packages.
|
||||
Stow can then be used to update the symbolic links. The structure
|
||||
of each private tree should reflect the desired structure in the common
|
||||
tree; i.e. (in the typical case) there should be a <samp class="file">bin</samp> directory
|
||||
containing executables, a <samp class="file">man/man1</samp> directory containing section 1
|
||||
man pages, and so on.
|
||||
</p>
|
||||
<p>While this is useful for keeping track of system-wide and per-user
|
||||
installations of software built from source, in more recent times
|
||||
software packages are often managed by more sophisticated package
|
||||
management software such as
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/Rpm_(software)"><code class="command">rpm</code></a>,
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/Dpkg"><code class="command">dpkg</code></a>, and
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/Nix_package_manager">Nix</a> /
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/GNU_Guix">GNU Guix</a>, or
|
||||
language-native package managers such as
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/RubyGems">Ruby’s <code class="command">gem</code></a>,
|
||||
<a class="uref" href="https://en.wikipedia.org/wiki/Pip_(package_manager)">Python’s
|
||||
<code class="command">pip</code></a>, <a class="uref" href="https://en.wikipedia.org/wiki/Npm_(software)">Javascript’s <code class="command">npm</code></a>, and so on.
|
||||
</p>
|
||||
<p>However Stow is still used not only for software package management,
|
||||
but also for other purposes, such as facilitating a more controlled
|
||||
approach to management of configuration files in the user’s home
|
||||
directory<a class="footnote" id="DOCF2" href="#FOOT2"><sup>2</sup></a>,
|
||||
especially when coupled with version control
|
||||
systems<a class="footnote" id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
|
||||
</p>
|
||||
<p>Stow was inspired by Carnegie Mellon’s Depot program, but is
|
||||
substantially simpler and safer. Whereas Depot required database
|
||||
files to keep things in sync, Stow stores no extra state between runs,
|
||||
so there’s no danger (as there was in Depot) of mangling directories
|
||||
when file hierarchies don’t match the database. Also unlike Depot,
|
||||
Stow will never delete any files, directories, or links that appear in
|
||||
a Stow directory (e.g., <samp class="file">/usr/local/stow/emacs</samp>), so it’s always
|
||||
possible to rebuild the target tree (e.g., <samp class="file">/usr/local</samp>).
|
||||
</p>
|
||||
<p>Stow is implemented as a combination of a Perl script providing a CLI
|
||||
interface, and a backend Perl module which does most of the work.
|
||||
</p>
|
||||
<p>For information about the latest version of Stow, you can refer to
|
||||
<a class="uref" href="http://www.gnu.org/software/stow/">http://www.gnu.org/software/stow/</a>.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="footnotes-segment">
|
||||
<hr>
|
||||
<h4 class="footnotes-heading">Footnotes</h4>
|
||||
|
||||
<h5 class="footnote-body-heading"><a id="FOOT1" href="#DOCF1">(1)</a></h5>
|
||||
<p>As of Perl 4.036 and Emacs 19.22. These are now
|
||||
ancient releases but the example still holds valid.</p>
|
||||
<h5 class="footnote-body-heading"><a id="FOOT2" href="#DOCF2">(2)</a></h5>
|
||||
<p><a class="uref" href="http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html">http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html</a></p>
|
||||
<h5 class="footnote-body-heading"><a id="FOOT3" href="#DOCF3">(3)</a></h5>
|
||||
<p><a class="uref" href="http://lists.gnu.org/archive/html/info-stow/2011-12/msg00000.html">http://lists.gnu.org/archive/html/info-stow/2011-12/msg00000.html</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Terminology.html">Terminology</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
290
dot-local/share/doc/stow/manual-split/Invoking-Stow.html
Normal file
290
dot-local/share/doc/stow/manual-split/Invoking-Stow.html
Normal file
|
@ -0,0 +1,290 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Invoking Stow (Stow)</title>
|
||||
|
||||
<meta name="description" content="Invoking Stow (Stow)">
|
||||
<meta name="keywords" content="Invoking Stow (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Ignore-Lists.html" rel="next" title="Ignore Lists">
|
||||
<link href="Terminology.html" rel="prev" title="Terminology">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Invoking-Stow">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Ignore-Lists.html" accesskey="n" rel="next">Ignore Lists</a>, Previous: <a href="Terminology.html" accesskey="p" rel="prev">Terminology</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Invoking-Stow-1"><span>3 Invoking Stow<a class="copiable-link" href="#Invoking-Stow-1"> ¶</a></span></h2>
|
||||
|
||||
<p>The syntax of the <code class="command">stow</code> command is:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">stow [<var class="var">options</var>] [<var class="var">action flag</var>] <var class="var">package ...</var>
|
||||
</pre></div>
|
||||
|
||||
<p>Each <var class="var">package</var> is the name of a package (e.g., ‘<samp class="samp">perl</samp>’) in the stow
|
||||
directory that we wish to install into (or delete from) the target directory.
|
||||
The default action is to install the given packages, although alternate actions
|
||||
may be specified by preceding the package name(s) with an <var class="var">action flag</var>.
|
||||
</p>
|
||||
<p>The following options are supported:
|
||||
</p>
|
||||
<dl class="table">
|
||||
<dt>‘<samp class="samp">-d <var class="var">dir</var></samp>’</dt>
|
||||
<dt>‘<samp class="samp">--dir=<var class="var">dir</var></samp>’</dt>
|
||||
<dd><p>Set the stow directory to <var class="var">dir</var>. Defaults to the value of the environment
|
||||
variable <code class="env">STOW_DIR</code> if set, or the current directory otherwise.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-t <var class="var">dir</var></samp>’</dt>
|
||||
<dt>‘<samp class="samp">--target=<var class="var">dir</var></samp>’</dt>
|
||||
<dd><p>Set the target directory to <var class="var">dir</var> instead of the parent of the stow
|
||||
directory. Defaults to the parent of the stow directory, so it is typical to
|
||||
execute <code class="command">stow</code> from the directory <samp class="file">/usr/local/stow</samp>.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">--ignore=<var class="var">regexp</var></samp>’</dt>
|
||||
<dd><p>This (repeatable) option lets you suppress acting on files that match the
|
||||
given Perl regular expression. For example, using the options
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">--ignore='.*\.orig' --ignore='.*\.dist'
|
||||
</pre></div>
|
||||
|
||||
<p>will cause stow to ignore files ending in <samp class="file">.orig</samp> or <samp class="file">.dist</samp>.
|
||||
</p>
|
||||
<p>Note that the regular expression is anchored to the end of the filename,
|
||||
because this is what you will want to do most of the time.
|
||||
</p>
|
||||
<p>Also note that by default Stow automatically ignores a “sensible”
|
||||
built-in list of files and directories such as <samp class="file">CVS</samp>, editor
|
||||
backup files, and so on. See <a class="xref" href="Ignore-Lists.html">Ignore Lists</a>, for more details.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">--defer=<var class="var">regexp</var></samp>’</dt>
|
||||
<dd><p>This (repeatable) option avoids stowing a file matching the given
|
||||
regular expression, if that file is already stowed by another package.
|
||||
This is effectively the opposite of <samp class="option">--override</samp>.
|
||||
</p>
|
||||
<p>(N.B. the name <samp class="option">--defer</samp> was chosen in the sense that the package
|
||||
currently being stowed is treated with lower precedence than any
|
||||
already installed package, not in the sense that the operation is
|
||||
being postponed to be run at a later point in time; do not confuse
|
||||
this nomenclature with the wording used in <a class="ref" href="Conflicts.html#Deferred-Operation">Deferred Operation</a>.)
|
||||
</p>
|
||||
<p>For example, the following options
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">--defer=man --defer=info
|
||||
</pre></div>
|
||||
|
||||
<p>will cause stow to skip over pre-existing man and info pages.
|
||||
</p>
|
||||
<p>Equivalently, you could use ‘<samp class="samp">--defer='man|info'</samp>’ since the
|
||||
argument is just a Perl regular expression.
|
||||
</p>
|
||||
<p>Note that the regular expression is anchored to the beginning of the path
|
||||
relative to the target directory, because this is what you will want to do most
|
||||
of the time.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">--override=<var class="var">regexp</var></samp>’</dt>
|
||||
<dd><p>This (repeatable) option forces any file matching the regular expression to be
|
||||
stowed, even if the file is already stowed to another package. For example,
|
||||
the following options
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">--override=man --override=info
|
||||
</pre></div>
|
||||
|
||||
<p>will permit stow to overwrite links that point to pre-existing man and info
|
||||
pages that are owned by stow and would otherwise cause a conflict.
|
||||
</p>
|
||||
<p>The regular expression is anchored to the beginning of the path relative to
|
||||
the target directory, because this is what you will want to do most of the time.
|
||||
</p>
|
||||
</dd>
|
||||
<dt><a id="index-dotfiles"></a><span>‘<samp class="samp">--dotfiles</samp>’<a class="copiable-link" href="#index-dotfiles"> ¶</a></span></dt>
|
||||
<dd>
|
||||
<p>Enable special handling for <em class="emph">dotfiles</em> (files or folders whose
|
||||
name begins with a period) in the package directory. If this option is
|
||||
enabled, Stow will add a preprocessing step for each file or folder
|
||||
whose name begins with ‘<samp class="samp">dot-</samp>’, and replace the ‘<samp class="samp">dot-</samp>’ prefix
|
||||
in the name by a period ‘<samp class="samp">.</samp>’. This is useful when Stow is used to
|
||||
manage collections of dotfiles, to avoid having a package directory
|
||||
full of hidden files.
|
||||
</p>
|
||||
<p>For example, suppose we have a package containing two files,
|
||||
<samp class="file">stow/dot-bashrc</samp> and <samp class="file">stow/dot-emacs.d/init.el</samp>. With this
|
||||
option, Stow will create symlinks from <samp class="file">.bashrc</samp> to
|
||||
<samp class="file">stow/dot-bashrc</samp> and from <samp class="file">.emacs.d/init.el</samp> to
|
||||
<samp class="file">stow/dot-emacs.d/init.el</samp>. Any other files, whose name does not
|
||||
begin with ‘<samp class="samp">dot-</samp>’, will be processed as usual.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">--no-folding</samp>’</dt>
|
||||
<dd>
|
||||
<p>This disables any further tree folding (see <a class="pxref" href="Installing-Packages.html#tree-folding">tree folding</a>) or
|
||||
refolding (see <a class="pxref" href="Deleting-Packages.html#tree-refolding">tree refolding</a>). If a new subdirectory is
|
||||
encountered whilst stowing a new package, the subdirectory is created
|
||||
within the target, and its contents are symlinked, rather than just
|
||||
creating a symlink for the directory. If removal of symlinks whilst
|
||||
unstowing a package causes a subtree to be foldable (i.e. only
|
||||
containing symlinks to a single package), that subtree will not be
|
||||
removed and replaced with a symlink.
|
||||
</p>
|
||||
</dd>
|
||||
<dt><a id="index-adopting-existing-files"></a><span>‘<samp class="samp">--adopt</samp>’<a class="copiable-link" href="#index-adopting-existing-files"> ¶</a></span></dt>
|
||||
<dd><p><strong class="strong">Warning!</strong> This behaviour is specifically intended to alter the
|
||||
contents of your stow directory. If you do not want that, this option
|
||||
is not for you.
|
||||
</p>
|
||||
<p>When stowing, if a target is encountered which already exists but is a
|
||||
plain file (and hence not owned by any existing stow package), then
|
||||
normally Stow will register this as a conflict and refuse to proceed.
|
||||
This option changes that behaviour so that the file is moved to the
|
||||
same relative place within the package’s installation image within the
|
||||
stow directory, and then stowing proceeds as before. So effectively,
|
||||
the file becomes adopted by the stow package, without its contents
|
||||
changing.
|
||||
</p>
|
||||
<p>This is particularly useful when the stow package is under the control
|
||||
of a version control system, because it allows files in the target
|
||||
tree, with potentially different contents to the equivalent versions
|
||||
in the stow package’s installation image, to be adopted into the
|
||||
package, then compared by running something like ‘<samp class="samp">git diff ...</samp>’
|
||||
inside the stow package, and finally either kept (e.g. via ‘<samp class="samp">git
|
||||
commit ...</samp>’) or discarded (‘<samp class="samp">git checkout HEAD ...</samp>’).
|
||||
</p>
|
||||
</dd>
|
||||
<dt><a class="index-entry-id" id="index-simulated-run"></a>
|
||||
<a id="index-dry-run"></a><span>‘<samp class="samp">-n</samp>’<a class="copiable-link" href="#index-dry-run"> ¶</a></span></dt>
|
||||
<dt>‘<samp class="samp">--no</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--simulate</samp>’</dt>
|
||||
<dd><p>Do not perform any operations that modify the file system; in combination with
|
||||
<samp class="option">-v</samp> can be used to merely show what would happen.
|
||||
</p>
|
||||
</dd>
|
||||
<dt><a id="index-verbosity-levels"></a><span>‘<samp class="samp">-v</samp>’<a class="copiable-link" href="#index-verbosity-levels"> ¶</a></span></dt>
|
||||
<dt>‘<samp class="samp">--verbose[=<var class="var">n</var>]</samp>’</dt>
|
||||
<dd><p>Send verbose output to standard error describing what Stow is
|
||||
doing. Verbosity levels are from 0 to 5; 0 is the default. Using
|
||||
<samp class="option">-v</samp> or <samp class="option">--verbose</samp> increases the verbosity by one; using
|
||||
‘<samp class="samp">--verbose=<var class="var">n</var></samp>’ sets it to <var class="var">n</var>.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-p</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--compat</samp>’</dt>
|
||||
<dd><p>Scan the whole target tree when unstowing. By default, only
|
||||
directories specified in the <em class="dfn">installation image</em> are scanned
|
||||
during an unstow operation. Scanning the whole tree can be
|
||||
prohibitive if your target tree is very large. This option restores
|
||||
the legacy behaviour; however, the <samp class="option">--badlinks</samp> option to the
|
||||
<code class="command">chkstow</code> utility may be a better way of ensuring that your
|
||||
installation does not have any dangling symlinks (see <a class="pxref" href="Target-Maintenance.html">Target Maintenance</a>).
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-V</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--version</samp>’</dt>
|
||||
<dd><p>Show Stow version number, and exit.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-h</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--help</samp>’</dt>
|
||||
<dd><p>Show Stow command syntax, and exit.
|
||||
</p></dd>
|
||||
</dl>
|
||||
|
||||
<p>The following <var class="var">action flags</var> are supported:
|
||||
</p>
|
||||
<dl class="table">
|
||||
<dt>‘<samp class="samp">-D</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--delete</samp>’</dt>
|
||||
<dd><p>Delete (unstow) the package name(s) that follow this option from the <em class="dfn">target
|
||||
directory</em>. This option may be repeated any number of times.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-R</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--restow</samp>’</dt>
|
||||
<dd><p>Restow (first unstow, then stow again) the package names that follow this
|
||||
option. This is useful for pruning obsolete symlinks from the target tree
|
||||
after updating the software in a package. This option may be repeated any
|
||||
number of times.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-S</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--stow</samp>’</dt>
|
||||
<dd><p>explictly stow the package name(s) that follow this option. May be
|
||||
omitted if you are not using the <samp class="option">-D</samp> or <samp class="option">-R</samp> options in the
|
||||
same invocation. See <a class="xref" href="Mixing-Operations.html">Mixing Operations</a>, for details of when you
|
||||
might like to use this feature. This option may be repeated any number
|
||||
of times.
|
||||
</p></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Ignore-Lists.html">Ignore Lists</a>, Previous: <a href="Terminology.html">Terminology</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,101 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Justification For Yet Another Set Of Ignore Files (Stow)</title>
|
||||
|
||||
<meta name="description" content="Justification For Yet Another Set Of Ignore Files (Stow)">
|
||||
<meta name="keywords" content="Justification For Yet Another Set Of Ignore Files (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Ignore-Lists.html" rel="up" title="Ignore Lists">
|
||||
<link href="Types-And-Syntax-Of-Ignore-Lists.html" rel="prev" title="Types And Syntax Of Ignore Lists">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Justification-For-Yet-Another-Set-Of-Ignore-Files">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Previous: <a href="Types-And-Syntax-Of-Ignore-Lists.html" accesskey="p" rel="prev">Types And Syntax Of Ignore Lists</a>, Up: <a href="Ignore-Lists.html" accesskey="u" rel="up">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Justification-For-Yet-Another-Set-Of-Ignore-Files-1"><span>4.3 Justification For Yet Another Set Of Ignore Files<a class="copiable-link" href="#Justification-For-Yet-Another-Set-Of-Ignore-Files-1"> ¶</a></span></h3>
|
||||
|
||||
<p>The reader may note that this format is very similar to existing
|
||||
ignore list file formats, such as those for <code class="command">cvs</code>, <code class="command">git</code>,
|
||||
<code class="command">rsync</code> etc., and wonder if another set of ignore lists is
|
||||
justified. However there are good reasons why Stow does not simply
|
||||
check for the presence of say, <samp class="file">.cvsignore</samp>, and use that if it
|
||||
exists. Firstly, there is no guarantee that a stow package would
|
||||
contain any version control meta-data, or permit introducing this if
|
||||
it didn’t already exist.
|
||||
</p>
|
||||
<p>Secondly even if it did, version control system ignore lists generally
|
||||
reflect <em class="emph">build-time</em> ignores rather than <em class="emph">install-time</em>, and
|
||||
there may be some intermediate or temporary files on those ignore
|
||||
lists generated during development or at build-time which it would be
|
||||
inappropriate to stow, even though many files generated at build-time
|
||||
(binaries, libraries, documentation etc.) certainly do need to be
|
||||
stowed. Similarly, if a file is <em class="emph">not</em> in the version control
|
||||
system’s ignore list, there is no way of knowing whether the file is
|
||||
intended for end use, let alone whether the version control system is
|
||||
tracking it or not.
|
||||
</p>
|
||||
<p>Therefore it seems clear that ignore lists provided by version control
|
||||
systems do not provide sufficient information for Stow to determine
|
||||
which files and directories to stow, and so it makes sense for Stow to
|
||||
support independent ignore lists.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
81
dot-local/share/doc/stow/manual-split/Known-Bugs.html
Normal file
81
dot-local/share/doc/stow/manual-split/Known-Bugs.html
Normal file
|
@ -0,0 +1,81 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Known Bugs (Stow)</title>
|
||||
|
||||
<meta name="description" content="Known Bugs (Stow)">
|
||||
<meta name="keywords" content="Known Bugs (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="GNU-General-Public-License.html" rel="next" title="GNU General Public License">
|
||||
<link href="Reporting-Bugs.html" rel="prev" title="Reporting Bugs">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Known-Bugs">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="GNU-General-Public-License.html" accesskey="n" rel="next">GNU General Public License</a>, Previous: <a href="Reporting-Bugs.html" accesskey="p" rel="prev">Reporting Bugs</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Known-Bugs-1"><span>15 Known Bugs<a class="copiable-link" href="#Known-Bugs-1"> ¶</a></span></h2>
|
||||
|
||||
<p>There are no known bugs in Stow version 2.3.2-fixbug56727!
|
||||
If you think you have found one, please see <a class="pxref" href="Reporting-Bugs.html">Reporting Bugs</a>.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
104
dot-local/share/doc/stow/manual-split/Mixing-Operations.html
Normal file
104
dot-local/share/doc/stow/manual-split/Mixing-Operations.html
Normal file
|
@ -0,0 +1,104 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Mixing Operations (Stow)</title>
|
||||
|
||||
<meta name="description" content="Mixing Operations (Stow)">
|
||||
<meta name="keywords" content="Mixing Operations (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Multiple-Stow-Directories.html" rel="next" title="Multiple Stow Directories">
|
||||
<link href="Conflicts.html" rel="prev" title="Conflicts">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Mixing-Operations">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Multiple-Stow-Directories.html" accesskey="n" rel="next">Multiple Stow Directories</a>, Previous: <a href="Conflicts.html" accesskey="p" rel="prev">Conflicts</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Mixing-Operations-1"><span>8 Mixing Operations<a class="copiable-link" href="#Mixing-Operations-1"> ¶</a></span></h2>
|
||||
<a class="index-entry-id" id="index-mixing-operations"></a>
|
||||
|
||||
<p>Since version 2.0, multiple distinct actions can be specified in a single
|
||||
invocation of GNU Stow. For example, to update an installation of Emacs from
|
||||
version 21.3 to 21.4a you can now do the following:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">stow -D emacs-21.3 -S emacs-21.4a
|
||||
</pre></div>
|
||||
|
||||
<p>which will replace emacs-21.3 with emacs-21.4a using a single invocation.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-deferred-operation-1"></a>
|
||||
<p>This is much faster and cleaner than performing two separate
|
||||
invocations of stow, because redundant folding/unfolding operations
|
||||
can be factored out. In addition, all the operations are calculated
|
||||
and merged before being executed (see <a class="pxref" href="Conflicts.html#Deferred-Operation">Deferred Operation</a>), so the
|
||||
amount of of time in which GNU Emacs is unavailable is minimised.
|
||||
</p>
|
||||
<p>You can mix and match any number of actions, for example,
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">stow -S pkg1 pkg2 -D pkg3 pkg4 -S pkg5 -R pkg6
|
||||
</pre></div>
|
||||
|
||||
<p>will unstow pkg3, pkg4 and pkg6, then stow pkg1, pkg2, pkg5 and pkg6.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,102 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Motivation For Ignore Lists (Stow)</title>
|
||||
|
||||
<meta name="description" content="Motivation For Ignore Lists (Stow)">
|
||||
<meta name="keywords" content="Motivation For Ignore Lists (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Ignore-Lists.html" rel="up" title="Ignore Lists">
|
||||
<link href="Types-And-Syntax-Of-Ignore-Lists.html" rel="next" title="Types And Syntax Of Ignore Lists">
|
||||
<link href="Ignore-Lists.html" rel="prev" title="Ignore Lists">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Motivation-For-Ignore-Lists">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Types-And-Syntax-Of-Ignore-Lists.html" accesskey="n" rel="next">Types And Syntax Of Ignore Lists</a>, Previous: <a href="Ignore-Lists.html" accesskey="p" rel="prev">Ignore Lists</a>, Up: <a href="Ignore-Lists.html" accesskey="u" rel="up">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Motivation-For-Ignore-Lists-1"><span>4.1 Motivation For Ignore Lists<a class="copiable-link" href="#Motivation-For-Ignore-Lists-1"> ¶</a></span></h3>
|
||||
|
||||
<p>In many situations, there will exist files under the package
|
||||
directories which it would be undesirable to stow into the target
|
||||
directory. For example, files related version control such as
|
||||
<samp class="file">.gitignore</samp>, <samp class="file">CVS</samp>, <samp class="file">*,v</samp> (RCS files) should typically
|
||||
not have symlinks from the target tree pointing to them. Also there
|
||||
may be files or directories relating to the build of the package which
|
||||
are not needed at run-time.
|
||||
</p>
|
||||
<p>In these cases, it can be rather cumbersome to specify a
|
||||
<samp class="option">--ignore</samp> parameter for each file or directory to be ignored.
|
||||
This could be worked around by ensuring the existence of
|
||||
<samp class="file">~/.stowrc</samp> containing multiple <samp class="option">--ignore</samp> lines, or if a
|
||||
different set of files/directories should be ignored depending on
|
||||
which stow package is involved, a <samp class="file">.stowrc</samp> file for each stow
|
||||
package, but this would require the user to ensure that they were in
|
||||
the correct directory before invoking stow, which would be tedious and
|
||||
error-prone. Furthermore, since Stow shifts parameters from
|
||||
<samp class="file">.stowrc</samp> onto ARGV at run-time, it could clutter up the process
|
||||
table with excessively long parameter lists, or even worse, exceed the
|
||||
operating system’s limit for process arguments.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-ignore-lists-1"></a>
|
||||
<p>Therefore in addition to <samp class="option">--ignore</samp> parameters, Stow provides a
|
||||
way to specify lists of files and directories to ignore.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,94 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Multiple Stow Directories (Stow)</title>
|
||||
|
||||
<meta name="description" content="Multiple Stow Directories (Stow)">
|
||||
<meta name="keywords" content="Multiple Stow Directories (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Target-Maintenance.html" rel="next" title="Target Maintenance">
|
||||
<link href="Mixing-Operations.html" rel="prev" title="Mixing Operations">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Multiple-Stow-Directories">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Target-Maintenance.html" accesskey="n" rel="next">Target Maintenance</a>, Previous: <a href="Mixing-Operations.html" accesskey="p" rel="prev">Mixing Operations</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Multiple-Stow-Directories-1"><span>9 Multiple Stow Directories<a class="copiable-link" href="#Multiple-Stow-Directories-1"> ¶</a></span></h2>
|
||||
|
||||
<p>If there are two or more system administrators who wish to maintain
|
||||
software separately, or if there is any other reason to want two or more
|
||||
stow directories, it can be done by creating a file named <samp class="file">.stow</samp>
|
||||
in each stow directory. The presence of <samp class="file">/usr/local/foo/.stow</samp>
|
||||
informs Stow that, though <samp class="file">foo</samp> is not the current stow
|
||||
directory, even if it is a subdirectory of the target directory,
|
||||
nevertheless it is <em class="emph">a</em> stow directory and as such Stow
|
||||
doesn’t “own” anything in it (see <a class="pxref" href="Installing-Packages.html">Installing Packages</a>). This will
|
||||
protect the contents of <samp class="file">foo</samp> from a ‘<samp class="samp">stow -D</samp>’, for instance.
|
||||
</p>
|
||||
|
||||
<p>When multiple stow directories share a target tree, if a tree-folding
|
||||
symlink is encountered and needs to be split open during an
|
||||
installation, as long as the top-level stow directory into which the
|
||||
existing symlink points contains <samp class="file">.stow</samp>, Stow knows how to split
|
||||
open the tree in the correct manner.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,95 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Other FSF Software (Stow)</title>
|
||||
|
||||
<meta name="description" content="Other FSF Software (Stow)">
|
||||
<meta name="keywords" content="Other FSF Software (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="up" title="Compile-time vs Install-time">
|
||||
<link href="Cygnus-Software.html" rel="next" title="Cygnus Software">
|
||||
<link href="GNU-Emacs.html" rel="prev" title="GNU Emacs">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Other-FSF-Software">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Cygnus-Software.html" accesskey="n" rel="next">Cygnus Software</a>, Previous: <a href="GNU-Emacs.html" accesskey="p" rel="prev">GNU Emacs</a>, Up: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="u" rel="up">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Other-FSF-Software-1"><span>12.3 Other FSF Software<a class="copiable-link" href="#Other-FSF-Software-1"> ¶</a></span></h3>
|
||||
|
||||
<p>The Free Software Foundation, the organization behind the GNU project,
|
||||
has been unifying the build procedure for its tools for some time.
|
||||
Thanks to its tools ‘<samp class="samp">autoconf</samp>’ and ‘<samp class="samp">automake</samp>’, most packages
|
||||
now respond well to these simple steps, with no other intervention
|
||||
necessary:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">./configure <var class="var">options</var>
|
||||
make
|
||||
make install prefix=/usr/local/stow/<var class="var">package</var>
|
||||
</pre></div>
|
||||
|
||||
<p>Hopefully, these tools can evolve to be aware of Stow-managed packages,
|
||||
such that providing an option to ‘<samp class="samp">configure</samp>’ can allow ‘<samp class="samp">make</samp>’
|
||||
and ‘<samp class="samp">make install</samp>’ steps to work correctly without needing to
|
||||
“fool” the build process.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,178 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Perl and Perl 5 Modules (Stow)</title>
|
||||
|
||||
<meta name="description" content="Perl and Perl 5 Modules (Stow)">
|
||||
<meta name="keywords" content="Perl and Perl 5 Modules (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="up" title="Compile-time vs Install-time">
|
||||
<link href="Cygnus-Software.html" rel="prev" title="Cygnus Software">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span.r {font-family: initial; font-weight: normal; font-style: normal}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Perl-and-Perl-5-Modules">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Previous: <a href="Cygnus-Software.html" accesskey="p" rel="prev">Cygnus Software</a>, Up: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="u" rel="up">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Perl-and-Perl-5-Modules-1"><span>12.5 Perl and Perl 5 Modules<a class="copiable-link" href="#Perl-and-Perl-5-Modules-1"> ¶</a></span></h3>
|
||||
|
||||
<p>Perl 4.036 allows you to specify different locations for installation
|
||||
and for run-time. It is the only widely-used package in this author’s
|
||||
experience that allows this, though hopefully more packages will adopt
|
||||
this model.
|
||||
</p>
|
||||
<p>Unfortunately, the authors of Perl believed that only AFS sites need
|
||||
this ability. The configuration instructions for Perl 4 misleadingly
|
||||
state that some occult means are used under AFS to transport files from
|
||||
their installation tree to their run-time tree. In fact, that confusion
|
||||
arises from the fact that Depot, Stow’s predecessor, originated at
|
||||
Carnegie Mellon University, which was also the birthplace of AFS. CMU’s
|
||||
need to separate install-time and run-time trees stemmed from its use of
|
||||
Depot, not from AFS.
|
||||
</p>
|
||||
<p>The result of this confusion is that Perl 5’s configuration script
|
||||
doesn’t even offer the option of separating install-time and run-time
|
||||
trees <em class="emph">unless</em> you’re running AFS. Fortunately, after you’ve
|
||||
entered all the configuration settings, Perl’s setup script gives you
|
||||
the opportunity to edit those settings in a file called
|
||||
<samp class="file">config.sh</samp>. When prompted, you should edit this file and replace
|
||||
occurrences of
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">inst<span class="r">...</span>/usr/local<span class="r">...</span>
|
||||
</pre></div>
|
||||
|
||||
<p>with
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">inst<span class="r">...</span>/usr/local/stow/perl<span class="r">...</span>
|
||||
</pre></div>
|
||||
|
||||
<p>You can do this with the following Unix command:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">sed 's,^\(inst.*/usr/local\),\1/stow/perl,' config.sh > config.sh.new
|
||||
mv config.sh.new config.sh
|
||||
</pre></div>
|
||||
|
||||
<p>Hopefully, the Perl authors will correct this deficiency in Perl 5’s
|
||||
configuration mechanism.
|
||||
</p>
|
||||
<p>Perl 5 modules—i.e., extensions to Perl 5—generally conform to a set
|
||||
of standards for building and installing them. The standard says that
|
||||
the package comes with a top-level <samp class="file">Makefile.PL</samp>, which is a Perl
|
||||
script. When it runs, it generates a <samp class="file">Makefile</samp>.
|
||||
</p>
|
||||
<p>If you followed the instructions above for editing <samp class="file">config.sh</samp> when
|
||||
Perl was built, then when you create a <samp class="file">Makefile</samp> from a
|
||||
<samp class="file">Makefile.PL</samp>, it will contain separate locations for run-time
|
||||
(<samp class="file">/usr/local</samp>) and install-time (<samp class="file">/usr/local/stow/perl</samp>).
|
||||
Thus you can do
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">perl Makefile.PL
|
||||
make
|
||||
make install
|
||||
</pre></div>
|
||||
|
||||
<p>and the files will be installed into <samp class="file">/usr/local/stow/perl</samp>.
|
||||
However, you might prefer each Perl module to be stowed separately. In
|
||||
that case, you must edit the resulting Makefile, replacing
|
||||
<samp class="file">/usr/local/stow/perl</samp> with <samp class="file">/usr/local/stow/<var class="var">module</var></samp>.
|
||||
The best way to do this is:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">perl Makefile.PL
|
||||
find . -name Makefile -print | \
|
||||
xargs perl -pi~ -e 's,^(INST.*/stow)/perl,$1/<var class="var">module</var>,;'
|
||||
make
|
||||
make install
|
||||
</pre></div>
|
||||
|
||||
<p>(The use of ‘<samp class="samp">find</samp>’ and ‘<samp class="samp">xargs</samp>’ ensures that all Makefiles in
|
||||
the module’s source tree, even those in subdirectories, get edited.) A
|
||||
good convention to follow is to name the stow directory for a Perl
|
||||
<var class="var">module</var> <samp class="file">cpan.<var class="var">module</var></samp>, where ‘<samp class="samp">cpan</samp>’ stands for
|
||||
Comprehensive Perl Archive Network, a collection of FTP sites that is
|
||||
the source of most Perl 5 extensions. This way, it’s easy to tell at a
|
||||
glance which of the subdirectories of <samp class="file">/usr/local/stow</samp> are Perl 5
|
||||
extensions.
|
||||
</p>
|
||||
<p>When you stow separate Perl 5 modules separately, you are likely to
|
||||
encounter conflicts (see <a class="pxref" href="Conflicts.html">Conflicts</a>) with files named <samp class="file">.exists</samp>
|
||||
and <samp class="file">perllocal.pod</samp>. One way to work around this is to remove
|
||||
those files before stowing the module. If you use the
|
||||
<samp class="file">cpan.<var class="var">module</var></samp> naming convention, you can simply do this:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">cd /usr/local/stow
|
||||
find cpan.* \( -name .exists -o -name perllocal.pod \) -print | \
|
||||
xargs rm
|
||||
</pre></div>
|
||||
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Previous: <a href="Cygnus-Software.html">Cygnus Software</a>, Up: <a href="Compile_002dtime-vs-Install_002dtime.html">Compile-time vs Install-time</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
107
dot-local/share/doc/stow/manual-split/Reporting-Bugs.html
Normal file
107
dot-local/share/doc/stow/manual-split/Reporting-Bugs.html
Normal file
|
@ -0,0 +1,107 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Reporting Bugs (Stow)</title>
|
||||
|
||||
<meta name="description" content="Reporting Bugs (Stow)">
|
||||
<meta name="keywords" content="Reporting Bugs (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Known-Bugs.html" rel="next" title="Known Bugs">
|
||||
<link href="Bootstrapping.html" rel="prev" title="Bootstrapping">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
ul.mark-bullet {list-style-type: disc}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Reporting-Bugs">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Known-Bugs.html" accesskey="n" rel="next">Known Bugs</a>, Previous: <a href="Bootstrapping.html" accesskey="p" rel="prev">Bootstrapping</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Reporting-Bugs-1"><span>14 Reporting Bugs<a class="copiable-link" href="#Reporting-Bugs-1"> ¶</a></span></h2>
|
||||
|
||||
<p>Please send bug reports to the current maintainers by electronic
|
||||
mail. The address to use is ‘<samp class="samp"><bug-stow@gnu.org></samp>’. Please
|
||||
include:
|
||||
</p>
|
||||
<ul class="itemize mark-bullet">
|
||||
<li>the version number of Stow (‘<samp class="samp">stow --version</samp>’);
|
||||
|
||||
</li><li>the version number of Perl (‘<samp class="samp">perl -v</samp>’);
|
||||
|
||||
</li><li>the system information, which can often be obtained with ‘<samp class="samp">uname
|
||||
-a</samp>’;
|
||||
|
||||
</li><li>a description of the bug;
|
||||
|
||||
</li><li>the precise command you gave;
|
||||
|
||||
</li><li>the output from the command (preferably verbose output, obtained by
|
||||
adding ‘<samp class="samp">--verbose=3</samp>’ to the Stow command line).
|
||||
</li></ul>
|
||||
|
||||
<p>If you are really keen, consider developing a minimal test case and
|
||||
creating a new test. See the <samp class="file">t/</samp> directory in the source for
|
||||
lots of examples.
|
||||
</p>
|
||||
<p>Before reporting a bug, please read the manual carefully, especially
|
||||
<a class="ref" href="Known-Bugs.html">Known Bugs</a>, to see whether you’re encountering
|
||||
something that doesn’t need reporting.
|
||||
(see <a class="pxref" href="Conflicts.html">Conflicts</a>).
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
146
dot-local/share/doc/stow/manual-split/Resource-Files.html
Normal file
146
dot-local/share/doc/stow/manual-split/Resource-Files.html
Normal file
|
@ -0,0 +1,146 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Resource Files (Stow)</title>
|
||||
|
||||
<meta name="description" content="Resource Files (Stow)">
|
||||
<meta name="keywords" content="Resource Files (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Compile_002dtime-vs-Install_002dtime.html" rel="next" title="Compile-time vs Install-time">
|
||||
<link href="Target-Maintenance.html" rel="prev" title="Target Maintenance">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Resource-Files">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Compile_002dtime-vs-Install_002dtime.html" accesskey="n" rel="next">Compile-time vs Install-time</a>, Previous: <a href="Target-Maintenance.html" accesskey="p" rel="prev">Target Maintenance</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Resource-Files-1"><span>11 Resource Files<a class="copiable-link" href="#Resource-Files-1"> ¶</a></span></h2>
|
||||
<a class="index-entry-id" id="index-resource-files"></a>
|
||||
<a class="index-entry-id" id="index-configuration-files"></a>
|
||||
|
||||
<p>Default command line options may be set in <samp class="file">.stowrc</samp> (current
|
||||
directory) or <samp class="file">~/.stowrc</samp> (home directory). These are parsed in
|
||||
that order, and are appended together if they both exist. The effect of
|
||||
the options in the resource file is similar to simply prepending the
|
||||
options to the command line. This feature can be used for some
|
||||
interesting effects.
|
||||
</p>
|
||||
<p>For example, suppose your site uses more than one stow directory, perhaps in
|
||||
order to share around responsibilities with a number of systems
|
||||
administrators. One of the administrators might have the following in their
|
||||
<samp class="file">~/.stowrc</samp> file:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">--dir=/usr/local/stow2
|
||||
--target=/usr/local
|
||||
--ignore='~'
|
||||
--ignore='^CVS'
|
||||
</pre></div>
|
||||
|
||||
<p>so that the <code class="command">stow</code> command will default to operating on the
|
||||
<samp class="file">/usr/local/stow2</samp> directory, with <samp class="file">/usr/local</samp> as the
|
||||
target, and ignoring vi backup files and CVS directories.
|
||||
</p>
|
||||
<p>If you had a stow directory <samp class="file">/usr/local/stow/perl-extras</samp> that
|
||||
was only used for Perl modules, then you might place the following in
|
||||
<samp class="file">/usr/local/stow/perl-extras/.stowrc</samp>:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">--dir=/usr/local/stow/perl-extras
|
||||
--target=/usr/local
|
||||
--override=bin
|
||||
--override=man
|
||||
--ignore='perllocal\.pod'
|
||||
--ignore='\.packlist'
|
||||
--ignore='\.bs'
|
||||
</pre></div>
|
||||
|
||||
<p>so that when you are in the <samp class="file">/usr/local/stow/perl-extras</samp>
|
||||
directory, <code class="command">stow</code> will regard any subdirectories as stow
|
||||
packages, with <samp class="file">/usr/local</samp> as the target (rather than the
|
||||
immediate parent directory <samp class="file">/usr/local/stow</samp>), overriding any
|
||||
pre-existing links to bin files or man pages, and ignoring some cruft
|
||||
that gets installed by default.
|
||||
</p>
|
||||
<p>If an option is provided both on the command line and in a resource file,
|
||||
the command line option takes precedence. For options that provide a single
|
||||
value, such as <code class="command">--target</code> or <code class="command">--dir</code>, the command line
|
||||
option will overwrite any options in the resource file. For options that can
|
||||
be given more than once, <code class="command">--ignore</code> for example, command line
|
||||
options and resource options are appended together.
|
||||
</p>
|
||||
<p>For options that take a file path, environment variables and the tilde
|
||||
character (<code class="command">~</code>) are expanded. An environment variable can be
|
||||
given in either the <code class="command">$VAR</code> or <code class="command">${VAR}</code> form. To
|
||||
prevent expansion, escape the <code class="command">$</code> or <code class="command">~</code> with a
|
||||
backslash.
|
||||
</p>
|
||||
<p>The options <code class="command">-D</code>, <code class="command">-S</code>, and <code class="command">-R</code> are ignored in
|
||||
resource files. This is also true of any package names given in the
|
||||
resource file.
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Compile_002dtime-vs-Install_002dtime.html">Compile-time vs Install-time</a>, Previous: <a href="Target-Maintenance.html">Target Maintenance</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
122
dot-local/share/doc/stow/manual-split/Target-Maintenance.html
Normal file
122
dot-local/share/doc/stow/manual-split/Target-Maintenance.html
Normal file
|
@ -0,0 +1,122 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Target Maintenance (Stow)</title>
|
||||
|
||||
<meta name="description" content="Target Maintenance (Stow)">
|
||||
<meta name="keywords" content="Target Maintenance (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Resource-Files.html" rel="next" title="Resource Files">
|
||||
<link href="Multiple-Stow-Directories.html" rel="prev" title="Multiple Stow Directories">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Target-Maintenance">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Resource-Files.html" accesskey="n" rel="next">Resource Files</a>, Previous: <a href="Multiple-Stow-Directories.html" accesskey="p" rel="prev">Multiple Stow Directories</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Target-Maintenance-1"><span>10 Target Maintenance<a class="copiable-link" href="#Target-Maintenance-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-maintenance"></a>
|
||||
<p>From time to time you will need to clean up your target tree. Since
|
||||
version 2, Stow provides a new utility <code class="command">chkstow</code> to help with
|
||||
this. It includes three operational modes which performs checks that
|
||||
would generally be too expensive to be performed during normal stow
|
||||
execution.
|
||||
</p>
|
||||
<p>The syntax of the <code class="command">chkstow</code> command is:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="example-preformatted">chkstow [<var class="var">options</var>]
|
||||
</pre></div>
|
||||
|
||||
<p>The following options are supported:
|
||||
</p>
|
||||
<dl class="table">
|
||||
<dt>‘<samp class="samp">-t <var class="var">dir</var></samp>’</dt>
|
||||
<dt>‘<samp class="samp">--target=<var class="var">dir</var></samp>’</dt>
|
||||
<dd><p>Set the target directory to <var class="var">dir</var> instead of the parent of the stow
|
||||
directory. Defaults to the parent of the stow directory, so it is typical to
|
||||
execute <code class="command">stow</code> from the directory <samp class="file">/usr/local/stow</samp>.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-b</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--badlinks</samp>’</dt>
|
||||
<dd><p>Checks target directory for bogus symbolic links. That is, links that point to
|
||||
non-existent files.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-a</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--aliens</samp>’</dt>
|
||||
<dd><p>Checks for files in the target directory that are not symbolic links. The
|
||||
target directory should be managed by stow alone, except for directories that
|
||||
contain a <samp class="file">.stow</samp> file.
|
||||
</p>
|
||||
</dd>
|
||||
<dt>‘<samp class="samp">-l</samp>’</dt>
|
||||
<dt>‘<samp class="samp">--list</samp>’</dt>
|
||||
<dd><p>Will display the target package for every symbolic link in the stow target
|
||||
directory.
|
||||
</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
135
dot-local/share/doc/stow/manual-split/Terminology.html
Normal file
135
dot-local/share/doc/stow/manual-split/Terminology.html
Normal file
|
@ -0,0 +1,135 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Terminology (Stow)</title>
|
||||
|
||||
<meta name="description" content="Terminology (Stow)">
|
||||
<meta name="keywords" content="Terminology (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="Invoking-Stow.html" rel="next" title="Invoking Stow">
|
||||
<link href="Introduction.html" rel="prev" title="Introduction">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="chapter-level-extent" id="Terminology">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Invoking-Stow.html" accesskey="n" rel="next">Invoking Stow</a>, Previous: <a href="Introduction.html" accesskey="p" rel="prev">Introduction</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="chapter" id="Terminology-1"><span>2 Terminology<a class="copiable-link" href="#Terminology-1"> ¶</a></span></h2>
|
||||
|
||||
<a class="index-entry-id" id="index-package"></a>
|
||||
<p>A <em class="dfn">package</em> is a related collection of files and directories that
|
||||
you wish to administer as a unit — e.g., Perl or Emacs — and that needs
|
||||
to be installed in a particular directory structure — e.g., with
|
||||
<samp class="file">bin</samp>, <samp class="file">lib</samp>, and <samp class="file">man</samp> subdirectories.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-target-directory"></a>
|
||||
<p>A <em class="dfn">target directory</em> is the root of a tree in which one or more
|
||||
packages wish to <em class="emph">appear</em> to be installed. A common, but by no
|
||||
means the only such location is <samp class="file">/usr/local</samp>. The examples in this
|
||||
manual will use <samp class="file">/usr/local</samp> as the target directory.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-stow-directory"></a>
|
||||
<p>A <em class="dfn">stow directory</em> is the root of a tree containing separate
|
||||
packages in private subtrees. When Stow runs, it uses the current
|
||||
directory as the default stow directory. The examples in this manual
|
||||
will use <samp class="file">/usr/local/stow</samp> as the stow directory, so that
|
||||
individual packages will be, for example, <samp class="file">/usr/local/stow/perl</samp>
|
||||
and <samp class="file">/usr/local/stow/emacs</samp>.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-installation-image"></a>
|
||||
<p>An <em class="dfn">installation image</em> is the layout of files and directories
|
||||
required by a package, relative to the target directory. Thus, the
|
||||
installation image for Perl includes: a <samp class="file">bin</samp> directory containing
|
||||
<samp class="file">perl</samp> and <samp class="file">a2p</samp> (among others); an <samp class="file">info</samp> directory
|
||||
containing Texinfo documentation; a <samp class="file">lib/perl</samp> directory containing
|
||||
Perl libraries; and a <samp class="file">man/man1</samp> directory containing man pages.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-package-directory"></a>
|
||||
<a class="index-entry-id" id="index-package-name"></a>
|
||||
<p>A <em class="dfn">package directory</em> is the root of a tree containing the
|
||||
installation image for a particular package. Each package directory
|
||||
must reside in a stow directory — e.g., the package directory
|
||||
<samp class="file">/usr/local/stow/perl</samp> must reside in the stow directory
|
||||
<samp class="file">/usr/local/stow</samp>. The <em class="dfn">name</em> of a package is the name of its
|
||||
directory within the stow directory — e.g., <samp class="file">perl</samp>.
|
||||
</p>
|
||||
<p>Thus, the Perl executable might reside in
|
||||
<samp class="file">/usr/local/stow/perl/bin/perl</samp>, where <samp class="file">/usr/local</samp> is the
|
||||
target directory, <samp class="file">/usr/local/stow</samp> is the stow directory,
|
||||
<samp class="file">/usr/local/stow/perl</samp> is the package directory, and
|
||||
<samp class="file">bin/perl</samp> within is part of the installation image.
|
||||
</p>
|
||||
<a class="index-entry-id" id="index-symlink"></a>
|
||||
<a class="index-entry-id" id="index-relative-symlink"></a>
|
||||
<a class="index-entry-id" id="index-absolute-symlink"></a>
|
||||
<p>A <em class="dfn">symlink</em> is a symbolic link. A symlink can be <em class="dfn">relative</em> or
|
||||
<em class="dfn">absolute</em>. An absolute symlink names a full path; that is, one
|
||||
starting from <samp class="file">/</samp>. A relative symlink names a relative path; that
|
||||
is, one not starting from <samp class="file">/</samp>. The target of a relative symlink is
|
||||
computed starting from the symlink’s own directory. Stow only
|
||||
creates relative symlinks.
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Invoking-Stow.html">Invoking Stow</a>, Previous: <a href="Introduction.html">Introduction</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
55
dot-local/share/doc/stow/manual-split/Tree-unfolding.html
Normal file
55
dot-local/share/doc/stow/manual-split/Tree-unfolding.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<!-- This file redirects to the location of a node or anchor -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Tree unfolding (Stow)</title>
|
||||
|
||||
<meta name="description" content="Tree unfolding (Stow)">
|
||||
<meta name="keywords" content="Tree unfolding (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
|
||||
<meta http-equiv="Refresh" content="0; url=Installing-Packages.html#Tree-unfolding">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
|
||||
<p>The node you are looking for is at <a href="Installing-Packages.html#Tree-unfolding">Tree unfolding</a>.</p>
|
||||
</body>
|
|
@ -0,0 +1,182 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Types And Syntax Of Ignore Lists (Stow)</title>
|
||||
|
||||
<meta name="description" content="Types And Syntax Of Ignore Lists (Stow)">
|
||||
<meta name="keywords" content="Types And Syntax Of Ignore Lists (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="Index.html" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="Ignore-Lists.html" rel="up" title="Ignore Lists">
|
||||
<link href="Justification-For-Yet-Another-Set-Of-Ignore-Files.html" rel="next" title="Justification For Yet Another Set Of Ignore Files">
|
||||
<link href="Motivation-For-Ignore-Lists.html" rel="prev" title="Motivation For Ignore Lists">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
div.example {margin-left: 3.2em}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="section-level-extent" id="Types-And-Syntax-Of-Ignore-Lists">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Justification-For-Yet-Another-Set-Of-Ignore-Files.html" accesskey="n" rel="next">Justification For Yet Another Set Of Ignore Files</a>, Previous: <a href="Motivation-For-Ignore-Lists.html" accesskey="p" rel="prev">Motivation For Ignore Lists</a>, Up: <a href="Ignore-Lists.html" accesskey="u" rel="up">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h3 class="section" id="Types-And-Syntax-Of-Ignore-Lists-1"><span>4.2 Types And Syntax Of Ignore Lists<a class="copiable-link" href="#Types-And-Syntax-Of-Ignore-Lists-1"> ¶</a></span></h3>
|
||||
|
||||
<p>If you put Perl regular expressions, one per line, in a
|
||||
<samp class="file">.stow-local-ignore</samp> file within any top level package directory,
|
||||
in which case any file or directory within that package matching any
|
||||
of these regular expressions will be ignored. In the absence of this
|
||||
package-specific ignore list, Stow will instead use the contents of
|
||||
<samp class="file">~/.stow-global-ignore</samp>, if it exists. If neither the
|
||||
package-local or global ignore list exist, Stow will use its own
|
||||
built-in default ignore list, which serves as a useful example of the
|
||||
format of these ignore list files:
|
||||
</p>
|
||||
<div class="example">
|
||||
<pre class="verbatim"># Comments and blank lines are allowed.
|
||||
|
||||
RCS
|
||||
.+,v
|
||||
|
||||
CVS
|
||||
\.\#.+ # CVS conflict files / emacs lock files
|
||||
\.cvsignore
|
||||
|
||||
\.svn
|
||||
_darcs
|
||||
\.hg
|
||||
|
||||
\.git
|
||||
\.gitignore
|
||||
|
||||
.+~ # emacs backup files
|
||||
\#.*\# # emacs autosave files
|
||||
|
||||
^/README.*
|
||||
^/LICENSE.*
|
||||
^/COPYING
|
||||
</pre></div>
|
||||
|
||||
<p>Stow first iterates through the chosen ignore list (built-in, global,
|
||||
or package-local) as per above, stripping out comments (if you want to
|
||||
include the ‘<samp class="samp">#</samp>’ symbol in a regular expression, escape it with a
|
||||
blackslash) and blank lines, placing each regular expressions into one
|
||||
of two sets depending on whether it contains the ‘<samp class="samp">/</samp>’ forward
|
||||
slash symbol.
|
||||
</p>
|
||||
<p>Then in order to determine whether a file or directory should be
|
||||
ignored:
|
||||
</p>
|
||||
<ol class="enumerate">
|
||||
<li> Stow calculates its path relative to the top-level package directory,
|
||||
prefixing that with ‘<samp class="samp">/</samp>’. If any of the regular expressions
|
||||
containing a ‘<samp class="samp">/</samp>’ <em class="emph">exactly</em><a class="footnote" id="DOCF4" href="#FOOT4"><sup>4</sup></a> match
|
||||
a subpath<a class="footnote" id="DOCF5" href="#FOOT5"><sup>5</sup></a> of this relative path, then the file or
|
||||
directory will be ignored.
|
||||
|
||||
</li><li> If none of the regular expressions containing a ‘<samp class="samp">/</samp>’ match in the
|
||||
manner described above, Stow checks whether the
|
||||
<em class="emph">basename</em><a class="footnote" id="DOCF6" href="#FOOT6"><sup>6</sup></a> of the file or directory matches
|
||||
<em class="emph">exactly</em> against the remaining regular expressions which do not
|
||||
contain a ‘<samp class="samp">/</samp>’, and if so, ignores the file or directory.
|
||||
|
||||
</li><li> Otherwise, the file or directory is not ignored.
|
||||
</li></ol>
|
||||
|
||||
|
||||
<p>For example, if a file <samp class="file">bazqux</samp> is in the <samp class="file">foo/bar</samp>
|
||||
subdirectory of the package directory, Stow would use
|
||||
‘<samp class="samp">/foo/bar/bazqux</samp>’ as the text for matching against regular
|
||||
expressions which contain ‘<samp class="samp">/</samp>’, and ‘<samp class="samp">bazqux</samp>’ as the text for
|
||||
matching against regular expressions which don’t contain ‘<samp class="samp">/</samp>’.
|
||||
Then regular expressions ‘<samp class="samp">bazqux</samp>’, ‘<samp class="samp">baz.*</samp>’, ‘<samp class="samp">.*qux</samp>’,
|
||||
‘<samp class="samp">bar/.*x</samp>’, and ‘<samp class="samp">^/foo/.*qux</samp>’ would all match (causing the
|
||||
file to be ignored), whereas ‘<samp class="samp">bar</samp>’, ‘<samp class="samp">baz</samp>’, ‘<samp class="samp">qux</samp>’, and
|
||||
‘<samp class="samp">o/bar/b</samp>’ would not (although ‘<samp class="samp">bar</samp>’ would cause its parent
|
||||
directory to be ignored and prevent Stow from recursing into that
|
||||
anyway, in which case the file <samp class="file">bazqux</samp> would not even be
|
||||
considered for stowing).
|
||||
</p>
|
||||
<p>As a special exception to the above algorithm, any
|
||||
<samp class="file">.stow-local-ignore</samp> present in the top-level package directory
|
||||
is <em class="emph">always</em> ignored, regardless of the contents of any ignore
|
||||
list, because this file serves no purpose outside the stow directory.
|
||||
</p>
|
||||
</div>
|
||||
<div class="footnotes-segment">
|
||||
<hr>
|
||||
<h4 class="footnotes-heading">Footnotes</h4>
|
||||
|
||||
<h5 class="footnote-body-heading"><a id="FOOT4" href="#DOCF4">(4)</a></h5>
|
||||
<p>Exact matching means the
|
||||
regular expression is anchored at the beginning and end, in contrast
|
||||
to unanchored regular expressions which will match a substring.</p>
|
||||
<h5 class="footnote-body-heading"><a id="FOOT5" href="#DOCF5">(5)</a></h5>
|
||||
<p>In this context, “subpath” means a contiguous
|
||||
subset of path segments; e.g for the relative path
|
||||
<samp class="file">one/two/three</samp>, there are six valid subpaths: <samp class="file">one</samp>,
|
||||
<samp class="file">two</samp>, <samp class="file">three</samp>, <samp class="file">one/two</samp>, <samp class="file">two/three</samp>,
|
||||
<samp class="file">one/two/three</samp>.</p>
|
||||
<h5 class="footnote-body-heading"><a id="FOOT6" href="#DOCF6">(6)</a></h5>
|
||||
<p>The “basename” is the name of the file or
|
||||
directory itself, excluding any directory path prefix - as returned by
|
||||
the <code class="command">basename</code> command.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Next: <a href="Justification-For-Yet-Another-Set-Of-Ignore-Files.html">Justification For Yet Another Set Of Ignore Files</a>, Previous: <a href="Motivation-For-Ignore-Lists.html">Motivation For Ignore Lists</a>, Up: <a href="Ignore-Lists.html">Ignore Lists</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
211
dot-local/share/doc/stow/manual-split/index.html
Normal file
211
dot-local/share/doc/stow/manual-split/index.html
Normal file
|
@ -0,0 +1,211 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>Index (Stow)</title>
|
||||
|
||||
<meta name="description" content="Index (Stow)">
|
||||
<meta name="keywords" content="Index (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
<link href="index.html" rel="start" title="Top">
|
||||
<link href="#Index" rel="index" title="Index">
|
||||
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||||
<link href="index.html" rel="up" title="Top">
|
||||
<link href="GNU-General-Public-License.html" rel="prev" title="GNU General Public License">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||||
a.summary-letter-printindex {text-decoration: none}
|
||||
span:hover a.copiable-link {visibility: visible}
|
||||
td.printindex-index-entry {vertical-align: top}
|
||||
td.printindex-index-section {vertical-align: top; padding-left: 1em}
|
||||
th.entries-header-printindex {text-align:left}
|
||||
th.sections-header-printindex {text-align:left; padding-left: 1em}
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
<div class="unnumbered-level-extent" id="Index">
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Previous: <a href="GNU-General-Public-License.html" accesskey="p" rel="prev">GNU General Public License</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
<hr>
|
||||
<h2 class="unnumbered" id="Index-1"><span>Index<a class="copiable-link" href="#Index-1"> ¶</a></span></h2>
|
||||
|
||||
<div class="printindex cp-printindex">
|
||||
<table class="cp-letters-header-printindex"><tr><th>Jump to: </th><td><a class="summary-letter-printindex" href="#Index_cp_letter-A"><b>A</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-C"><b>C</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-D"><b>D</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-F"><b>F</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-I"><b>I</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-M"><b>M</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-O"><b>O</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-P"><b>P</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-R"><b>R</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-S"><b>S</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-T"><b>T</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-U"><b>U</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-V"><b>V</b></a>
|
||||
|
||||
</td></tr></table>
|
||||
<table class="cp-entries-printindex" border="0">
|
||||
<tr><td></td><th class="entries-header-printindex">Index Entry</th><th class="sections-header-printindex">Section</th></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-A">A</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-absolute-symlink">absolute symlink</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Invoking-Stow.html#index-adopting-existing-files">adopting existing files</a></td><td class="printindex-index-section"><a href="Invoking-Stow.html">Invoking Stow</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-C">C</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Resource-Files.html#index-configuration-files">configuration files</a></td><td class="printindex-index-section"><a href="Resource-Files.html">Resource Files</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-conflicts">conflicts</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Conflicts.html#index-conflicts-1">conflicts</a></td><td class="printindex-index-section"><a href="Conflicts.html">Conflicts</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-D">D</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Conflicts.html#index-deferred-operation">deferred operation</a></td><td class="printindex-index-section"><a href="Conflicts.html">Conflicts</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Mixing-Operations.html#index-deferred-operation-1">deferred operation</a></td><td class="printindex-index-section"><a href="Mixing-Operations.html">Mixing Operations</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Deleting-Packages.html#index-deletion">deletion</a></td><td class="printindex-index-section"><a href="Deleting-Packages.html">Deleting Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-directory-folding">directory folding</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Invoking-Stow.html#index-dotfiles">dotfiles</a></td><td class="printindex-index-section"><a href="Invoking-Stow.html">Invoking Stow</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Invoking-Stow.html#index-dry-run">dry run</a></td><td class="printindex-index-section"><a href="Invoking-Stow.html">Invoking Stow</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-F">F</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-folding-trees">folding trees</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-I">I</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Ignore-Lists.html#index-ignore-lists">ignore lists</a></td><td class="printindex-index-section"><a href="Ignore-Lists.html">Ignore Lists</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Motivation-For-Ignore-Lists.html#index-ignore-lists-1">ignore lists</a></td><td class="printindex-index-section"><a href="Motivation-For-Ignore-Lists.html">Motivation For Ignore Lists</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Ignore-Lists.html#index-ignoring-files-and-directories">ignoring files and directories</a></td><td class="printindex-index-section"><a href="Ignore-Lists.html">Ignore Lists</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-installation">installation</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-installation-conflicts">installation conflicts</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-installation-image">installation image</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-M">M</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Target-Maintenance.html#index-maintenance">maintenance</a></td><td class="printindex-index-section"><a href="Target-Maintenance.html">Target Maintenance</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Mixing-Operations.html#index-mixing-operations">mixing operations</a></td><td class="printindex-index-section"><a href="Mixing-Operations.html">Mixing Operations</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-O">O</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-ownership">ownership</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-P">P</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-package">package</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-package-directory">package directory</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-package-name">package name</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-R">R</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Deleting-Packages.html#index-refolding-trees">refolding trees</a></td><td class="printindex-index-section"><a href="Deleting-Packages.html">Deleting Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-relative-symlink">relative symlink</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Resource-Files.html#index-resource-files">resource files</a></td><td class="printindex-index-section"><a href="Resource-Files.html">Resource Files</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-S">S</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Invoking-Stow.html#index-simulated-run">simulated run</a></td><td class="printindex-index-section"><a href="Invoking-Stow.html">Invoking Stow</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-splitting-open-folded-trees">splitting open folded trees</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-stow-directory">stow directory</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-symlink">symlink</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-T">T</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Terminology.html#index-target-directory">target directory</a></td><td class="printindex-index-section"><a href="Terminology.html">Terminology</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-tree-folding">tree folding</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Deleting-Packages.html#index-tree-refolding">tree refolding</a></td><td class="printindex-index-section"><a href="Deleting-Packages.html">Deleting Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-tree-unfolding">tree unfolding</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-tree-unsplitting">tree unsplitting</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-U">U</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Installing-Packages.html#index-unfolding-trees">unfolding trees</a></td><td class="printindex-index-section"><a href="Installing-Packages.html">Installing Packages</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
<tr><th id="Index_cp_letter-V">V</th></tr>
|
||||
<tr><td></td><td class="printindex-index-entry"><a href="Invoking-Stow.html#index-verbosity-levels">verbosity levels</a></td><td class="printindex-index-section"><a href="Invoking-Stow.html">Invoking Stow</a></td></tr>
|
||||
<tr><td colspan="3"><hr></td></tr>
|
||||
</table>
|
||||
<table class="cp-letters-footer-printindex"><tr><th>Jump to: </th><td><a class="summary-letter-printindex" href="#Index_cp_letter-A"><b>A</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-C"><b>C</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-D"><b>D</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-F"><b>F</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-I"><b>I</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-M"><b>M</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-O"><b>O</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-P"><b>P</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-R"><b>R</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-S"><b>S</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-T"><b>T</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-U"><b>U</b></a>
|
||||
|
||||
<a class="summary-letter-printindex" href="#Index_cp_letter-V"><b>V</b></a>
|
||||
|
||||
</td></tr></table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
<div class="nav-panel">
|
||||
<p>
|
||||
Previous: <a href="GNU-General-Public-License.html">GNU General Public License</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Index" title="Index" rel="index">Index</a>]</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
55
dot-local/share/doc/stow/manual-split/tree-folding.html
Normal file
55
dot-local/share/doc/stow/manual-split/tree-folding.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<!-- This file redirects to the location of a node or anchor -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>tree folding (Stow)</title>
|
||||
|
||||
<meta name="description" content="tree folding (Stow)">
|
||||
<meta name="keywords" content="tree folding (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
|
||||
<meta http-equiv="Refresh" content="0; url=Installing-Packages.html#tree-folding">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
|
||||
<p>The node you are looking for is at <a href="Installing-Packages.html#tree-folding">tree folding</a>.</p>
|
||||
</body>
|
55
dot-local/share/doc/stow/manual-split/tree-refolding.html
Normal file
55
dot-local/share/doc/stow/manual-split/tree-refolding.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||||
<!-- This file redirects to the location of a node or anchor -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This manual describes GNU Stow version 2.3.2-fixbug56727
|
||||
(23 October 2023), a program for managing farms of symbolic links.
|
||||
|
||||
Software and documentation is copyrighted by the following:
|
||||
|
||||
© 1993, 1994, 1995, 1996 Bob Glickstein <bobg+stow@zanshin.com>
|
||||
|
||||
|
||||
© 2000, 2001 Guillaume Morin <gmorin@gnu.org>
|
||||
|
||||
|
||||
© 2007 Kahlil (Kal) Hodgson <kahlil@internode.on.net>
|
||||
|
||||
|
||||
© 2011 Adam Spiers <stow@adamspiers.org>
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
|
||||
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that the
|
||||
section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work is
|
||||
distributed under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute translations of this manual
|
||||
into another language, under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a translation
|
||||
approved by the Free Software Foundation. -->
|
||||
<title>tree refolding (Stow)</title>
|
||||
|
||||
<meta name="description" content="tree refolding (Stow)">
|
||||
<meta name="keywords" content="tree refolding (Stow)">
|
||||
<meta name="resource-type" content="document">
|
||||
<meta name="distribution" content="global">
|
||||
<meta name="Generator" content="makeinfo">
|
||||
|
||||
<meta http-equiv="Refresh" content="0; url=Deleting-Packages.html#tree-refolding">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="en">
|
||||
|
||||
<p>The node you are looking for is at <a href="Deleting-Packages.html#tree-refolding">tree refolding</a>.</p>
|
||||
</body>
|
BIN
dot-local/share/doc/stow/manual.pdf
Normal file
BIN
dot-local/share/doc/stow/manual.pdf
Normal file
Binary file not shown.
4
dot-local/share/doc/stow/version.texi
Normal file
4
dot-local/share/doc/stow/version.texi
Normal file
|
@ -0,0 +1,4 @@
|
|||
@set UPDATED 23 October 2023
|
||||
@set UPDATED-MONTH October 2023
|
||||
@set EDITION 2.3.2-fixbug56727
|
||||
@set VERSION 2.3.2-fixbug56727
|
18
dot-local/share/info/dir
Normal file
18
dot-local/share/info/dir
Normal file
|
@ -0,0 +1,18 @@
|
|||
This is the file .../info/dir, which contains the
|
||||
topmost node of the Info hierarchy, called (dir)Top.
|
||||
The first time you invoke Info you start off looking at this node.
|
||||
|
||||
File: dir, Node: Top This is the top of the INFO tree
|
||||
|
||||
This (the Directory node) gives a menu of major topics.
|
||||
Typing "q" exits, "H" lists all Info commands, "d" returns here,
|
||||
"h" gives a primer for first-timers,
|
||||
"mEmacs<Return>" visits the Emacs manual, etc.
|
||||
|
||||
In Emacs, you can click mouse button 2 on a menu item or cross reference
|
||||
to select it.
|
||||
|
||||
* Menu:
|
||||
|
||||
System administration
|
||||
* Stow: (stow). GNU Stow.
|
2008
dot-local/share/info/stow.info
Normal file
2008
dot-local/share/info/stow.info
Normal file
File diff suppressed because it is too large
Load diff
472
dot-local/share/man/man8/stow.8
Normal file
472
dot-local/share/man/man8/stow.8
Normal file
|
@ -0,0 +1,472 @@
|
|||
.\" -*- mode: troff; coding: utf-8 -*-
|
||||
.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
|
||||
.\"
|
||||
.\" Standard preamble:
|
||||
.\" ========================================================================
|
||||
.de Sp \" Vertical space (when we can't use .PP)
|
||||
.if t .sp .5v
|
||||
.if n .sp
|
||||
..
|
||||
.de Vb \" Begin verbatim text
|
||||
.ft CW
|
||||
.nf
|
||||
.ne \\$1
|
||||
..
|
||||
.de Ve \" End verbatim text
|
||||
.ft R
|
||||
.fi
|
||||
..
|
||||
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
|
||||
.ie n \{\
|
||||
. ds C` ""
|
||||
. ds C' ""
|
||||
'br\}
|
||||
.el\{\
|
||||
. ds C`
|
||||
. ds C'
|
||||
'br\}
|
||||
.\"
|
||||
.\" Escape single quotes in literal strings from groff's Unicode transform.
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\"
|
||||
.\" If the F register is >0, we'll generate index entries on stderr for
|
||||
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
|
||||
.\" entries marked with X<> in POD. Of course, you'll have to process the
|
||||
.\" output yourself in some meaningful fashion.
|
||||
.\"
|
||||
.\" Avoid warning from groff about undefined register 'F'.
|
||||
.de IX
|
||||
..
|
||||
.nr rF 0
|
||||
.if \n(.g .if rF .nr rF 1
|
||||
.if (\n(rF:(\n(.g==0)) \{\
|
||||
. if \nF \{\
|
||||
. de IX
|
||||
. tm Index:\\$1\t\\n%\t"\\$2"
|
||||
..
|
||||
. if !\nF==2 \{\
|
||||
. nr % 0
|
||||
. nr F 2
|
||||
. \}
|
||||
. \}
|
||||
.\}
|
||||
.rr rF
|
||||
.\" ========================================================================
|
||||
.\"
|
||||
.IX Title "stow 8"
|
||||
.TH stow 8 2023-10-23 "perl v5.38.0" "User Contributed Perl Documentation"
|
||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||
.\" way too many mistakes in technical documents.
|
||||
.if n .ad l
|
||||
.nh
|
||||
.SH NAME
|
||||
stow \- manage farms of symbolic links
|
||||
.SH SYNOPSIS
|
||||
.IX Header "SYNOPSIS"
|
||||
stow [ options ] package ...
|
||||
.SH DESCRIPTION
|
||||
.IX Header "DESCRIPTION"
|
||||
This manual page describes GNU Stow 2.3.2. This is not the
|
||||
definitive documentation for Stow; for that, see the accompanying info
|
||||
manual, e.g. by typing \f(CW\*(C`info stow\*(C'\fR.
|
||||
.PP
|
||||
Stow is a symlink farm manager which takes distinct sets of software
|
||||
and/or data located in separate directories on the filesystem, and
|
||||
makes them all appear to be installed in a single directory tree.
|
||||
.PP
|
||||
Originally Stow was born to address the need to administer, upgrade,
|
||||
install, and remove files in independent software packages without
|
||||
confusing them with other files sharing the same file system space.
|
||||
For instance, many years ago it used to be common to compile programs
|
||||
such as Perl and Emacs from source. By using Stow, \fI/usr/local/bin\fR
|
||||
could contain symlinks to files within \fI/usr/local/stow/emacs/bin\fR,
|
||||
\&\fI/usr/local/stow/perl/bin\fR etc., and likewise recursively for any
|
||||
other subdirectories such as \fI.../share\fR, \fI.../man\fR, and so on.
|
||||
.PP
|
||||
While this is useful for keeping track of system-wide and per-user
|
||||
installations of software built from source, in more recent times
|
||||
software packages are often managed by more sophisticated package
|
||||
management software such as rpm, dpkg, and Nix / GNU Guix, or
|
||||
language-native package managers such as Ruby's gem, Python's pip,
|
||||
Javascript's npm, and so on.
|
||||
.PP
|
||||
However Stow is still used not only for software package management,
|
||||
but also for other purposes, such as facilitating a more controlled
|
||||
approach to management of configuration files in the user's home
|
||||
directory, especially when coupled with version control systems.
|
||||
.PP
|
||||
Stow was inspired by Carnegie Mellon's Depot program, but is
|
||||
substantially simpler and safer. Whereas Depot required database files
|
||||
to keep things in sync, Stow stores no extra state between runs, so
|
||||
there's no danger (as there was in Depot) of mangling directories when
|
||||
file hierarchies don't match the database. Also unlike Depot, Stow
|
||||
will never delete any files, directories, or links that appear in a
|
||||
Stow directory (e.g., \fI/usr/local/stow/emacs\fR), so it's always
|
||||
possible to rebuild the target tree (e.g., \fI/usr/local\fR).
|
||||
.PP
|
||||
Stow is implemented as a combination of a Perl script providing a CLI
|
||||
interface, and a backend Perl module which does most of the work.
|
||||
.SH TERMINOLOGY
|
||||
.IX Header "TERMINOLOGY"
|
||||
A "package" is a related collection of files and directories that
|
||||
you wish to administer as a unit \-\- e.g., Perl or Emacs \-\- and that
|
||||
needs to be installed in a particular directory structure \-\- e.g.,
|
||||
with \fIbin\fR, \fIlib\fR, and \fIman\fR subdirectories.
|
||||
.PP
|
||||
A "target directory" is the root of a tree in which one or more
|
||||
packages wish to \fBappear\fR to be installed. A common, but by no means
|
||||
the only such location is \fI/usr/local\fR. The examples in this manual
|
||||
page will use \fI/usr/local\fR as the target directory.
|
||||
.PP
|
||||
A "stow directory" is the root of a tree containing separate
|
||||
packages in private subtrees. When Stow runs, it uses the current
|
||||
directory as the default stow directory. The examples in this manual
|
||||
page will use \fI/usr/local/stow\fR as the stow directory, so that
|
||||
individual packages will be, for example, \fI/usr/local/stow/perl\fR and
|
||||
\&\fI/usr/local/stow/emacs\fR.
|
||||
.PP
|
||||
An "installation image" is the layout of files and directories
|
||||
required by a package, relative to the target directory. Thus, the
|
||||
installation image for Perl includes: a \fIbin\fR directory containing
|
||||
\&\fIperl\fR and \fIa2p\fR (among others); an \fIinfo\fR directory containing
|
||||
Texinfo documentation; a \fIlib/perl\fR directory containing Perl
|
||||
libraries; and a \fIman/man1\fR directory containing man pages.
|
||||
.PP
|
||||
A "package directory" is the root of a tree containing the
|
||||
installation image for a particular package. Each package directory
|
||||
must reside in a stow directory \-\- e.g., the package directory
|
||||
\&\fI/usr/local/stow/perl\fR must reside in the stow directory
|
||||
\&\fI/usr/local/stow\fR. The "name" of a package is the name of its
|
||||
directory within the stow directory \-\- e.g., \fIperl\fR.
|
||||
.PP
|
||||
Thus, the Perl executable might reside in
|
||||
\&\fI/usr/local/stow/perl/bin/perl\fR, where \fI/usr/local\fR is the target
|
||||
directory, \fI/usr/local/stow\fR is the stow directory,
|
||||
\&\fI/usr/local/stow/perl\fR is the package directory, and \fIbin/perl\fR
|
||||
within is part of the installation image.
|
||||
.PP
|
||||
A "symlink" is a symbolic link. A symlink can be "relative" or
|
||||
"absolute". An absolute symlink names a full path; that is, one
|
||||
starting from \fI/\fR. A relative symlink names a relative path; that
|
||||
is, one not starting from \fI/\fR. The target of a relative symlink is
|
||||
computed starting from the symlink's own directory. Stow only creates
|
||||
relative symlinks.
|
||||
.SH OPTIONS
|
||||
.IX Header "OPTIONS"
|
||||
The stow directory is assumed to be the value of the \f(CW\*(C`STOW_DIR\*(C'\fR
|
||||
environment variable or if unset the current directory, and the target
|
||||
directory is assumed to be the parent of the current directory (so it
|
||||
is typical to execute \fIstow\fR from the directory \fI/usr/local/stow\fR).
|
||||
Each \fIpackage\fR given on the command line is the name of a package in
|
||||
the stow directory (e.g., \fIperl\fR). By default, they are installed
|
||||
into the target directory (but they can be deleted instead using
|
||||
\&\f(CW\*(C`\-D\*(C'\fR).
|
||||
.IP \-n 4
|
||||
.IX Item "-n"
|
||||
.PD 0
|
||||
.IP \-\-no 4
|
||||
.IX Item "--no"
|
||||
.IP \-\-simulate 4
|
||||
.IX Item "--simulate"
|
||||
.PD
|
||||
Do not perform any operations that modify the filesystem; merely show
|
||||
what would happen.
|
||||
.IP "\-d DIR" 4
|
||||
.IX Item "-d DIR"
|
||||
.PD 0
|
||||
.IP \-\-dir=DIR 4
|
||||
.IX Item "--dir=DIR"
|
||||
.PD
|
||||
Set the stow directory to \f(CW\*(C`DIR\*(C'\fR instead of the current directory.
|
||||
This also has the effect of making the default target directory be the
|
||||
parent of \f(CW\*(C`DIR\*(C'\fR.
|
||||
.IP "\-t DIR" 4
|
||||
.IX Item "-t DIR"
|
||||
.PD 0
|
||||
.IP \-\-target=DIR 4
|
||||
.IX Item "--target=DIR"
|
||||
.PD
|
||||
Set the target directory to \f(CW\*(C`DIR\*(C'\fR instead of the parent of the stow
|
||||
directory.
|
||||
.IP \-v 4
|
||||
.IX Item "-v"
|
||||
.PD 0
|
||||
.IP \-\-verbose[=N] 4
|
||||
.IX Item "--verbose[=N]"
|
||||
.PD
|
||||
Send verbose output to standard error describing what Stow is
|
||||
doing. Verbosity levels are from 0 to 5; 0 is the default.
|
||||
Using \f(CW\*(C`\-v\*(C'\fR or \f(CW\*(C`\-\-verbose\*(C'\fR increases the verbosity by one; using
|
||||
`\-\-verbose=N' sets it to N.
|
||||
.IP \-S 4
|
||||
.IX Item "-S"
|
||||
.PD 0
|
||||
.IP \-\-stow 4
|
||||
.IX Item "--stow"
|
||||
.PD
|
||||
Stow the packages that follow this option into the target directory.
|
||||
This is the default action and so can be omitted if you are only
|
||||
stowing packages rather than performing a mixture of
|
||||
stow/delete/restow actions.
|
||||
.IP \-D 4
|
||||
.IX Item "-D"
|
||||
.PD 0
|
||||
.IP \-\-delete 4
|
||||
.IX Item "--delete"
|
||||
.PD
|
||||
Unstow the packages that follow this option from the target directory rather
|
||||
than installing them.
|
||||
.IP \-R 4
|
||||
.IX Item "-R"
|
||||
.PD 0
|
||||
.IP \-\-restow 4
|
||||
.IX Item "--restow"
|
||||
.PD
|
||||
Restow packages (first unstow, then stow again). This is useful
|
||||
for pruning obsolete symlinks from the target tree after updating
|
||||
the software in a package.
|
||||
.IP \-\-adopt 4
|
||||
.IX Item "--adopt"
|
||||
\&\fBWarning!\fR This behaviour is specifically intended to alter the
|
||||
contents of your stow directory. If you do not want that, this option
|
||||
is not for you.
|
||||
.Sp
|
||||
When stowing, if a target is encountered which already exists but is a
|
||||
plain file (and hence not owned by any existing stow package), then
|
||||
normally Stow will register this as a conflict and refuse to proceed.
|
||||
This option changes that behaviour so that the file is moved to the
|
||||
same relative place within the package's installation image within the
|
||||
stow directory, and then stowing proceeds as before. So effectively,
|
||||
the file becomes adopted by the stow package, without its contents
|
||||
changing.
|
||||
.IP \-\-no\-folding 4
|
||||
.IX Item "--no-folding"
|
||||
Disable folding of newly stowed directories when stowing, and
|
||||
refolding of newly foldable directories when unstowing.
|
||||
.IP \-\-ignore=REGEX 4
|
||||
.IX Item "--ignore=REGEX"
|
||||
Ignore files ending in this Perl regex.
|
||||
.IP \-\-defer=REGEX 4
|
||||
.IX Item "--defer=REGEX"
|
||||
Don't stow files beginning with this Perl regex if the file is already
|
||||
stowed to another package.
|
||||
.IP \-\-override=REGEX 4
|
||||
.IX Item "--override=REGEX"
|
||||
Force stowing files beginning with this Perl regex if the file is
|
||||
already stowed to another package.
|
||||
.IP \-\-dotfiles 4
|
||||
.IX Item "--dotfiles"
|
||||
Enable special handling for "dotfiles" (files or folders whose name
|
||||
begins with a period) in the package directory. If this option is
|
||||
enabled, Stow will add a preprocessing step for each file or folder
|
||||
whose name begins with "dot\-", and replace the "dot\-" prefix in the
|
||||
name by a period (.). This is useful when Stow is used to manage
|
||||
collections of dotfiles, to avoid having a package directory full of
|
||||
hidden files.
|
||||
.Sp
|
||||
For example, suppose we have a package containing two files,
|
||||
\&\fIstow/dot\-bashrc\fR and \fIstow/dot\-emacs.d/init.el\fR. With this option,
|
||||
Stow will create symlinks from \fI.bashrc\fR to \fIstow/dot\-bashrc\fR and
|
||||
from \fI.emacs.d/init.el\fR to \fIstow/dot\-emacs.d/init.el\fR. Any other
|
||||
files, whose name does not begin with "dot\-", will be processed as usual.
|
||||
.IP \-V 4
|
||||
.IX Item "-V"
|
||||
.PD 0
|
||||
.IP \-\-version 4
|
||||
.IX Item "--version"
|
||||
.PD
|
||||
Show Stow version number, and exit.
|
||||
.IP \-h 4
|
||||
.IX Item "-h"
|
||||
.PD 0
|
||||
.IP \-\-help 4
|
||||
.IX Item "--help"
|
||||
.PD
|
||||
Show Stow command syntax, and exit.
|
||||
.SH "INSTALLING PACKAGES"
|
||||
.IX Header "INSTALLING PACKAGES"
|
||||
The default action of Stow is to install a package. This means
|
||||
creating symlinks in the target tree that point into the package tree.
|
||||
Stow attempts to do this with as few symlinks as possible; in other
|
||||
words, if Stow can create a single symlink that points to an entire
|
||||
subtree within the package tree, it will choose to do that rather than
|
||||
create a directory in the target tree and populate it with symlinks.
|
||||
.PP
|
||||
For example, suppose that no packages have yet been installed in
|
||||
\&\fI/usr/local\fR; it's completely empty (except for the \fIstow\fR
|
||||
subdirectory, of course). Now suppose the Perl package is installed.
|
||||
Recall that it includes the following directories in its installation
|
||||
image: \fIbin\fR; \fIinfo\fR; \fIlib/perl\fR; \fIman/man1\fR. Rather than
|
||||
creating the directory \fI/usr/local/bin\fR and populating it with
|
||||
symlinks to \fI../stow/perl/bin/perl\fR and \fI../stow/perl/bin/a2p\fR (and
|
||||
so on), Stow will create a single symlink, \fI/usr/local/bin\fR, which
|
||||
points to \fIstow/perl/bin\fR. In this way, it still works to refer to
|
||||
\&\fI/usr/local/bin/perl\fR and \fI/usr/local/bin/a2p\fR, and fewer symlinks
|
||||
have been created. This is called "tree folding", since an entire
|
||||
subtree is "folded" into a single symlink.
|
||||
.PP
|
||||
To complete this example, Stow will also create the symlink
|
||||
\&\fI/usr/local/info\fR pointing to \fIstow/perl/info\fR; the symlink
|
||||
\&\fI/usr/local/lib\fR pointing to \fIstow/perl/lib\fR; and the symlink
|
||||
\&\fI/usr/local/man\fR pointing to \fIstow/perl/man\fR.
|
||||
.PP
|
||||
Now suppose that instead of installing the Perl package into an empty
|
||||
target tree, the target tree is not empty to begin with. Instead, it
|
||||
contains several files and directories installed under a different
|
||||
system-administration philosophy. In particular, \fI/usr/local/bin\fR
|
||||
already exists and is a directory, as are \fI/usr/local/lib\fR and
|
||||
\&\fI/usr/local/man/man1\fR. In this case, Stow will descend into
|
||||
\&\fI/usr/local/bin\fR and create symlinks to \fI../stow/perl/bin/perl\fR and
|
||||
\&\fI../stow/perl/bin/a2p\fR (etc.), and it will descend into
|
||||
\&\fI/usr/local/lib\fR and create the tree-folding symlink \fIperl\fR pointing
|
||||
to \fI../stow/perl/lib/perl\fR, and so on. As a rule, Stow only descends
|
||||
as far as necessary into the target tree when it can create a
|
||||
tree-folding symlink.
|
||||
.PP
|
||||
The time often comes when a tree-folding symlink has to be undone
|
||||
because another package uses one or more of the folded subdirectories
|
||||
in its installation image. This operation is called "splitting open"
|
||||
a folded tree. It involves removing the original symlink from the
|
||||
target tree, creating a true directory in its place, and then
|
||||
populating the new directory with symlinks to the newly-installed
|
||||
package \fBand\fR to the old package that used the old symlink. For
|
||||
example, suppose that after installing Perl into an empty
|
||||
\&\fI/usr/local\fR, we wish to install Emacs. Emacs's installation image
|
||||
includes a \fIbin\fR directory containing the \fIemacs\fR and \fIetags\fR
|
||||
executables, among others. Stow must make these files appear to be
|
||||
installed in \fI/usr/local/bin\fR, but presently \fI/usr/local/bin\fR is a
|
||||
symlink to \fIstow/perl/bin\fR. Stow therefore takes the following
|
||||
steps: the symlink \fI/usr/local/bin\fR is deleted; the directory
|
||||
\&\fI/usr/local/bin\fR is created; links are made from \fI/usr/local/bin\fR to
|
||||
\&\fI../stow/emacs/bin/emacs\fR and \fI../stow/emacs/bin/etags\fR; and links
|
||||
are made from \fI/usr/local/bin\fR to \fI../stow/perl/bin/perl\fR and
|
||||
\&\fI../stow/perl/bin/a2p\fR.
|
||||
.PP
|
||||
When splitting open a folded tree, Stow makes sure that the symlink
|
||||
it is about to remove points inside a valid package in the current stow
|
||||
directory.
|
||||
.SS "Stow will never delete anything that it doesn't own."
|
||||
.IX Subsection "Stow will never delete anything that it doesn't own."
|
||||
Stow "owns" everything living in the target tree that points into a
|
||||
package in the stow directory. Anything Stow owns, it can recompute if
|
||||
lost. Note that by this definition, Stow doesn't "own" anything
|
||||
\&\fBin\fR the stow directory or in any of the packages.
|
||||
.PP
|
||||
If Stow needs to create a directory or a symlink in the target tree
|
||||
and it cannot because that name is already in use and is not owned by
|
||||
Stow, then a conflict has arisen. See the "Conflicts" section in the
|
||||
info manual.
|
||||
.SH "DELETING PACKAGES"
|
||||
.IX Header "DELETING PACKAGES"
|
||||
When the \f(CW\*(C`\-D\*(C'\fR option is given, the action of Stow is to delete a
|
||||
package from the target tree. Note that Stow will not delete anything
|
||||
it doesn't "own". Deleting a package does \fBnot\fR mean removing it from
|
||||
the stow directory or discarding the package tree.
|
||||
.PP
|
||||
To delete a package, Stow recursively scans the target tree, skipping
|
||||
over the stow directory (since that is usually a subdirectory of the
|
||||
target tree) and any other stow directories it encounters (see
|
||||
"Multiple stow directories" in the info manual). Any symlink it
|
||||
finds that points into the package being deleted is removed. Any
|
||||
directory that contained only symlinks to the package being deleted is
|
||||
removed. Any directory that, after removing symlinks and empty
|
||||
subdirectories, contains only symlinks to a single other package, is
|
||||
considered to be a previously "folded" tree that was "split open."
|
||||
Stow will re-fold the tree by removing the symlinks to the surviving
|
||||
package, removing the directory, then linking the directory back to
|
||||
the surviving package.
|
||||
.SH "RESOURCE FILES"
|
||||
.IX Header "RESOURCE FILES"
|
||||
\&\fIStow\fR searches for default command line options at \fI.stowrc\fR (current
|
||||
directory) and \fI~/.stowrc\fR (home directory) in that order. If both
|
||||
locations are present, the files are effectively appended together.
|
||||
.PP
|
||||
The effect of options in the resource file is similar to simply prepending
|
||||
the options to the command line. For options that provide a single value,
|
||||
such as \fI\-\-target\fR or \fI\-\-dir\fR, the command line option will overwrite any
|
||||
options in the resource file. For options that can be given more than once,
|
||||
\&\fI\-\-ignore\fR for example, command line options and resource options are
|
||||
appended together.
|
||||
.PP
|
||||
Environment variables and the tilde character (\fI~\fR) will be expanded for
|
||||
options that take a file path.
|
||||
.PP
|
||||
The options \fI\-D\fR, \fI\-R\fR, \fI\-S\fR, and any packages listed in the resource
|
||||
file are ignored.
|
||||
.PP
|
||||
See the info manual for more information on how stow handles resource
|
||||
file.
|
||||
.SH "SEE ALSO"
|
||||
.IX Header "SEE ALSO"
|
||||
The full documentation for \fIstow\fR is maintained as a Texinfo manual.
|
||||
If the \fIinfo\fR and \fIstow\fR programs are properly installed at your site, the command
|
||||
.PP
|
||||
.Vb 1
|
||||
\& info stow
|
||||
.Ve
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
.SH BUGS
|
||||
.IX Header "BUGS"
|
||||
Please report bugs in Stow using the Debian bug tracking system.
|
||||
.PP
|
||||
Currently known bugs include:
|
||||
.IP \(bu 4
|
||||
The empty-directory problem.
|
||||
.Sp
|
||||
If package \fIfoo\fR includes an empty directory \-\- say, \fIfoo/bar\fR \-\-
|
||||
then if no other package has a \fIbar\fR subdirectory, everything's fine.
|
||||
If another stowed package \fIquux\fR, has a \fIbar\fR subdirectory, then
|
||||
when stowing, \fItargetdir/bar\fR will be "split open" and the contents
|
||||
of \fIquux/bar\fR will be individually stowed. So far, so good. But when
|
||||
unstowing \fIquux\fR, \fItargetdir/bar\fR will be removed, even though
|
||||
\&\fIfoo/bar\fR needs it to remain. A workaround for this problem is to
|
||||
create a file in \fIfoo/bar\fR as a placeholder. If you name that file
|
||||
\&\fI.placeholder\fR, it will be easy to find and remove such files when
|
||||
this bug is fixed.
|
||||
.IP \(bu 4
|
||||
When using multiple stow directories (see "Multiple stow directories"
|
||||
in the info manual), Stow fails to "split open" tree-folding symlinks
|
||||
(see "Installing packages" in the info manual) that point into a stow
|
||||
directory which is not the one in use by the current Stow
|
||||
command. Before failing, it should search the target of the link to
|
||||
see whether any element of the path contains a \fI.stow\fR file. If it
|
||||
finds one, it can "learn" about the cooperating stow directory to
|
||||
short-circuit the \fI.stow\fR search the next time it encounters a
|
||||
tree-folding symlink.
|
||||
.SH AUTHOR
|
||||
.IX Header "AUTHOR"
|
||||
This man page was originally constructed by Charles Briscoe-Smith from
|
||||
parts of Stow's info manual, and then converted to POD format by Adam
|
||||
Spiers. The info manual contains the following notice, which, as it
|
||||
says, applies to this manual page, too. The text of the section
|
||||
entitled "GNU General Public License" can be found in the file
|
||||
\&\fI/usr/share/common\-licenses/GPL\fR on any Debian GNU/Linux system. If
|
||||
you don't have access to a Debian system, or the GPL is not there,
|
||||
write to the Free Software Foundation, Inc., 59 Temple Place, Suite
|
||||
330, Boston, MA, 02111\-1307, USA.
|
||||
.SH COPYRIGHT
|
||||
.IX Header "COPYRIGHT"
|
||||
Copyright (C)
|
||||
1993, 1994, 1995, 1996 by Bob Glickstein <bobg+stow@zanshin.com>;
|
||||
2000, 2001 by Guillaume Morin;
|
||||
2007 by Kahlil Hodgson;
|
||||
2011 by Adam Spiers;
|
||||
and others.
|
||||
.PP
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
preserved on all copies.
|
||||
.PP
|
||||
Permission is granted to copy and distribute modified versions of this
|
||||
manual under the conditions for verbatim copying, provided also that
|
||||
the section entitled "GNU General Public License" is included with the
|
||||
modified manual, and provided that the entire resulting derived work
|
||||
is distributed under the terms of a permission notice identical to
|
||||
this one.
|
||||
.PP
|
||||
Permission is granted to copy and distribute translations of this
|
||||
manual into another language, under the above conditions for modified
|
||||
versions, except that this permission notice may be stated in a
|
||||
translation approved by the Free Software Foundation.
|
Loading…
Add table
Add a link
Reference in a new issue