pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pharo-vm: Update to 9.0.21



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Thu Dec 29 17:21:36 2022 +0900
Changeset:	27bc8f768855c42f582a37659f60ac3e38913bc3

Modified Files:
	pharo-vm/Makefile
	pharo-vm/distinfo
	pharo-vm/patches/patch-CMakeLists.txt
Added Files:
	pharo-vm/patches/patch-cmake_importCairo.cmake

Log Message:
pharo-vm: Update to 9.0.21

v9.0.21

  * Implementing High resolution clock for ARM64 (Used during profiling)
  * Updating third party libraries for all the graphic layer

v9.0.20

  * Fixing a performance regression on the allocation of opcodes and
    fix-ups. Cleaning only the ones that are going to be used. Like
    this, this version has the same speed than before when allocating
    in the stack.

v9.0.19

  * Correctly handling the encoding of the command line arguments of
    the VM (Windows)
  * Allocating the opcodes and fixup structs only once and reusing
    them (Reducing risk of C Stack Overflow)

v9.0.18

  * Update library downloads in Windows to
      * libgit2 => 1.4.4

v9.0.17

  * Supporting old images in OSX ARM64 with Libgit older than v1.4.4

v9.0.16

  * Fixes in users of declarationAt:
  * Updating Readme
  * Improving the generation of plugins
  * Upgrade library dependencies
  * Update library downloads to
      * libgit2 => 1.4.4
      * libssh2 => 1.9.0
      * openssl => 1.1.1k
  * Update build instructions to build libgit v1.4.4

v9.0.15

  * Fixing FFI Variadic functions in OSX ARM64
  * Fixing store of Int64 in FFI OSX ARM64 when using LongLong
  * Fixing Error code in Primitive when more than one temporary is
    used.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=27bc8f768855c42f582a37659f60ac3e38913bc3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pharo-vm/Makefile                              |  4 ++--
 pharo-vm/distinfo                              |  9 +++++----
 pharo-vm/patches/patch-CMakeLists.txt          | 17 ++++++++++++++---
 pharo-vm/patches/patch-cmake_importCairo.cmake | 15 +++++++++++++++
 4 files changed, 36 insertions(+), 9 deletions(-)

diffs:
diff --git a/pharo-vm/Makefile b/pharo-vm/Makefile
index e27fb810fa..7163039c40 100644
--- a/pharo-vm/Makefile
+++ b/pharo-vm/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
-PHAROVM_VER=	9.0.14
-PHAROVM_HASH=	93600e1
+PHAROVM_VER=	9.0.21
+PHAROVM_HASH=	191b5a0
 
 DISTNAME=	PharoVM-${PHAROVM_VER}-${PHAROVM_HASH}-Linux-x86_64-c-src
 PKGNAME=	pharo-vm-${PHAROVM_VER}
diff --git a/pharo-vm/distinfo b/pharo-vm/distinfo
index fa366bed98..2ac6897275 100644
--- a/pharo-vm/distinfo
+++ b/pharo-vm/distinfo
@@ -1,9 +1,10 @@
 $NetBSD$
 
