Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Git 2.25.0
Date: Tue, 14 Jan 2020 13:06:53 +0100	[thread overview]
Message-ID: <20200114120653.3Z0DLH6csySJMqgXF3WjdnnaeD76rjeUzMi3S_c7cO0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18297@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

There is an updated pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages git-2.25.0
https://github.com/void-linux/void-packages/pull/18297

Git 2.25.0
Also drop unnecessary hostmakedepends for choot-git

A patch file from https://github.com/void-linux/void-packages/pull/18297.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-git-2.25.0-18297.patch --]
[-- Type: text/x-diff, Size: 3944 bytes --]

From 43d02b003239bc0319f9e6e03c58d0b45c77bb0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Fri, 27 Dec 2019 19:59:04 +0700
Subject: [PATCH 1/2] git: update to 2.25.0

t3900 is passed on both musl and glibc now.
---
 srcpkgs/git/patches/git-p4-python-3.patch |  8 ++++++++
 srcpkgs/git/template                      | 12 +++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)
 create mode 100644 srcpkgs/git/patches/git-p4-python-3.patch

diff --git a/srcpkgs/git/patches/git-p4-python-3.patch b/srcpkgs/git/patches/git-p4-python-3.patch
new file mode 100644
index 00000000000..fd1fcfab8d4
--- /dev/null
+++ b/srcpkgs/git/patches/git-p4-python-3.patch
@@ -0,0 +1,8 @@
+--- git-p4.py
++++ git-p4.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # git-p4.py -- A tool for bidirectional operation between a Perforce depot and git.
+ #
diff --git a/srcpkgs/git/template b/srcpkgs/git/template
index b413bacbbb7..a1d09c0d7bd 100644
--- a/srcpkgs/git/template
+++ b/srcpkgs/git/template
@@ -1,7 +1,7 @@
 # Template file for 'git'
 pkgname=git
-version=2.24.1
-revision=2
+version=2.25.0
+revision=1
 build_style=gnu-configure
 configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2
  ac_cv_snprintf_returns_bogus=no ac_cv_fread_reads_directories=yes"
@@ -16,14 +16,15 @@ license="GPL-2.0-only"
 homepage="https://git-scm.com/"
 changelog="https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/${version}.txt"
 distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"
-checksum=723f24dce8fdd621a308b6187553fce7d5244205c065fe0a3aebd0b7c3f88562
+checksum=c060291a3ffb43d7c99f4aa5c4d37d3751cf6bca683e7344ea407ea504d9a8d0
 replaces="git-perl>=0"
 register_shell=/usr/bin/git-shell
 
 subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret git-netrc"
 
 case "$XBPS_TARGET_MACHINE" in
-	*-musl) export GIT_SKIP_TESTS='t3900' ;;
+	*-musl) configure_args+=" ac_cv_iconv_omits_bom=yes" ;;
+	*) configure_args+=" ac_cv_iconv_omits_bom=no" ;;
 esac
 
 post_configure() {
@@ -32,9 +33,6 @@ post_configure() {
 	INSTALLDIRS=vendor
 	perllibdir=/usr/share/perl5/vendor_perl
 	EOF
-	case "$XBPS_TARGET_MACHINE" in
-		*-musl) echo "ICONV_OMITS_BOM=Yes" >>config.mak ;;
-	esac
 }
 
 post_build() {

From 0f1bb05924ea32c53b441207a4af254901518935 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 14 Jan 2020 07:47:21 +0700
Subject: [PATCH 2/2] chroot-git: update to 2.25.0.

---
 srcpkgs/chroot-git/template | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template
index 60d484fdcba..255f742a453 100644
--- a/srcpkgs/chroot-git/template
+++ b/srcpkgs/chroot-git/template
@@ -1,7 +1,7 @@
 # Template file for 'chroot-git'
 pkgname=chroot-git
-version=2.24.1
-revision=2
+version=2.25.0
+revision=1
 bootstrap=yes
 wrksrc="git-${version}"
 build_style=gnu-configure
@@ -15,7 +15,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://git-scm.com/"
 distfiles="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"
-checksum=723f24dce8fdd621a308b6187553fce7d5244205c065fe0a3aebd0b7c3f88562
+checksum=c060291a3ffb43d7c99f4aa5c4d37d3751cf6bca683e7344ea407ea504d9a8d0
 
 if [ "$CHROOT_READY" ]; then
 	hostmakedepends="perl gettext tar"
@@ -23,14 +23,16 @@ else
 	configure_args+=" --with-zlib=${XBPS_MASTERDIR}/usr"
 fi
 
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" ac_cv_iconv_omits_bom=yes" ;;
+	*) configure_args+=" ac_cv_iconv_omits_bom=no" ;;
+esac
+
 post_configure() {
 	cat <<-EOF >config.mak
 	CC_LD_DYNPATH=-L
 	NO_INSTALL_HARDLINKS=Yes
 	EOF
-	case "$XBPS_TARGET_MACHINE" in
-		*-musl) echo "ICONV_OMITS_BOM=Yes" >>config.mak ;;
-	esac
 }
 
 do_install() {

  reply	other threads:[~2020-01-14 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14  0:51 [PR PATCH] " voidlinux-github
2020-01-14 12:06 ` voidlinux-github [this message]
2020-01-14 18:03 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200114120653.3Z0DLH6csySJMqgXF3WjdnnaeD76rjeUzMi3S_c7cO0@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).