| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Source files include metadata comments to help text editors apply the
right syntax highlighting. Generated files should not be edited so
these comments are not needed there. Text editors should get the
language right for generated files in the first place anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
@RELEASE@ is replaced with the package-level release number in two
places: the spec file, where it is legitimate, and the mail command's
User-Agent string, where I think it is not. The package release
number should not affect the contents of the package, otherwise it
makes it difficult to compare build results.
I have checked other MUA (Mutt, Thunderbird, Claws Mail) and they all
only include the version, not the release number in their User-Agent
string.
Drop the @RELEASE@ replacement rule to make sure we don't use it
accidentally anywhere in the future. The spec file has its own build
rule so it is not affected.
|
|
|
|
|
|
| |
Don't filter out test/patch-wrapper.test if we are going to add it
back. Do it the other way around, that is include it by default and
only filter it out if needed.
|
|
|
|
|
|
|
|
| |
Run the tests in predictable order. This allows comparing the output
of "make check" between builds. With older versions of GNU make, the
list was already sorted, but this is no longer the case.
Suggested by Rich Burridge.
|
|
|
|
|
|
|
| |
There is no good reason for the setup command to be split into two
scripts, setup and inspect. Merge inspect into setup to save the
extra interfacing overhead. Performance improvement reaches 5% on
simple packages.
|
|
|
|
|
|
|
|
|
|
| |
I couldn't find any reason why the patch/tar/unzip wrapper is
generated each time inspect is invoked. Make it a separate script in
its own right and let the patch, tar and unzip links point to it.
This makes this piece of code easier to read, edit, trace and debug.
This also solves the case where the filesystem hosting the temporary
files is mounted with noexec.
|
|
|
|
|
|
|
|
| |
Commit 48ff26d6 already added a QUILT_COMPAT_PROG_PATH line for cp to
configure.ac, and the corresponding CP variable in Makefile.in. I
don't know how I missed this originally; sorry for the churn!
Signed-off-by: Kent R. Spillner <kspillner@acm.org>
|
|
|
|
|
| |
NEWS is much more appropriate than quilt.changes to feed the rpm spec
file's %changelog section.
|
|
|
|
|
|
|
| |
The patch-wrapper test was unconditionally disabled by commit
97200435 ("Only run test/patch-wrapper.test if the
--with-patch-wrapper config option is used.") Re-enable this test
when the --with-patch-wrapper config option is actually used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow distributors to provide compat symlinks for cp and md5sum on
non-GNU systems. md5sum is used by quilt/scripts/inspect and is
provided by GNU coreutils, but may be installed as gmd5sum on some
systems (e.g. OpenBSD). quilt/scripts/backup-files invokes cp
with some non-portable GNU-specific command line arguments
(e.g. --parents --remove-destination --target-directory).
Original diff from Jérémie Courrèges-Anglas <jca@wxcvbn.org> on
OpenBSD ports mailing list.
Reported-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
Signed-off-by: Kent R. Spillner <kspillner@acm.org>
|
| |
|
|
|
|
|
|
|
| |
* Delete blank lines at end of files.
* Delete white space at end of lines.
* Delete spaces before tab.
* Replace 8 spaces by a tab where it makes sense.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Support for obsolete find -perm +MODE syntax was removed from GNU
findutils by commit
v4.5.10-144-g90f0c5d24153ad3327edd6f2249fc95a5cfb72e0.
Reported by Dmitry V. Levin.
Also -maxdepth is not portable and not needed so drop it.
|
|
|
|
|
| |
When a helper script is called directly from a test case, it must be
added to the dependencies for that test case.
|
|
|
|
|
| |
Make function $(wildcard ...) is not guaranteed to sort the results,
so explicitly sort the entries in the reference documentation file.
|
|
|
|
|
|
|
|
|
| |
POSIXLY_CORRECT=1 breaks quilt because quilt relies on patch working
non-interactively which is not the case in POSIX mode.
Bug-Debian: http://bugs.debian.org/462578
Reported-by: Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Within the Debian source package, .pc/quilt_patches ensures that
QUILT_PATCHES is set to debian/patches but when we build the
documentation we want the real default directory used by quilt, aka
"patches".
We achieve this by tricking quilt into using a non-existing
.pc directory so that we get the real default value.
Bug-Debian: http://bugs.debian.org/585438
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Use quilt's internal implementation of dirname. This is more
efficient than calling an external binary, and avoids a dependency.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Raphael Hertzog <hertzog@debian.org>
|
|
|
|
|
|
|
| |
Finally get rid of the old C implementation of backup-files, together
with all the related checks in configure and variables in Makefile.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
| |
The stat command on BSD takes different parameters from the GNU one.
Let configure find out which variant is available, and use the right
parameters.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
| |
Make backup-files a shell script instead of a binary, so we can make
quilt arch: all [Steve Langasek, thanks so much]
(Closes: Debian #363659)
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
|
|
|
|
|
| |
Based on a preliminary patch by Yasushi SHOJI.
None of quilt code uses parse-patch anymore. The last one, it seems,
was contrib/import.diff, which was removed at 2f9728a9. So, just
remove it.
|
|
|
|
| |
This avoids generating it twice, once for README and once for quilt.1.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5f17e6f29c22282a4bf2819ac7ee08c942e6e103.
We rely on bash for the rest of quilt, so it is no real issue to rely
on it for the makefile. If we try to remove it, we have to deal with
the portability another way. For example, BSD and Mac OSX versions of
sed are not able to deal with \n by themselves...
The correct fix will be to force the SHELL to be bash in the makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The echo command of dash interprets \f as a special characer and
thus generates a bad manual page. bash's echo leaves them unchanged
(it needs -e to replace those special characters). Using printf
instead is a portable solution that work with both shells.
.
The code also uses a bashism ($'') but it's not really needed with
GNU sed at least (it understands \t and \n) so drop it and avoid some
painful double escaping.
.
This patch was written by Raphael Hertzog for the Debian package, and
updated by Martin Quinson so that it applies on lastest upstream
sources.
Author: Raphael Hertzog <hertzog@debian.org>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/quilt/+bug/402237
Bug-Debian: http://bugs.debian.org/563517
|
| |
|
|
|
|
|
| |
That way, it can be easily changed from the command line, which
was not the case before.
|
| |
|
| |
|
|
|
|
| |
(Broken by previous commit, sorry.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add an option to the test case runner script to generate an output
suitable for parallel runs:
* Print the full output at the end of the test case, all at once.
* Only output the detailed commands on failed test cases.
This makes it possible and convenient to run the test suite in
parallel on SMP systems.
|
| |
|
| |
|
|
|
|
| |
reposititory snapshots can simply be used as release tarballs.
|
| |
|
|
|
|
|
|
| |
"I ran into a case solaris ON build 99 where configure found
ginstall, but the Makefile.in used something else, and that
led to things going a bit haywire."
|
|
|
|
|
| |
- Only run test/patch-wrapper.test if the --with-patch-wrapper
config option is used.
|
|
|
|
|
| |
+- Add a new "publish" makefile target for pushing releases to
+ savannah.nongnu.org.
|
|
|
|
| |
- Make the changelog file chronological.
|
|
|
|
| |
the test suite, not build-time dependencies.
|
| |
|