Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Cmake temp2
@ 2020-11-20  1:40 ndowens
  2020-11-20  1:40 ` [PR PATCH] [Closed]: " ndowens
  0 siblings, 1 reply; 2+ messages in thread
From: ndowens @ 2020-11-20  1:40 UTC (permalink / raw)
  To: ml

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

There is a new pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages cmake-temp2
https://github.com/void-linux/void-packages/pull/26519

Cmake temp2


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cmake-temp2-26519.patch --]
[-- Type: text/x-diff, Size: 2453 bytes --]

From e3eb6e4bf8bed312aa14a0789140548b83f54c52 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 19 Nov 2020 19:18:01 -0600
Subject: [PATCH 1/2] cmake-gui: update to 3.19.0

---
 srcpkgs/cmake-gui/template | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cmake-gui/template b/srcpkgs/cmake-gui/template
index 0dff4e8c853..3f468f63e1d 100644
--- a/srcpkgs/cmake-gui/template
+++ b/srcpkgs/cmake-gui/template
@@ -1,6 +1,6 @@
 # Template file for 'cmake-gui'
 pkgname=cmake-gui
-version=3.18.4
+version=3.19.0
 revision=1
 wrksrc="cmake-${version}"
 build_style=cmake
@@ -17,11 +17,19 @@ makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
 depends="desktop-file-utils shared-mime-info"
 checkdepends="pax pkg-config"
 short_desc="Cross-platform, open-source build system - Qt GUI"
-maintainer="Nathan Owens <ndowens04@gmail.com>"
+maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="LGPL-2.1-or-later, GPL-3.0-or-later, BSD-3-Clause"
 homepage="https://www.cmake.org"
 distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
-checksum=597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77
+checksum=fdda688155aa7e72b7c63ef6f559fca4b6c07382ea6dca0beb5f45aececaf493
+
+pre_configure() {
+	# TRY_RUN fails if being cross-built
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i 's,TRY_RUN,CMake_RUN_CXX_FILESYSTEM__TRYRUN_OUTPUT,g' \
+			CMakeLists.txt
+	fi
+}
 
 do_install() {
 	# We are only interested in cmake-gui.

From 197406fdce750da4031e814558a19a88709d140b Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 19 Nov 2020 19:02:23 -0600
Subject: [PATCH 2/2] cmake: update to 3.19.0

---
 srcpkgs/cmake/template | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/srcpkgs/cmake/template b/srcpkgs/cmake/template
index 0955f2595fa..38dbcad45ad 100644
--- a/srcpkgs/cmake/template
+++ b/srcpkgs/cmake/template
@@ -22,6 +22,13 @@ homepage="https://www.cmake.org"
 distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
 checksum=597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77
 
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i 's,TRY_RUN,CMake_RUN_CXX_FILESYSTEM__TRYRUN_OUTPUT,g' \
+			CMakeLists.txt
+	fi
+}
+
 pre_check() {
 	# use ctest of this build instead of requirig cmake to test cmake...
 	vsed -i "${wrksrc}/build/Makefile" \

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: Cmake temp2
  2020-11-20  1:40 [PR PATCH] Cmake temp2 ndowens
@ 2020-11-20  1:40 ` ndowens
  0 siblings, 0 replies; 2+ messages in thread
From: ndowens @ 2020-11-20  1:40 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

Cmake temp2
https://github.com/void-linux/void-packages/pull/26519

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-20  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20  1:40 [PR PATCH] Cmake temp2 ndowens
2020-11-20  1:40 ` [PR PATCH] [Closed]: " ndowens

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).