Show More
@@ -0,0 +1,37 b'' | |||||
|
1 | This patch does two things: (1) use the right name for `docbook2texi', | |||
|
2 | and (2) make sure `gitman.info' isn't produced since it's broken (duplicate | |||
|
3 | node names). | |||
|
4 | ||||
|
5 | diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile | |||
|
6 | --- git-1.8.4-orig/Documentation/Makefile 2013-08-23 21:38:43.000000000 +0200 | |||
|
7 | +++ git-1.8.4/Documentation/Makefile 2013-09-30 14:48:51.532890378 +0200 | |||
|
8 | @@ -101,7 +101,7 @@ | |||
|
9 | ||||
|
10 | MAKEINFO = makeinfo | |||
|
11 | INSTALL_INFO = install-info | |||
|
12 | -DOCBOOK2X_TEXI = docbook2x-texi | |||
|
13 | +DOCBOOK2X_TEXI = docbook2texi | |||
|
14 | DBLATEX = dblatex | |||
|
15 | ifndef PERL_PATH | |||
|
16 | PERL_PATH = /usr/bin/perl | |||
|
17 | @@ -205,7 +205,7 @@ | |||
|
18 | man5: $(DOC_MAN5) | |||
|
19 | man7: $(DOC_MAN7) | |||
|
20 | ||||
|
21 | -info: git.info gitman.info | |||
|
22 | +info: git.info | |||
|
23 | ||||
|
24 | pdf: user-manual.pdf | |||
|
25 | ||||
|
26 | @@ -221,10 +221,9 @@ | |||
|
27 | ||||
|
28 | install-info: info | |||
|
29 | $(INSTALL) -d -m 755 $(DESTDIR)$(infodir) | |||
|
30 | - $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir) | |||
|
31 | + $(INSTALL) -m 644 git.info $(DESTDIR)$(infodir) | |||
|
32 | if test -r $(DESTDIR)$(infodir)/dir; then \ | |||
|
33 | $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\ | |||
|
34 | - $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\ | |||
|
35 | else \ | |||
|
36 | echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \ | |||
|
37 | fi |
@@ -0,0 +1,94 b'' | |||||
|
1 | --- a/git-sh-i18n.sh | |||
|
2 | +++ b/git-sh-i18n.sh | |||
|
3 | @@ -15,87 +15,11 @@ | |||
|
4 | fi | |||
|
5 | export TEXTDOMAINDIR | |||
|
6 | ||||
|
7 | -# First decide what scheme to use... | |||
|
8 | -GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough | |||
|
9 | -if test -n "@@USE_GETTEXT_SCHEME@@" | |||
|
10 | -then | |||
|
11 | - GIT_INTERNAL_GETTEXT_SH_SCHEME="@@USE_GETTEXT_SCHEME@@" | |||
|
12 | -elif test -n "$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS" | |||
|
13 | -then | |||
|
14 | - : no probing necessary | |||
|
15 | -elif test -n "$GIT_GETTEXT_POISON" | |||
|
16 | -then | |||
|
17 | - GIT_INTERNAL_GETTEXT_SH_SCHEME=poison | |||
|
18 | -elif type gettext.sh >/dev/null 2>&1 | |||
|
19 | -then | |||
|
20 | - # GNU libintl's gettext.sh | |||
|
21 | - GIT_INTERNAL_GETTEXT_SH_SCHEME=gnu | |||
|
22 | -elif test "$(gettext -h 2>&1)" = "-h" | |||
|
23 | -then | |||
|
24 | - # gettext binary exists but no gettext.sh. likely to be a gettext | |||
|
25 | - # binary on a Solaris or something that is not GNU libintl and | |||
|
26 | - # lack eval_gettext. | |||
|
27 | - GIT_INTERNAL_GETTEXT_SH_SCHEME=gettext_without_eval_gettext | |||
|
28 | -fi | |||
|
29 | -export GIT_INTERNAL_GETTEXT_SH_SCHEME | |||
|
30 | - | |||
|
31 | -# ... and then follow that decision. | |||
|
32 | -case "$GIT_INTERNAL_GETTEXT_SH_SCHEME" in | |||
|
33 | -gnu) | |||
|
34 | - # Use libintl's gettext.sh, or fall back to English if we can't. | |||
|
35 | - . gettext.sh | |||
|
36 | - ;; | |||
|
37 | -gettext_without_eval_gettext) | |||
|
38 | - # Solaris has a gettext(1) but no eval_gettext(1) | |||
|
39 | - eval_gettext () { | |||
|
40 | - gettext "$1" | ( | |||
|
41 | - export PATH $(git sh-i18n--envsubst --variables "$1"); | |||
|
42 | - git sh-i18n--envsubst "$1" | |||
|
43 | - ) | |||
|
44 | - } | |||
|
45 | - | |||
|
46 | - eval_ngettext () { | |||
|
47 | - ngettext "$1" "$2" "$3" | ( | |||
|
48 | - export PATH $(git sh-i18n--envsubst --variables "$2"); | |||
|
49 | - git sh-i18n--envsubst "$2" | |||
|
50 | - ) | |||
|
51 | - } | |||
|
52 | - ;; | |||
|
53 | -poison) | |||
|
54 | - # Emit garbage so that tests that incorrectly rely on translatable | |||
|
55 | - # strings will fail. | |||
|
56 | - gettext () { | |||
|
57 | - printf "%s" "# GETTEXT POISON #" | |||
|
58 | - } | |||
|
59 | - | |||
|
60 | - eval_gettext () { | |||
|
61 | - printf "%s" "# GETTEXT POISON #" | |||
|
62 | - } | |||
|
63 | - | |||
|
64 | - eval_ngettext () { | |||
|
65 | - printf "%s" "# GETTEXT POISON #" | |||
|
66 | - } | |||
|
67 | - ;; | |||
|
68 | -*) | |||
|
69 | - gettext () { | |||
|
70 | - printf "%s" "$1" | |||
|
71 | - } | |||
|
72 | - | |||
|
73 | - eval_gettext () { | |||
|
74 | - printf "%s" "$1" | ( | |||
|
75 | - export PATH $(git sh-i18n--envsubst --variables "$1"); | |||
|
76 | - git sh-i18n--envsubst "$1" | |||
|
77 | - ) | |||
|
78 | - } | |||
|
79 | +# GNU gettext | |||
|
80 | +export GIT_INTERNAL_GETTEXT_SH_SCHEME=gnu | |||
|
81 | +export PATH=@gettext@/bin:$PATH | |||
|
82 | ||||
|
83 | - eval_ngettext () { | |||
|
84 | - (test "$3" = 1 && printf "%s" "$1" || printf "%s" "$2") | ( | |||
|
85 | - export PATH $(git sh-i18n--envsubst --variables "$2"); | |||
|
86 | - git sh-i18n--envsubst "$2" | |||
|
87 | - ) | |||
|
88 | - } | |||
|
89 | - ;; | |||
|
90 | -esac | |||
|
91 | +. @gettext@/bin/gettext.sh | |||
|
92 | ||||
|
93 | # Git-specific wrapper functions | |||
|
94 | gettextln () { |
@@ -0,0 +1,26 b'' | |||||
|
1 | diff --git a/connect.c b/connect.c | |||
|
2 | index fd7ffe1..20cd992 100644 | |||
|
3 | --- a/connect.c | |||
|
4 | +++ b/connect.c | |||
|
5 | @@ -768,7 +768,7 @@ | |||
|
6 | ||||
|
7 | ssh = getenv("GIT_SSH"); | |||
|
8 | if (!ssh) | |||
|
9 | - ssh = "ssh"; | |||
|
10 | + ssh = "@ssh@"; | |||
|
11 | else | |||
|
12 | handle_ssh_variant(ssh, 0, | |||
|
13 | &port_option, | |||
|
14 | diff --git a/git-gui/lib/remote_add.tcl b/git-gui/lib/remote_add.tcl | |||
|
15 | index 50029d0..17b9594 100644 | |||
|
16 | --- a/git-gui/lib/remote_add.tcl | |||
|
17 | +++ b/git-gui/lib/remote_add.tcl | |||
|
18 | @@ -139,7 +139,7 @@ | |||
|
19 | # Parse the location | |||
|
20 | if { [regexp {(?:git\+)?ssh://([^/]+)(/.+)} $location xx host path] | |||
|
21 | || [regexp {([^:][^:]+):(.+)} $location xx host path]} { | |||
|
22 | - set ssh ssh | |||
|
23 | + set ssh @ssh@ | |||
|
24 | if {[info exists env(GIT_SSH)]} { | |||
|
25 | set ssh $env(GIT_SSH) | |||
|
26 | } |
@@ -0,0 +1,13 b'' | |||||
|
1 | diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile | |||
|
2 | --- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200 | |||
|
3 | +++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200 | |||
|
4 | @@ -2319,8 +2319,7 @@ | |||
|
5 | { test "$$bindir/" = "$$execdir/" || \ | |||
|
6 | for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \ | |||
|
7 | $(RM) "$$execdir/$$p" && \ | |||
|
8 | - test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \ | |||
|
9 | - ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \ | |||
|
10 | + ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \ | |||
|
11 | cp "$$bindir/$$p" "$$execdir/$$p" || exit; \ | |||
|
12 | done; \ | |||
|
13 | } && \ |
@@ -16,12 +16,19 b' let' | |||||
16 | pkgs = pkgs_.overridePackages (self: super: { |
|
16 | pkgs = pkgs_.overridePackages (self: super: { | |
17 | # bump GIT version |
|
17 | # bump GIT version | |
18 | git = pkgs.lib.overrideDerivation pkgs_.git (oldAttrs: { |
|
18 | git = pkgs.lib.overrideDerivation pkgs_.git (oldAttrs: { | |
19 |
name = "git-2. |
|
19 | name = "git-2.13.5"; | |
20 | src = pkgs.fetchurl { |
|
20 | src = pkgs.fetchurl { | |
21 |
url = "https://www.kernel.org/pub/software/scm/git/git-2. |
|
21 | url = "https://www.kernel.org/pub/software/scm/git/git-2.13.5.tar.xz"; | |
22 | sha256 = "00ir7qmgfszwrhxjzxwixk7wp35gxvvw467gr30bagwsrdza7gm4"; |
|
22 | sha256 = "18fi18103n7grshm4ffb0fwsnvbl48sbqy5gqx528vf8maff5j91"; | |
23 | }; |
|
23 | }; | |
24 |
|
24 | |||
|
25 | patches = [ | |||
|
26 | ./pkgs/git_patches/docbook2texi.patch | |||
|
27 | ./pkgs/git_patches/symlinks-in-bin.patch | |||
|
28 | ./pkgs/git_patches/git-sh-i18n.patch | |||
|
29 | ./pkgs/git_patches/ssh-path.patch | |||
|
30 | ]; | |||
|
31 | ||||
25 | }); |
|
32 | }); | |
26 |
|
33 | |||
27 | # Override subversion derivation to |
|
34 | # Override subversion derivation to |
General Comments 0
You need to be logged in to leave comments.
Login now