pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators
Module Name: pkgsrc
Committed By: adam
Date: Mon Nov 4 19:05:18 UTC 2024
Modified Files:
pkgsrc/emulators/py-unicorn: Makefile PLIST
pkgsrc/emulators/unicorn: Makefile.common distinfo
Added Files:
pkgsrc/emulators/unicorn/patches: patch-cmake_bundle__static.cmake
Removed Files:
pkgsrc/emulators/unicorn/patches:
patch-bindings_python_unicorn_unicorn.py patch-bundle__static.cmake
Log Message:
unicorn py-unicorn: updated to 2.1.1
Version v2.1.1
This is a small release to fix a few urgent issues.
Remove pkg_resources usage
Fix wheels distribution for x86_64 macos
Fix redundant wheel hacks
Support musllinux distribution
Version v2.1.0
It has been a while since the last release, and 2.1.0 brings several exciting features. Below is the changelog from the latest to the oldest (though not strictly).
Highlights
Revive QEMU logs, now we have -DUNICORN_LOGGING=yes to enable all qemu logs. @BitMaskMixer
Faster (up to 40x) write performance by not always doing store_helper and cleaning page locks. @tunz @boborjan2
Brand new python bindings, with strongly typed and many improvements. @elicn
Fix to a long-standing MinGW random segfault bug.
We bring python2 compatibility back.
We now fully support M1, both building and a pre-built wheel.
We support snapshot memory now, with a very low overhead copy-on-write fashion. @PhilippTakacs
An option to bypass MMU is also added, check our FAQ. @PhilippTakacs
A brand new (and modern) java bindings. We are also working to publish it to maven. @nneonneo
We have zig integrated. @kassane @atipls
Now Unicorn no longer allocates 2GB memory for every instance. The memory will be only committed once used and the upper limit can be adjusted with uc_ctl.
New DotNet binding, with published to both Github and Nuget. @TSRBerry
The release will attach all binaries, thanks to @marameref
Fixes & Improvements
RISCV improvements, but we still have a long way to go. @apparentlymart @ks0777
cmake improvements @scribam @es3n1n
Various python bindings fix and improvements @bet4it @rhelmot
Docs. @gerph @BitMaskMixer
Rust bindings. @lockbox @mlgiraud @deadash
TCG backend fixes. @redoste @StalkR @dglynos
PPC32 fixes. @dotCirill
Haiku fixes. @kallisti5
Improvements to avoid simulator detection.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/py-unicorn/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/emulators/py-unicorn/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/emulators/unicorn/Makefile.common
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/unicorn/distinfo
cvs rdiff -u -r1.2 -r0 \
pkgsrc/emulators/unicorn/patches/patch-bindings_python_unicorn_unicorn.py
cvs rdiff -u -r1.1 -r0 \
pkgsrc/emulators/unicorn/patches/patch-bundle__static.cmake
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/unicorn/patches/patch-cmake_bundle__static.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/py-unicorn/Makefile
diff -u pkgsrc/emulators/py-unicorn/Makefile:1.6 pkgsrc/emulators/py-unicorn/Makefile:1.7
--- pkgsrc/emulators/py-unicorn/Makefile:1.6 Tue May 16 18:51:11 2023
+++ pkgsrc/emulators/py-unicorn/Makefile Mon Nov 4 19:05:18 2024
@@ -1,6 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/05/16 18:51:11 wiz Exp $
-
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+# $NetBSD: Makefile,v 1.7 2024/11/04 19:05:18 adam Exp $
.include "../../emulators/unicorn/Makefile.common"
@@ -11,10 +9,13 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Python bindings for unicorn
LICENSE= gnu-gpl-v2
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
USE_LANGUAGES= # none
PYSETUPSUBDIR= bindings/python
MAKE_ENV+= LIBUNICORN_PATH=${BUILDLINK_PREFIX.unicorn}/lib
.include "../../emulators/unicorn/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/py-unicorn/PLIST
diff -u pkgsrc/emulators/py-unicorn/PLIST:1.4 pkgsrc/emulators/py-unicorn/PLIST:1.5
--- pkgsrc/emulators/py-unicorn/PLIST:1.4 Thu May 11 06:47:11 2023
+++ pkgsrc/emulators/py-unicorn/PLIST Mon Nov 4 19:05:18 2024
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2023/05/11 06:47:11 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2024/11/04 19:05:18 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/unicorn/__init__.py
${PYSITELIB}/unicorn/__init__.pyc
${PYSITELIB}/unicorn/__init__.pyo
@@ -22,6 +21,7 @@ ${PYSITELIB}/unicorn/mips_const.pyo
${PYSITELIB}/unicorn/ppc_const.py
${PYSITELIB}/unicorn/ppc_const.pyc
${PYSITELIB}/unicorn/ppc_const.pyo
+${PYSITELIB}/unicorn/py.typed
${PYSITELIB}/unicorn/riscv_const.py
${PYSITELIB}/unicorn/riscv_const.pyc
${PYSITELIB}/unicorn/riscv_const.pyo
@@ -40,6 +40,30 @@ ${PYSITELIB}/unicorn/unicorn.pyo
${PYSITELIB}/unicorn/unicorn_const.py
${PYSITELIB}/unicorn/unicorn_const.pyc
${PYSITELIB}/unicorn/unicorn_const.pyo
+${PYSITELIB}/unicorn/unicorn_py2.py
+${PYSITELIB}/unicorn/unicorn_py2.pyc
+${PYSITELIB}/unicorn/unicorn_py2.pyo
+${PYSITELIB}/unicorn/unicorn_py3/__init__.py
+${PYSITELIB}/unicorn/unicorn_py3/__init__.pyc
+${PYSITELIB}/unicorn/unicorn_py3/__init__.pyo
+${PYSITELIB}/unicorn/unicorn_py3/arch/__init__.py
+${PYSITELIB}/unicorn/unicorn_py3/arch/__init__.pyc
+${PYSITELIB}/unicorn/unicorn_py3/arch/__init__.pyo
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm.py
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm.pyc
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm.pyo
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm64.py
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm64.pyc
+${PYSITELIB}/unicorn/unicorn_py3/arch/arm64.pyo
+${PYSITELIB}/unicorn/unicorn_py3/arch/intel.py
+${PYSITELIB}/unicorn/unicorn_py3/arch/intel.pyc
+${PYSITELIB}/unicorn/unicorn_py3/arch/intel.pyo
+${PYSITELIB}/unicorn/unicorn_py3/arch/types.py
+${PYSITELIB}/unicorn/unicorn_py3/arch/types.pyc
+${PYSITELIB}/unicorn/unicorn_py3/arch/types.pyo
+${PYSITELIB}/unicorn/unicorn_py3/unicorn.py
+${PYSITELIB}/unicorn/unicorn_py3/unicorn.pyc
+${PYSITELIB}/unicorn/unicorn_py3/unicorn.pyo
${PYSITELIB}/unicorn/x86_const.py
${PYSITELIB}/unicorn/x86_const.pyc
${PYSITELIB}/unicorn/x86_const.pyo
Index: pkgsrc/emulators/unicorn/Makefile.common
diff -u pkgsrc/emulators/unicorn/Makefile.common:1.8 pkgsrc/emulators/unicorn/Makefile.common:1.9
--- pkgsrc/emulators/unicorn/Makefile.common:1.8 Thu May 11 06:47:11 2023
+++ pkgsrc/emulators/unicorn/Makefile.common Mon Nov 4 19:05:18 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.8 2023/05/11 06:47:11 adam Exp $
+# $NetBSD: Makefile.common,v 1.9 2024/11/04 19:05:18 adam Exp $
#
# used by emulators/unicorn/Makefile
# used by emulators/py-unicorn/Makefile
-DISTNAME= unicorn-2.0.1.post1
+DISTNAME= unicorn-2.1.1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=unicorn-engine/}
GITHUB_PROJECT= unicorn
Index: pkgsrc/emulators/unicorn/distinfo
diff -u pkgsrc/emulators/unicorn/distinfo:1.12 pkgsrc/emulators/unicorn/distinfo:1.13
--- pkgsrc/emulators/unicorn/distinfo:1.12 Thu May 11 06:47:11 2023
+++ pkgsrc/emulators/unicorn/distinfo Mon Nov 4 19:05:18 2024
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.12 2023/05/11 06:47:11 adam Exp $
+$NetBSD: distinfo,v 1.13 2024/11/04 19:05:18 adam Exp $
-BLAKE2s (unicorn-2.0.1.post1.tar.gz) = d2a3e24b963448e11d1b46d7fa3edbd6d1dbef1d2f996b6c66aee2e6f7297c4b
-SHA512 (unicorn-2.0.1.post1.tar.gz) = 8694d6bc92e3424a8ad050316413d53e56e0f55e7cad7517fb3e98e670a0f1768b060ead8f195da13607cec89a964364f05a8b9d0dc074f4ac5e51026f8343ad
-Size (unicorn-2.0.1.post1.tar.gz) = 4071380 bytes
-SHA1 (patch-bindings_python_unicorn_unicorn.py) = d7653d205bc999b8c53941c161771b8f72fcfa6e
-SHA1 (patch-bundle__static.cmake) = f6ebe735b2b7e8ef151f15b95a7ee0bb9b9d9ef6
+BLAKE2s (unicorn-2.1.1.tar.gz) = cedf040dec89974a357834695cf52343dfbf8d255e4633872fc75c24cd2d82bc
+SHA512 (unicorn-2.1.1.tar.gz) = d6184b87a0fb729397ec2ac2cb8bfd9d10c9d4276e49efa681c66c7c54d1a325305a920332a708e68989cc299d0d1a543a1ceeaf552a9b44ec93084f7bf85ef2
+Size (unicorn-2.1.1.tar.gz) = 4176172 bytes
+SHA1 (patch-cmake_bundle__static.cmake) = 3e4dd28c8c2b7b49714457b9566c57fa1b92e936
Added files:
Index: pkgsrc/emulators/unicorn/patches/patch-cmake_bundle__static.cmake
diff -u /dev/null pkgsrc/emulators/unicorn/patches/patch-cmake_bundle__static.cmake:1.1
--- /dev/null Mon Nov 4 19:05:18 2024
+++ pkgsrc/emulators/unicorn/patches/patch-cmake_bundle__static.cmake Mon Nov 4 19:05:18 2024
@@ -0,0 +1,29 @@
+$NetBSD: patch-cmake_bundle__static.cmake,v 1.1 2024/11/04 19:05:18 adam Exp $
+
+Use proper libtool on Darwin.
+
+--- cmake/bundle_static.cmake.orig 2023-05-10 19:31:11.000000000 +0000
++++ cmake/bundle_static.cmake
+@@ -44,14 +44,12 @@ function(bundle_static_library tgt_name
+ ${CMAKE_BINARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${library_name}${CMAKE_STATIC_LIBRARY_SUFFIX})
+
+ if (APPLE)
+- find_program(lib_tool libtool REQUIRED)
+-
+ foreach(tgt IN LISTS static_libs)
+ list(APPEND static_libs_full_names $<TARGET_FILE:${tgt}>)
+ endforeach()
+
+ add_custom_command(
+- COMMAND ${lib_tool} -static -o ${bundled_tgt_full_name} ${static_libs_full_names}
++ COMMAND /usr/bin/libtool -static -o ${bundled_tgt_full_name} ${static_libs_full_names}
+ OUTPUT ${bundled_tgt_full_name}
+ COMMENT "Bundling ${bundled_tgt_name}"
+ VERBATIM)
+@@ -112,4 +110,4 @@ function(bundle_static_library tgt_name
+ #IMPORTED_LINK_INTERFACE_LIBRARIES "${dep_libs}") # Deprecated
+ add_dependencies(${bundled_tgt_name} bundling_target)
+
+-endfunction()
+\ No newline at end of file
++endfunction()
Home |
Main Index |
Thread Index |
Old Index