* [PR PATCH] lensfun: update to 0.3.4.
@ 2023-11-12 4:15 classabbyamp
2023-11-13 0:49 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2023-11-12 4:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages lensfun
https://github.com/void-linux/void-packages/pull/47170
lensfun: update to 0.3.4.
also fixes python module installation
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
A patch file from https://github.com/void-linux/void-packages/pull/47170.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lensfun-47170.patch --]
[-- Type: text/x-diff, Size: 2275 bytes --]
From eae984a54eac0af7c651eb485da988dd42d069f4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 11 Nov 2023 23:15:09 -0500
Subject: [PATCH] lensfun: update to 0.3.4.
also fixes python module installation
---
srcpkgs/lensfun/patches/setuptools-root.patch | 9 +++++++++
srcpkgs/lensfun/template | 8 ++++----
2 files changed, 13 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/lensfun/patches/setuptools-root.patch
diff --git a/srcpkgs/lensfun/patches/setuptools-root.patch b/srcpkgs/lensfun/patches/setuptools-root.patch
new file mode 100644
index 0000000000000..f490619702b2f
--- /dev/null
+++ b/srcpkgs/lensfun/patches/setuptools-root.patch
@@ -0,0 +1,9 @@
+--- a/apps/CMakeLists.txt
++++ b/apps/CMakeLists.txt
+@@ -42,5 +42,5 @@
+ IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
+ SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+ ENDIF()
+- INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
++ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --root=\$ENV{DESTDIR} --prefix=${SETUP_PY_INSTALL_PREFIX})")
+ ENDIF(PYTHON)
diff --git a/srcpkgs/lensfun/template b/srcpkgs/lensfun/template
index 7336c311916be..fb81b5909694b 100644
--- a/srcpkgs/lensfun/template
+++ b/srcpkgs/lensfun/template
@@ -1,10 +1,10 @@
# Template file for 'lensfun'
pkgname=lensfun
-version=0.3.3
-revision=3
+version=0.3.4
+revision=1
build_style=cmake
configure_args="-DINSTALL_HELPER_SCRIPTS=0"
-hostmakedepends="pkg-config python3 python3-setuptools"
+hostmakedepends="pkg-config python3-setuptools"
makedepends="libglib-devel"
short_desc="Library for rectifying and simulating photographic lens distortions"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -12,7 +12,7 @@ license="LGPL-3.0-only, CC-BY-SA-3.0"
homepage="https://lensfun.github.io"
changelog="https://raw.githubusercontent.com/lensfun/lensfun/master/ChangeLog"
distfiles="https://github.com/lensfun/lensfun/archive/refs/tags/v${version}.tar.gz"
-checksum=57ba5a0377f24948972339e18be946af12eda22b7c707eb0ddd26586370f6765
+checksum=dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*);;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-13 0:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 4:15 [PR PATCH] lensfun: update to 0.3.4 classabbyamp
2023-11-13 0:49 ` [PR PATCH] [Merged]: " classabbyamp
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).