-BLAKE2s (PharoVM-9.0.14-93600e1-Linux-x86_64-c-src.zip) = a35329d2927364053e869c5ec8748d08894137d9404709b24fd85c0e924677e9
-SHA512 (PharoVM-9.0.14-93600e1-Linux-x86_64-c-src.zip) = 981a06505fe840006b4aadb3ca53a5b8448fcaf8ca842006a921cec270b7f1ef32650828abda382522235d31ab733bb7b41b9f8c892ed40b47943b847b48ed6f
-Size (PharoVM-9.0.14-93600e1-Linux-x86_64-c-src.zip) = 4687308 bytes
-SHA1 (patch-CMakeLists.txt) = 8e864b7f32c3ce775446f1c37ec206aac585b971
+BLAKE2s (PharoVM-9.0.21-191b5a0-Linux-x86_64-c-src.zip) = f1d9ddafef44daa3f6f85c32c43af10479dc642eaf1e178d82baf435e140d6ce
+SHA512 (PharoVM-9.0.21-191b5a0-Linux-x86_64-c-src.zip) = 0f5d3eae2c05d8c7e37589863719e349f1209f3330eeb072b000df83456b9609490a20fae28ec2ce4bc53477f0f12f17b30aa06b5aa4d5f2e203b7ad9cf4f01d
+Size (PharoVM-9.0.21-191b5a0-Linux-x86_64-c-src.zip) = 4687739 bytes
+SHA1 (patch-CMakeLists.txt) = 035bcfaabc1a077bbb07d425f86197f92e569aa6
+SHA1 (patch-cmake_importCairo.cmake) = 23fb3d7be9fb65eaf2ee871a2c701bff3f229c50
 SHA1 (patch-generated_64_vm_src_gcc3x-cointerp.c) = 29920ef6e43f21e762a615c3ab4379eca822c5c7
 SHA1 (patch-include_pharovm_debug.h) = a305dc8b2915bd457df3b76053a5072c1c2f8228
 SHA1 (patch-packaging_linux_bin_launch.sh.in) = 116b5151e0bd58558a1af3691d1f546437d94eae
diff --git a/pharo-vm/patches/patch-CMakeLists.txt b/pharo-vm/patches/patch-CMakeLists.txt
index 51d107339f..9a6762ed6e 100644
--- a/pharo-vm/patches/patch-CMakeLists.txt
+++ b/pharo-vm/patches/patch-CMakeLists.txt
@@ -1,11 +1,22 @@
 $NetBSD$
 
+- define NETBSD
 - backtrace(3) requires libexecinfo
 - use uuidgen(2)
 
---- CMakeLists.txt.orig	2021-08-13 21:08:14.000000000 +0000
+--- CMakeLists.txt.orig	2022-12-07 19:31:10.000000000 +0000
 +++ CMakeLists.txt
-@@ -367,13 +367,14 @@ check_include_files(dlfcn.h HAVE_DLFCN_H
+@@ -278,6 +278,9 @@ elseif(UNIX)
+     elseif(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+         set(OPENBSD 1)
+         set(VM_TARGET_OS "openbsd")
++    elseif(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
++        set(NETBSD 1)
++        set(VM_TARGET_OS "netbsd")
+     else()
+         set(VM_TARGET_OS "${CMAKE_SYSTEM_NAME}")
+     endif()
+@@ -376,13 +379,14 @@ check_include_files(dlfcn.h HAVE_DLFCN_H
  check_library_exists(dl dlopen "" HAVE_LIBDL)
  check_library_exists(dyld dlopen "" HAVE_DYLD)
  check_struct_has_member("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
@@ -21,7 +32,7 @@ $NetBSD$
  check_library_exists(uuid uuid_generate "" HAVE_UUID_GENERATE)
  
  
-@@ -451,6 +452,10 @@ set(VM_SOURCES
+@@ -460,6 +464,10 @@ set(VM_SOURCES
  add_executable(${VM_EXECUTABLE_NAME} ${VM_FRONTEND_APPLICATION_TYPE} ${VM_FRONTEND_SOURCES})
  addLibraryWithRPATH(${VM_LIBRARY_NAME} ${VM_SOURCES})
  
diff --git a/pharo-vm/patches/patch-cmake_importCairo.cmake b/pharo-vm/patches/patch-cmake_importCairo.cmake
new file mode 100644
index 0000000000..55e73a3dca
--- /dev/null
+++ b/pharo-vm/patches/patch-cmake_importCairo.cmake
@@ -0,0 +1,15 @@
+$NetBSD$
+
+use system library
+
+--- cmake/importCairo.cmake.orig	2022-12-25 04:16:41.697240255 +0000
++++ cmake/importCairo.cmake
+@@ -22,6 +22,8 @@ if (BUILD_BUNDLE)
+       add_third_party_dependency("cairo-1.17.4")
+       add_third_party_dependency("libpng-1.6.37")
+     endif()
++  elseif(NETBSD)
++    # use system library
+   else() #Linux
+     If(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l" OR (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
+       add_third_party_dependency("pixman-0.40.0")


Home | Main Index | Thread Index | Old Index