From: butonic <butonic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] update barrier to 2.3.3
Date: Wed, 19 Aug 2020 22:27:50 +0200 [thread overview]
Message-ID: <20200819202750.nsRBaxe6vFhcbwZqRGIRZ2qRDXLPJ0BTHbJN4IjGnoU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24367@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
There is an updated pull request by butonic against master on the void-packages repository
https://github.com/butonic/void-packages patch-1
https://github.com/void-linux/void-packages/pull/24367
update barrier to 2.3.3
Upstream moved to a git submodule for gtest and gmock. I took https://github.com/void-linux/void-packages/blob/master/srcpkgs/wabt/template as an example how to download and move gtest to the proper location.
This works for me locally. Let me know if anything needs changing.
A patch file from https://github.com/void-linux/void-packages/pull/24367.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-patch-1-24367.patch --]
[-- Type: text/x-diff, Size: 3186 bytes --]
From e6db927a9448e34030334e71ddf34203d93eb352 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
Date: Wed, 19 Aug 2020 21:58:52 +0200
Subject: [PATCH 1/2] update barrier to 2.3.3
Upstream moved to a git submodule for gtest and gmock. I took https://github.com/void-linux/void-packages/blob/master/srcpkgs/wabt/template as an example how to download and move gtest to the proper location.
This works for me locally. Let me know if anything needs changing.
---
srcpkgs/barrier/template | 29 +++++++++++++++++++++++++----
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/barrier/template b/srcpkgs/barrier/template
index cf448673315..56f071fe29b 100644
--- a/srcpkgs/barrier/template
+++ b/srcpkgs/barrier/template
@@ -1,7 +1,7 @@
# Template file for 'barrier'
pkgname=barrier
-version=2.3.2
-revision=2
+version=2.3.3
+revision=1
build_style=cmake
configure_args="-DBARRIER_REVISION=00000000 -DBARRIER_VERSION_STAGE=RELEASE"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
@@ -11,8 +11,29 @@ short_desc="Open-source KVM software based on Synergy"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only"
homepage="https://github.com/debauchee/barrier"
-distfiles="https://github.com/debauchee/barrier/archive/v${version}.tar.gz"
-checksum=6b92a70c5f4d625065842d133386982ec2ad1db2a809af47e46ab8ce2acd39b5
+_gmock_commit=7d33fee11ec480beae4c28ad09ca56d974140a72
+_gtest_commit=800f5422ac9d9e0ad59cd860a2ef3a679588acb4
+distfiles="https://github.com/debauchee/barrier/archive/
+v${version}.tar.gz
+ https://github.com/google/googlemock/archive/${_gmock_c
+ommit}.tar.gz
+ https://github.com/google/googletest/archive/${_gtest_c
+ommit}.tar.gz"
+checksum="259e75c150ca16d9db51870b026dc7aad56c410fa3d2f5
+fdccc19d4b6024bdc5
+ f4191fd64e8a961c06b7cc90a2bbf3774bd315254884675a900f8f3
+4fc2c4c81
+ 57bc26ac31e1bc47a12e4ae99a0f6e17506ba10f0f82ae16aa52cc7
+cc215a3b0"
+
+pre_configure() {
+ # move submodule to proper location
+ rmdir ext/gmock
+ rmdir ext/gtest
+
+ mv -v ../googlemock-${_gmock_commit} ext/gmock
+ mv -v ../googletest-${_gtest_commit} ext/gtest
+}
do_install() {
vbin build/bin/barrier
From 72afc8e425c85613f4d65661046c41c22fae46db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= <jfd@butonic.de>
Date: Wed, 19 Aug 2020 22:16:52 +0200
Subject: [PATCH 2/2] remove whitespace to satisfy xlint
---
srcpkgs/barrier/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/barrier/template b/srcpkgs/barrier/template
index 56f071fe29b..61adc63fc3f 100644
--- a/srcpkgs/barrier/template
+++ b/srcpkgs/barrier/template
@@ -27,12 +27,12 @@ fdccc19d4b6024bdc5
cc215a3b0"
pre_configure() {
- # move submodule to proper location
- rmdir ext/gmock
- rmdir ext/gtest
+ # move submodule to proper location
+ rmdir ext/gmock
+ rmdir ext/gtest
- mv -v ../googlemock-${_gmock_commit} ext/gmock
- mv -v ../googletest-${_gtest_commit} ext/gtest
+ mv -v ../googlemock-${_gmock_commit} ext/gmock
+ mv -v ../googletest-${_gtest_commit} ext/gtest
}
do_install() {
next prev parent reply other threads:[~2020-08-19 20:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 19:59 [PR PATCH] " butonic
2020-08-19 20:03 ` butonic
2020-08-19 20:16 ` [PR PATCH] [Updated] " butonic
2020-08-19 20:26 ` [PR REVIEW] " Johnnynator
2020-08-19 20:26 ` Johnnynator
2020-08-19 20:26 ` Johnnynator
2020-08-19 20:27 ` butonic [this message]
2020-08-19 20:31 ` [PR REVIEW] " butonic
2020-08-19 20:35 ` [PR PATCH] [Updated] " butonic
2020-08-20 18:32 ` Johnnynator
2020-08-20 18:32 ` [PR PATCH] [Merged]: " Johnnynator
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=20200819202750.nsRBaxe6vFhcbwZqRGIRZ2qRDXLPJ0BTHbJN4IjGnoU@z \
--to=butonic@users.noreply.github.com \
--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).