Commit Graph

31 Commits

Author SHA1 Message Date
Boris Nagaev adb07e2153 patch-tool-mxe can import all patches of a package 2016-01-08 15:39:41 +03:00
Boris Nagaev a516d920ef reimplement patch-tool-mxe in Makefile
fix #1063
2016-01-08 15:39:41 +03:00
Boris Nagaev cb31219740 patch-tool-mxe: always output text diffs
Otherwise it provides binary diff for jack/waf file,
which is a mix of Python and tar.
2016-01-01 15:24:01 +03:00
Boris Nagaev 610569dc2e patch-tool-mxe: do not replace object id with 000
Previously patch-tool-mxe produced the following diffs:

    diff --git a/CMakeLists.txt b/CMakeLists.txt
    index 0000000..0000000 100644
    --- a/CMakeLists.txt
    +++ b/CMakeLists.txt

patch tool refused to apply this patch:

    The next patch would create the file CMakeLists.txt,
    which already exists!  Assume -R? [n]

This commit replaces 0000000..0000000 with 1111111..2222222.
2015-12-13 18:02:58 +03:00
Tony Theodore bdb7e57d89 Merge pull request #1016 from LuaAndC/patch-tool-improvements
Patch tool improvements
2015-12-04 16:11:43 +11:00
Boris Nagaev d5a35d7463 patch-tool-mxe: do not download dependencies 2015-12-03 02:01:34 +03:00
Boris Nagaev 8fe0680679 patch-tool-mxe: replace commit hash with zeros
Decrease patch diff size.

See #983
2015-11-29 15:44:07 +03:00
Boris Nagaev 711a99a580 patch-tool-mxe: replace object names with zeros
Decrease patch diff size.

See #983
2015-11-29 15:43:30 +03:00
Boris Nagaev 06ff4c57b0 patch-tool-mxe: omit signature with git version
Signature is a string like:

    --
    1.9.1

Decrease patch diff size.

See #983
2015-11-29 15:42:09 +03:00
Boris Nagaev eb332fde2e patch-tool-mxe: git format-patch *--no-numbered*
Decrease patch diff size.

See #983
2015-11-29 15:16:56 +03:00
Boris Nagaev cfb73654d3 fix "patch-tool-mxe init" for gcc
gcc (and maybe other packages) has both $(PKG)_FILE and
$(PKG)_FILE_$(BUILD). Previously the following error occurred:

 $ ./tools/patch-tool-mxe init gcc
 ./tools/patch-tool-mxe: line 57: [: too many arguments

see #983
2015-11-29 15:16:51 +03:00
Boris Nagaev baf62f66bb patch-tool-mxe: fix getting patch_name
Previous implementation failed with "set -o nounset":
 ./tools/patch-tool-mxe: line 10: $3: unbound variable

see #983
2015-11-29 15:16:46 +03:00
Boris Nagaev 499ae65452 patch-tool-mxe: do not replace author with "MXE"
Replace existing "From: MXE" with "From: fix@me".
Authors of such patches can be found using git history.

see #983
2015-11-29 15:16:31 +03:00
Timothy Gu 1bdd5cbe34 patch-tool-mxe: Add support for changing patch file 2014-09-17 17:12:32 -07:00
Timothy Gu 940a9c2647 patch-tool-mxe: Support .tgz, .tbz2, .txz
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-08-07 16:22:55 -07:00
william3 a8d1ba94e6 patch-tool-mxe checks for package versions back in *.mk files 2013-08-05 23:20:27 +02:00
Ryan Pavlik 5298075f4d patch tool: Add useful status messages 2012-06-13 18:22:33 +02:00
Ryan Pavlik 63917a89b3 patch tool: check preconditions for init 2012-06-13 18:22:32 +02:00
Ryan Pavlik cf1d99d68d patch tool: check preconditions for export 2012-06-13 18:22:32 +02:00
Ryan Pavlik cd9cfc088b patch tool: check preconditions for import. 2012-06-13 18:22:32 +02:00
Ryan Pavlik 82947d8dd4 Patch tool: Adding some progress messages to long processes. 2012-06-13 18:22:32 +02:00
Ryan Pavlik cef822954c patch tool: Check for package file, and if it's not there, use makefile to grab it. 2012-06-13 18:22:32 +02:00
Ryan Pavlik 42e321a85a Patch tool: Move environment variable setup to a function.
This keeps us from doing this in case of an incorrect call,
making error messages much more sane.
2012-06-13 18:22:32 +02:00
Ryan Pavlik 2bdbb1360d Patch tool: replace elifs with case. Also handles errors. 2012-06-13 18:22:32 +02:00
Ryan Pavlik febfb49541 patch tool: Ensure the gits directory exists 2012-06-13 18:22:32 +02:00
Ryan Pavlik b69f2a51c1 patch-tool: use relative directories 2012-06-13 18:22:32 +02:00
Ryan Pavlik 519657fbf9 patch tool: fix so it gets the version from index.html now 2012-06-13 18:22:32 +02:00
Volker Grabsch 07c311bcba Cleanup coding style via "make cleanup-style" 2012-03-29 13:02:06 +02:00
Volker Grabsch 7badad85c9 Move doc/index.html -> index.html 2012-03-29 12:14:15 +02:00
Volker Grabsch bbc72af783 Improve indentation 2012-03-28 15:48:13 +02:00
Volker Grabsch defdff28f0 Rebrand to new project name MXE 2012-03-28 15:46:58 +02:00
Renamed from tools/patch-tool-mingw (Browse further)