Github messages for voidlinux
 help / color / mirror / Atom feed
From: KouAkitaki <KouAkitaki@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] renderdoc: update to 1.7
Date: Wed, 13 May 2020 07:38:59 +0200	[thread overview]
Message-ID: <20200513053859.JkagpgNRx-hMq9J-SOQxPL0Q-9tSz9y6Gbz8cz-wNB4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21903@inbox.vuxu.org>

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

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

https://github.com/KouAkitaki/void-packages update-renderdoc-1.7
https://github.com/void-linux/void-packages/pull/21903

renderdoc: update to 1.7


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-renderdoc-1.7-21903.patch --]
[-- Type: text/x-diff, Size: 5968 bytes --]

From 5c1284d5a824eff51a578c09571a7627e15dd356 Mon Sep 17 00:00:00 2001
From: Akitaki <robinhuang123@gmail.com>
Date: Wed, 13 May 2020 11:25:01 +0800
Subject: [PATCH] renderdoc: update to 1.7

---
 srcpkgs/renderdoc/files/swig-py38.patch    | 28 ---------------
 srcpkgs/renderdoc/patches/cmake-py38.patch | 41 +++++-----------------
 srcpkgs/renderdoc/template                 | 13 ++++---
 3 files changed, 15 insertions(+), 67 deletions(-)
 delete mode 100644 srcpkgs/renderdoc/files/swig-py38.patch

