Skip to content

Commit 611e4dc

Browse files
committed
testdir41: try 1.
1 parent a1b02cb commit 611e4dc

611 files changed

Lines changed: 190627 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build-on.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ done
8484
# testdir38: 200 modules
8585
# testdir39: 20 modules
8686
# testdir40: all
87-
cd testdir40 || exit 1
87+
# testdir41: git-merge-changelog
88+
cd testdir41 || exit 1
8889

8990
# Bring the time stamps into an order that will not require autoconf, automake, etc. to run again.
9091
sleep 1; touch `find . -name aclocal.m4 -type f`

testdir41/AUTHORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Authors of GNU git-merge-changelog:
2+
Bruno Haible <bruno@clisp.org>
3+
4+
Much of the build infrastructure comes from:
5+
Free Software Foundation, Inc.

testdir41/COPYING

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

testdir41/ChangeLog

Whitespace-only changes.

testdir41/DEPENDENCIES

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
The following packages should be installed before GNU git-merge-changelog is
2+
installed (runtime dependencies that are also build dependencies):
3+
4+
None.
5+
6+
7+
The following packages should be installed when GNU git-merge-changelog is
8+
installed (runtime dependencies, but not build dependencies):
9+
10+
None.
11+
12+
13+
The following should be installed when GNU git-merge-changelog is built, but
14+
are not needed later, once it is installed (build dependencies, but not runtime
15+
dependencies):
16+
17+
* A C runtime, compiler, linker, etc.
18+
+ Mandatory.
19+
Either the platform's native 'cc', or GCC 3.1 or newer.
20+
+ GCC Homepage:
21+
https://gcc.gnu.org/
22+
+ Download:
23+
https://ftp.gnu.org/gnu/gcc/
24+
25+
* A 'make' utility.
26+
+ Mandatory.
27+
Either the platform's native 'make' (for in-tree builds only),
28+
or GNU Make 3.79.1 or newer.
29+
+ GNU Make Homepage:
30+
https://www.gnu.org/software/make/
31+
+ Download:
32+
https://ftp.gnu.org/gnu/make/
33+
34+
* A shell
35+
+ Mandatory.
36+
Either the platform's native 'sh', or Bash.
37+
+ Homepage:
38+
https://www.gnu.org/software/bash/
39+
+ Download:
40+
https://ftp.gnu.org/gnu/bash/
41+
42+
* Core POSIX utilities, including:
43+
[ basename cat chgrp chmod chown cp dd echo expand expr
44+
false hostname install kill ln ls md5sum mkdir mkfifo
45+
mknod mv printenv pwd rm rmdir sleep sort tee test touch
46+
true uname
47+
+ Mandatory.
48+
Either the platform's native utilities, or GNU coreutils.
49+
+ Homepage:
50+
https://www.gnu.org/software/coreutils/
51+
+ Download:
52+
https://ftp.gnu.org/gnu/coreutils/
53+
54+
* The comparison utilities 'cmp' and 'diff'.
55+
+ Mandatory.
56+
Either the platform's native utilities, or GNU diffutils.
57+
+ Homepage:
58+
https://www.gnu.org/software/diffutils/
59+
+ Download:
60+
https://ftp.gnu.org/gnu/diffutils/
61+
62+
* Grep.
63+
+ Mandatory.
64+
Either the platform's native grep, or GNU grep.
65+
+ Homepage:
66+
https://www.gnu.org/software/grep/
67+
+ Download:
68+
https://ftp.gnu.org/gnu/grep/
69+
70+
* Awk.
71+
+ Mandatory.
72+
Either the platform's native awk, mawk, or nawk, or GNU awk.
73+
+ Homepage:
74+
https://www.gnu.org/software/gawk/
75+
+ Download:
76+
https://ftp.gnu.org/gnu/gawk/

testdir41/HACKING

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
All you need to know when hacking (modifying) GNU git-merge-changelog or when
2+
building it off a git checkout.
3+
4+
5+
Requirements
6+
============
7+
8+
You will need reasonably recent versions of the build tools:
9+
10+
* A C compiler. Such as GNU GCC.
11+
+ Homepage:
12+
https://gcc.gnu.org/
13+
14+
* GNU automake 1.16.4 or newer
15+
+ Homepage:
16+
https://www.gnu.org/software/automake/
17+
18+
* GNU autoconf
19+
+ Homepage:
20+
https://www.gnu.org/software/autoconf/
21+
22+
* GNU m4
23+
+ Homepage:
24+
https://www.gnu.org/software/m4/
25+
26+
* GNU gperf
27+
+ Homepage:
28+
https://www.gnu.org/software/gperf/
29+
30+
* GNU sed
31+
+ Homepage:
32+
https://www.gnu.org/software/sed/
33+
34+
* Perl
35+
+ Homepage:
36+
https://www.perl.org/
37+
38+
* Either an internet connection or a recent copy of GNU gnulib.
39+
In order to work with the HEAD of git-merge-changelog development, you need
40+
the HEAD of the gnulib development.
41+
In order to work with the version of git-merge-changelog at a given date,
42+
you need the version of gnulib of the same date.
43+
In order to work with a released tarball of git-merge-changelog, you need
44+
the particular version of gnulib which is indicated in the GNULIB_GIT_COMMIT
45+
variable in version.sh.
46+
+ Homepage:
47+
https://www.gnu.org/software/gnulib/
48+
49+
And, of course, the packages listed in the DEPENDENCIES file.
50+
51+
52+
Building off the Git repository
53+
===============================
54+
55+
Access to the Git repository is described at
56+
https://savannah.gnu.org/git/?group=vc-changelog .
57+
58+
After fetching the sources from the Git repository, peek at the comments in
59+
autogen.sh, then run
60+
./autopull.sh
61+
./autogen.sh
62+
Then you can proceed with "./configure" as usual.
63+
64+
Each time you want to update the source, do not only "git pull". Instead do
65+
git pull && ./autopull.sh
66+
./autogen.sh

testdir41/INSTALL

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
This file explains how to install GNU git-merge-changelog from a tarball.
2+
(If you have checked out the source code repository, start by reading the
3+
file HACKING instead.)
4+
5+
6+
Prerequisites
7+
=============
8+
9+
Before starting the installation, install the prerequisites listed in the
10+
file DEPENDENCIES. You need to have at least those marked as 'Mandatory'
11+
installed.
12+
13+
14+
Installation
15+
============
16+
17+
Then, you can run 'configure':
18+
19+
$ mkdir build/ && cd build
20+
$ ../configure
21+
22+
Here, you can give as arguments to 'configure'
23+
24+
- configure options, as listen in the 'configure --help' output,
25+
- Makefile variable assignments for building the binaries, as
26+
described in the INSTALL.generic file.
27+
28+
If you are in a 64-bit multilib system with support for building 32-bit
29+
binaries, you can build 32-bit binaries by configuring like this:
30+
31+
$ ../configure CC="gcc -m32"
32+
33+
You find a set of known-to-work variable settings for various platforms
34+
in https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration .
35+
36+
Then:
37+
38+
$ make
39+
$ make check
40+
$ make install
41+
42+
Additionally, for git users:
43+
- Add to .git/config of the checkout (or to your $HOME/.gitconfig) the
44+
lines
45+
46+
[merge "merge-changelog"]
47+
name = GNU-style ChangeLog merge driver
48+
driver = /usr/local/bin/git-merge-changelog %O %A %B "%Y"
49+
50+
- Add to the top-level directory of the checkout a file '.gitattributes'
51+
with this line:
52+
53+
ChangeLog merge=merge-changelog
54+
55+
(See "man 5 gitattributes" for more info.)
56+
57+
Additionally, for bzr users:
58+
- Install the 'extmerge' bzr plug-in listed at
59+
<http://doc.bazaar.canonical.com/plugins/en/index.html>
60+
<http://wiki.bazaar.canonical.com/BzrPlugins>
61+
- Add to your $HOME/.bazaar/bazaar.conf the line
62+
63+
external_merge = git-merge-changelog %b %T %o
64+
65+
- Then, to merge a conflict in a ChangeLog file, use
66+
67+
$ bzr extmerge ChangeLog
68+
69+
Additionally, for hg users:
70+
- Add to your $HOME/.hgrc the lines
71+
72+
[merge-patterns]
73+
ChangeLog = git-merge-changelog
74+
75+
[merge-tools]
76+
git-merge-changelog.executable = /usr/local/bin/git-merge-changelog
77+
git-merge-changelog.args = $base $local $other
78+
79+
See <https://www.selenic.com/mercurial/hgrc.5.html> section merge-tools
80+
for reference.

0 commit comments

Comments
 (0)