pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/palemoon



Module Name:    pkgsrc
Committed By:   martin
Date:           Mon Sep 23 11:12:10 UTC 2024

Modified Files:
        pkgsrc/www/palemoon: distinfo
        pkgsrc/www/palemoon/patches:
            patch-platform_js_src_jit_AtomicOperations.h
            patch-platform_media_libjpeg_moz.build
            patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
Added Files:
        pkgsrc/www/palemoon/patches:
            patch-platform_media_libjpeg_simd_powerpc_jsimd.c

Log Message:
Add NetBSD/powerpc ALTIVEC cpu detection support.
Update info about some changes merged upstream already.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/palemoon/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h \
    pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build \
    pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_simd_powerpc_jsimd.c

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

Modified files:

Index: pkgsrc/www/palemoon/distinfo
diff -u pkgsrc/www/palemoon/distinfo:1.12 pkgsrc/www/palemoon/distinfo:1.13
--- pkgsrc/www/palemoon/distinfo:1.12   Fri Sep 20 05:45:44 2024
+++ pkgsrc/www/palemoon/distinfo        Mon Sep 23 11:12:10 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2024/09/20 05:45:44 martin Exp $
+$NetBSD: distinfo,v 1.13 2024/09/23 11:12:10 martin Exp $
 
 BLAKE2s (palemoon-33.3.1/palemoon.tar.gz) = c62225d8c487edddcfb5c2ea544ea87accc48556351610593a339d1ab765f7d5
 SHA512 (palemoon-33.3.1/palemoon.tar.gz) = b9dc0c0f65afc818fc4b5a5483893a8a87685405df3d8b4bf3b557c237eb8f3c75490e8a61305d367aebbd325bd419ad8dd9798c6a9bc77e48d061febaf31c88
@@ -15,13 +15,14 @@ SHA1 (patch-platform_gfx_angle_src_libAN
 SHA1 (patch-platform_intl_icu_source_configure) = 87d19e9212b4340d9b052b5a89be84432ad1cff2
 SHA1 (patch-platform_ipc_chromium_src_base_atomicops.h) = ab4b489e9f9c22a861a275924ef34a909d210828
 SHA1 (patch-platform_ipc_chromium_src_base_atomicops__internals__arm__gcc.h) = f33b6c391689c52d0a6855e29ff25d863a7f15e5
-SHA1 (patch-platform_js_src_jit_AtomicOperations.h) = d6862dc4ab17b2f2bf94f4ffca9a48ce092c518f
+SHA1 (patch-platform_js_src_jit_AtomicOperations.h) = 1cd5a87f727389007d67a0d79edce3e855e15536
 SHA1 (patch-platform_js_src_jit_ProcessExecutableMemory.cpp) = 5cf5a2205a2b38fb8785e6c255231fbcdbd13949
 SHA1 (patch-platform_js_src_vm_ArrayBufferObject.cpp) = 652db4b78ecaba840c0cba945b4af39a6b1362b9
 SHA1 (patch-platform_media_libaom_config_linux_arm_config_aom__config.h) = 69ef22fe9892c2288accb6eb00b4533d8cee0299
 SHA1 (patch-platform_media_libcubeb_src_cubeb__sun.c) = ce27774d772d65fa60b6be5bee82fbe4f787f3d1
 SHA1 (patch-platform_media_libcubeb_src_moz.build) = 5f9f7656bf9d251edb395cb19fae8cd614c0b287
-SHA1 (patch-platform_media_libjpeg_moz.build) = 99e81b8ef66472588bced49ace1c598d465c3722
+SHA1 (patch-platform_media_libjpeg_moz.build) = 2c7ecf49b1caaf2550c667b90ff403c8d1d03639
+SHA1 (patch-platform_media_libjpeg_simd_powerpc_jsimd.c) = 2c5dfdc422e956d55845472ddb320dd857d41fb7
 SHA1 (patch-platform_media_libtheora_moz.build) = a7bad662dabb87c6a85542a4a50f8ed693064bc6
 SHA1 (patch-platform_media_libvpx_config_linux_arm_vpx__config.h) = a580208cd342d7dc27985118e1707772e0cccf02
 SHA1 (patch-platform_nsprpub_pr_include_md__netbsd.cfg) = 1dc06ad2dc49eb3297dc0651dce546cff6882f7b
@@ -31,6 +32,6 @@ SHA1 (patch-platform_security_generate__
 SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops.h) = 73b57772d29b0567c0aa1faea8a3f345dbc0488a
 SHA1 (patch-platform_toolkit_components_protobuf_src_google_protobuf_stubs_atomicops__internals__arm__gcc.h) = 2a5ccc95fb5860b1be97947f3aee8307f4a25bc1
 SHA1 (patch-platform_toolkit_xre_nsX11ErrorHandler.cpp) = 164d93a5b1aaeba15b524fdaef0483b4a9400ac1
-SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_moz.build) = ba7f59d59a8ddaba353c2049fa274f85d722eef1
+SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_moz.build) = 9e89b80bb43da9e00dfa6a166230b90bb0ba3c3b
 SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcinvoke__arm__netbsd.cpp) = 5b6a5c6eea2668cc5eaaf775400c382114876d86
 SHA1 (patch-platform_xpcom_reflect_xptcall_md_unix_xptcstubs__arm__netbsd.cpp) = de7188f7ac09fd3d4a65968a12ae324b3a0415c4