diff --git a/srcpkgs/renderdoc/files/swig-py38.patch b/srcpkgs/renderdoc/files/swig-py38.patch
deleted file mode 100644
index 0595599c658..00000000000
--- a/srcpkgs/renderdoc/files/swig-py38.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From dbe955dd0300d55a32fd73a4eef730b3e30ed5c4 Mon Sep 17 00:00:00 2001
-From: Christian Kellner <christian@kellner.me>
-Date: Thu, 11 Jul 2019 20:32:03 +0200
-Subject: [PATCH] swig: avoid use of _PyObject_GC_UNTRACK
-
-It is deprecated[1]. Use PyObject_GC_UnTrack instead.
-
-[1] https://docs.python.org/3/c-api/gcsupport.html#c._PyObject_GC_UNTRACK
----
- Lib/python/builtin.swg | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Lib/python/builtin.swg b/Lib/python/builtin.swg
-index 9597653b7..6af45a9d1 100644
---- a/Lib/python/builtin.swg
-+++ b/Lib/python/builtin.swg
-@@ -120,7 +120,7 @@ SwigPyBuiltin_FunpackSetterClosure (PyObject *obj, PyObject *val, void *closure)
- 
- SWIGINTERN void
- SwigPyStaticVar_dealloc(PyDescrObject *descr) {
--  _PyObject_GC_UNTRACK(descr);
-+  PyObject_GC_UnTrack(descr);
-   Py_XDECREF(PyDescr_TYPE(descr));
-   Py_XDECREF(PyDescr_NAME(descr));
-   PyObject_GC_Del(descr);
--- 
-2.21.0
-
diff --git a/srcpkgs/renderdoc/patches/cmake-py38.patch b/srcpkgs/renderdoc/patches/cmake-py38.patch
index fc1adb9ddbc..94b8c9bcd60 100644
--- a/srcpkgs/renderdoc/patches/cmake-py38.patch
+++ b/srcpkgs/renderdoc/patches/cmake-py38.patch
@@ -1,20 +1,17 @@
-From 56769d3e2cc12670b73a1ddd9dfaab959340c2e2 Mon Sep 17 00:00:00 2001
-From: Christian Kellner <christian@kellner.me>
-Date: Thu, 11 Jul 2019 21:27:02 +0200
-Subject: [PATCH] CMake: py3.8 support, ability to patch swig
+From f1813feda880cc6a3bf435cc206d96a719aa4e02 Mon Sep 17 00:00:00 2001
+From: Akitaki <robinhuang123@gmail.com>
+Date: Wed, 13 May 2020 10:24:16 +0800
+Subject: [PATCH] Add py3.8 to CMakeLists.txt
 
-Add 3.8 to list of python versions and ability to patch the custom
-swig, also needed for 3.8
 ---
- CMakeLists.txt            | 2 +-
- qrenderdoc/CMakeLists.txt | 2 ++
- 2 files changed, 3 insertions(+), 1 deletion(-)
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13818e5b8..00feda2ad 100644
+index 7a167a2ad..e49512735 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -308,7 +308,7 @@ add_subdirectory(renderdoc)
+@@ -390,7 +390,7 @@ add_subdirectory(renderdoc)
  # are handled in common
  if(ENABLE_QRENDERDOC OR ENABLE_PYRENDERDOC)
      # Make sure Python 3 is found
@@ -23,26 +20,6 @@ index 13818e5b8..00feda2ad 100644
      find_package(PythonInterp 3 REQUIRED)
      find_package(PythonLibs 3 REQUIRED)
      # we also need python3-config for swig
-diff --git a/qrenderdoc/CMakeLists.txt b/qrenderdoc/CMakeLists.txt
-index 9fd65b2d3..1ef284349 100644
---- a/qrenderdoc/CMakeLists.txt
-+++ b/qrenderdoc/CMakeLists.txt
-@@ -7,6 +7,7 @@ endif()
- 
- set(QMAKE_QT5_COMMAND ${QT_QMAKE_EXECUTABLE} CACHE STRING "Command to run to invoke Qt5's qmake. Normally this is qmake, possibly with qtchooser, but might be qmake-qt5")
- set(RENDERDOC_SWIG_PACKAGE https://github.com/baldurk/swig/archive/renderdoc-modified-6.zip CACHE STRING "The location where RenderDoc's swig fork source can be found. By default points to the URL on github but can be pointed to a local file.")
-+set(RENDERDOC_SWIG_PATCH "" CACHE STRING "The location for the patch to apply to swig.")
- 
- set(QMAKE_CONFIG "debug")
- set(QMAKE_LDFLAGS "")
-@@ -99,6 +100,7 @@ ExternalProject_Add(custom_swig
-     # using an URL to a zip directly so we don't clone the history etc
-     URL ${RENDERDOC_SWIG_PACKAGE}
-     BUILD_IN_SOURCE 1
-+    PATCH_COMMAND patch -p1 -i ${RENDERDOC_SWIG_PATCH} > /dev/null
-     CONFIGURE_COMMAND ./autogen.sh > /dev/null 2>&1
-     COMMAND CC=${SWIG_CONFIGURE_CC} CXX=${SWIG_CONFIGURE_CXX} CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --with-pcre=yes --prefix=${CMAKE_BINARY_DIR} > /dev/null
-     BUILD_COMMAND ${GENERATOR_MAKE} > /dev/null 2>&1
 -- 
-2.21.0
+2.26.2
 
diff --git a/srcpkgs/renderdoc/template b/srcpkgs/renderdoc/template
index fecbc258ea6..0bcb230aa54 100644
--- a/srcpkgs/renderdoc/template
+++ b/srcpkgs/renderdoc/template
@@ -1,22 +1,21 @@
 # Template file for 'renderdoc'
 pkgname=renderdoc
-version=1.4
-revision=2
+version=1.7
+revision=1
 build_style=cmake
 configure_args="-DENABLE_GL=ON -DENABLE_GLES=ON -DENABLE_QRENDERDOC=ON
  -DENABLE_RENDERDOCCMD=ON -DENABLE_VULKAN=ON -DENABLE_XCB=ON -DENABLE_XLIB=ON
- -DENABLE_PYRENDERDOC=ON
- -DRENDERDOC_SWIG_PATCH=${XBPS_SRCPKGDIR}/${pkgname}/files/swig-py38.patch"
-patch_args="-p1"
+ -DENABLE_PYRENDERDOC=ON -DQMAKE_QT5_COMMAND=qmake-qt5"
 hostmakedepends="bison autoconf automake pkg-config python3"
 makedepends="libX11-devel libxcb-devel xcb-util-keysyms-devel qt5-devel
- qt5-svg-devel qt5-x11extras-devel pcre-devel python3-devel"
+ qt5-svg-devel qt5-x11extras-devel pcre-devel python3-devel qt5-qmake"
 short_desc="Stand-alone graphics debugging tool for Vulkan and OpenGL"
 maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="MIT"
 homepage="https://github.com/baldurk/renderdoc"
 distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz"
-checksum=9a78951f386fb7c3ecf7df6919d300db59719d14f0621438963ae30a75d33677
+checksum=b13e1a733e87eb169f6e9760244fb66be36341c44ac8748f681d2eb10cd9d3c5
+patch_args="-p1"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) broken="This package uses execinfo.h which is not available on musl" ;;

  parent reply	other threads:[~2020-05-13  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13  3:29 [PR PATCH] " KouAkitaki
2020-05-13  3:53 ` [PR PATCH] [Updated] " KouAkitaki
2020-05-13  5:38 ` KouAkitaki [this message]
2020-09-29  2:04 ` ericonr
2021-02-10 17:21 ` ericonr
2021-02-10 17:21 ` [PR PATCH] [Closed]: " ericonr

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=20200513053859.JkagpgNRx-hMq9J-SOQxPL0Q-9tSz9y6Gbz8cz-wNB4@z \
    --to=kouakitaki@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).