Index: pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h
diff -u pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h:1.1 pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h:1.2
--- pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h:1.1        Fri Sep 20 05:45:44 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_js_src_jit_AtomicOperations.h    Mon Sep 23 11:12:10 2024
@@ -1,6 +1,8 @@
-$NetBSD: patch-platform_js_src_jit_AtomicOperations.h,v 1.1 2024/09/20 05:45:44 martin Exp $
+$NetBSD: patch-platform_js_src_jit_AtomicOperations.h,v 1.2 2024/09/23 11:12:10 martin Exp $
 
-User powerpc atomic operations on NetBSD/powerpc
+Use powerpc atomic operations on NetBSD/powerpc
+
+https://repo.palemoon.org/MoonchildProductions/UXP/commit/a8fbc1dfbe40f899839371f3cb3bb52ce2a71318
 
 --- platform/js/src/jit/AtomicOperations.h.orig        2024-09-05 10:13:09.000000000 +0200
 +++ platform/js/src/jit/AtomicOperations.h     2024-09-19 20:30:25.512218030 +0200
Index: pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build
diff -u pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build:1.1 pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build:1.2
--- pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build:1.1      Tue Sep 17 06:24:18 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_moz.build  Mon Sep 23 11:12:10 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-platform_media_libjpeg_moz.build,v 1.1 2024/09/17 06:24:18 martin Exp $
+$NetBSD: patch-platform_media_libjpeg_moz.build,v 1.2 2024/09/23 11:12:10 martin Exp $
 
 Hard-code compiler flags for altivec support to -maltivec
 instead of the undefined config list PPC_VMX_FLAGS.
@@ -7,6 +7,8 @@ This matches other places where -maltive
        platform/gfx/cairo/libpixman/src/moz.build
        platform/gfx/qcms/moz.build
 
+https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2591
+
 --- platform/media/libjpeg/moz.build.orig      2024-09-05 10:13:09.000000000 +0200
 +++ platform/media/libjpeg/moz.build   2024-09-15 20:36:37.420052767 +0200
 @@ -240,7 +240,7 @@
Index: pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build
diff -u pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build:1.1 pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build:1.2
--- pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build:1.1      Tue Sep 17 06:24:18 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_xpcom_reflect_xptcall_md_unix_moz.build  Mon Sep 23 11:12:10 2024
@@ -1,3 +1,10 @@
+$NetBSD: patch-platform_xpcom_reflect_xptcall_md_unix_moz.build,v 1.2 2024/09/23 11:12:10 martin Exp $
+
+Make NetBSD use the same xptcall glue as other ELF oses do,
+adding powerpc{,64} and sparc64 support.
+
+https://repo.palemoon.org/MoonchildProductions/UXP/commit/c57a1eee66b9d1a157602071a8d13ea8bcaed132
+
 --- platform/xpcom/reflect/xptcall/md/unix/moz.build.orig      2024-07-10 10:54:53.000000000 +0200
 +++ platform/xpcom/reflect/xptcall/md/unix/moz.build   2024-08-05 17:46:31.162024930 +0200
 @@ -136,7 +136,7 @@

Added files:

Index: pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_simd_powerpc_jsimd.c
diff -u /dev/null pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_simd_powerpc_jsimd.c:1.1
--- /dev/null   Mon Sep 23 11:12:11 2024
+++ pkgsrc/www/palemoon/patches/patch-platform_media_libjpeg_simd_powerpc_jsimd.c       Mon Sep 23 11:12:10 2024
@@ -0,0 +1,39 @@
+$NetBSD: patch-platform_media_libjpeg_simd_powerpc_jsimd.c,v 1.1 2024/09/23 11:12:10 martin Exp $
+
+Add support for NetBSD/powerpc ALTIVEC cpu feature detection
+https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2591
+
+--- platform/media/libjpeg/simd/powerpc/jsimd.c.orig
++++ platform/media/libjpeg/simd/powerpc/jsimd.c
+@@ -38,6 +38,9 @@
+ #elif defined(__FreeBSD__)
+ #include <machine/cpu.h>
+ #include <sys/auxv.h>
++#elif defined(__NetBSD__)
++#include <sys/param.h>
++#include <sys/sysctl.h>
+ #endif
+ 
+ static unsigned int simd_support = ~0;
+@@ -127,6 +130,9 @@ init_simd(void)
+   size_t len = sizeof(altivec);
+ #elif defined(__FreeBSD__)
+   unsigned long cpufeatures = 0;
++#elif defined(__NetBSD__)
++  int ret, av;
++  size_t len;
+ #endif
+ 
+   if (simd_support != ~0U)
+@@ -149,6 +155,11 @@ init_simd(void)
+ #elif defined(__OpenBSD__)
+   if (sysctl(mib, 2, &altivec, &len, NULL, 0) == 0 && altivec != 0)
+     simd_support |= JSIMD_ALTIVEC;
++#elif defined(__NetBSD__)
++  len = sizeof(av);
++  ret = sysctlbyname("machdep.altivec", &av, &len, NULL, 0);
++  if (!ret && av)
++    simd_support |= JSIMD_ALTIVEC;
+ #elif defined(__FreeBSD__)
+   elf_aux_info(AT_HWCAP, &cpufeatures, sizeof(cpufeatures));
+   if (cpufeatures & PPC_FEATURE_HAS_ALTIVEC)



Home | Main Index | Thread Index | Old Index