Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] graphene: update to 1.10.8.
@ 2023-01-26 20:55 mhmdanas
  2023-02-04 21:57 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: mhmdanas @ 2023-01-26 20:55 UTC (permalink / raw)
  To: ml

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

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages graphene-1.10.8
https://github.com/void-linux/void-packages/pull/41890

graphene: update to 1.10.8.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-graphene-1.10.8-41890.patch --]
[-- Type: text/x-diff, Size: 20412 bytes --]

From e572212a79b96fef2e66af7560743d45fb714546 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Thu, 26 Jan 2023 20:54:43 +0000
Subject: [PATCH] graphene: update to 1.10.8.

---
 ...rision-in-graphene_ray_intersect_box.patch |  12 --
 ...5d2280d02812669ac38e3981692b98de7c10.patch |  26 ----
 ...6339c70cef3ce767841385d8eb3a2a5e852f.patch |  41 ------
 ...5d6cd3abcf7586f32e222131849c66cc6ad8.patch |  30 -----
 ...25109898fa4894df810a546b26c387eaae93.patch | 112 ----------------
 ...dad5a3f38ddbe543ee8c236b4315bba111b9.patch |  51 -------
 .../patches/fix-gcc-vector-check.patch        |  25 ----
 .../patches/gcc-vectors-fix-pragmas.patch     | 125 ------------------
 srcpkgs/graphene/template                     |   7 +-
 9 files changed, 4 insertions(+), 425 deletions(-)
 delete mode 100644 srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch
 delete mode 100644 srcpkgs/graphene/patches/2aae5d2280d02812669ac38e3981692b98de7c10.patch
 delete mode 100644 srcpkgs/graphene/patches/5b746339c70cef3ce767841385d8eb3a2a5e852f.patch
 delete mode 100644 srcpkgs/graphene/patches/74845d6cd3abcf7586f32e222131849c66cc6ad8.patch
 delete mode 100644 srcpkgs/graphene/patches/8e5c25109898fa4894df810a546b26c387eaae93.patch
 delete mode 100644 srcpkgs/graphene/patches/fbfbdad5a3f38ddbe543ee8c236b4315bba111b9.patch
 delete mode 100644 srcpkgs/graphene/patches/fix-gcc-vector-check.patch
 delete mode 100644 srcpkgs/graphene/patches/gcc-vectors-fix-pragmas.patch

diff --git a/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch b/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch
deleted file mode 100644
index 6a2533fe7ea0..000000000000
--- a/srcpkgs/graphene/patches/0001-fix-comparision-in-graphene_ray_intersect_box.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git src/graphene-ray.c src/graphene-ray.c
-index 66c3393..9151300 100644
---- a/src/graphene-ray.c
-+++ b/src/graphene-ray.c
-@@ -563,7 +563,7 @@ graphene_ray_intersect_box (const graphene_ray_t *r,
- #else
-   if (ty_min > tx_min || fpclassify (tx_min) == FP_NAN)
-     tx_min = ty_min;
--  if (ty_max > tx_max || fpclassify (tx_max) == FP_NAN)
-+  if (ty_max < tx_max || fpclassify (tx_max) == FP_NAN)
-     tx_max = ty_max;
- #endif
diff --git a/srcpkgs/graphene/patches/2aae5d2280d02812669ac38e3981692b98de7c10.patch b/srcpkgs/graphene/patches/2aae5d2280d02812669ac38e3981692b98de7c10.patch
deleted file mode 100644
index deea8eb3e47f..000000000000
--- a/srcpkgs/graphene/patches/2aae5d2280d02812669ac38e3981692b98de7c10.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 2aae5d2280d02812669ac38e3981692b98de7c10 Mon Sep 17 00:00:00 2001
-From: Dor Askayo <dor.askayo@gmail.com>
-Date: Sat, 3 Apr 2021 16:37:30 +0300
-Subject: [PATCH] graphene-config: Enable NEON for AArch64 on Linux
-
-NEON is fully supported by AArch64. However, GCC doesn't seem to define
-__ARM_NEON__ or _M_ARM64 for AArch64.
-
-Using __aarch64__ should allow a proper detection of this case.
----
- include/graphene-config.h.meson | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/graphene-config.h.meson b/include/graphene-config.h.meson
-index 949eee7..96192cc 100644
---- a/include/graphene-config.h.meson
-+++ b/include/graphene-config.h.meson
-@@ -19,7 +19,7 @@ extern "C" {
- #mesondefine GRAPHENE_HAS_SSE
- # endif
- 
--#  if defined(__ARM_NEON__) || defined (_M_ARM64)
-+#  if defined(__ARM_NEON__) || defined (_M_ARM64) || defined (__aarch64__)
- #mesondefine GRAPHENE_HAS_ARM_NEON
- #  endif
- 
diff --git a/srcpkgs/graphene/patches/5b746339c70cef3ce767841385d8eb3a2a5e852f.patch b/srcpkgs/graphene/patches/5b746339c70cef3ce767841385d8eb3a2a5e852f.patch
deleted file mode 100644
index 30fdb212e1c3..000000000000
--- a/srcpkgs/graphene/patches/5b746339c70cef3ce767841385d8eb3a2a5e852f.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 5b746339c70cef3ce767841385d8eb3a2a5e852f Mon Sep 17 00:00:00 2001
-From: Emmanuele Bassi <ebassi@gnome.org>
-Date: Thu, 1 Apr 2021 23:14:16 +0100
-Subject: [PATCH] Avoid shadowing for nested cross/dot calls
-
----
- include/graphene-simd4f.h | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/include/graphene-simd4f.h b/include/graphene-simd4f.h
-index ca711e5..f95fe04 100644
---- a/include/graphene-simd4f.h
-+++ b/include/graphene-simd4f.h
-@@ -897,19 +897,19 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
- 
- # define graphene_simd4f_cross3(a,b) \
-   (__extension__ ({ \
--    const graphene_simd4f_t __a = (a); \
--    const graphene_simd4f_t __b = (b); \
--    graphene_simd4f_init (__a[1] * __b[2] - __a[2] * __b[1], \
--                          __a[2] * __b[0] - __a[0] * __b[2], \
--                          __a[0] * __b[1] - __a[1] * __b[0], \
-+    const graphene_simd4f_t __cross_a = (a); \
-+    const graphene_simd4f_t __cross_b = (b); \
-+    graphene_simd4f_init (__cross_a[1] * __cross_b[2] - __cross_a[2] * __cross_b[1], \
-+                          __cross_a[2] * __cross_b[0] - __cross_a[0] * __cross_b[2], \
-+                          __cross_a[0] * __cross_b[1] - __cross_a[1] * __cross_b[0], \
-                           0.f); \
-   }))
- 
- # define graphene_simd4f_dot3(a,b) \
-   (__extension__ ({ \
--    const graphene_simd4f_t __a = (a); \
--    const graphene_simd4f_t __b = (b); \
--    const float __res = __a[0] * __b[0] + __a[1] * __b[1] + __a[2] * __b[2]; \
-+    const graphene_simd4f_t __dot_a = (a); \
-+    const graphene_simd4f_t __dot_b = (b); \
-+    const float __res = __dot_a[0] * __dot_b[0] + __dot_a[1] * __dot_b[1] + __dot_a[2] * __dot_b[2]; \
-     graphene_simd4f_init (__res, __res, __res, __res); \
-   }))
- 
diff --git a/srcpkgs/graphene/patches/74845d6cd3abcf7586f32e222131849c66cc6ad8.patch b/srcpkgs/graphene/patches/74845d6cd3abcf7586f32e222131849c66cc6ad8.patch
deleted file mode 100644
index cb29300ae653..000000000000
--- a/srcpkgs/graphene/patches/74845d6cd3abcf7586f32e222131849c66cc6ad8.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 74845d6cd3abcf7586f32e222131849c66cc6ad8 Mon Sep 17 00:00:00 2001
-From: Emmanuele Bassi <ebassi@gnome.org>
-Date: Thu, 1 Apr 2021 22:58:34 +0100
-Subject: [PATCH] Fix the GCC check in graphene-config.h
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-We want GCC ≥ 4.9 on non-ARM architectures, so we need to check for:
-
- - GCC
- - GCC ≥ 5 or GCC == 4.9
- - !ARM
----
- include/graphene-config.h.meson | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/graphene-config.h.meson b/include/graphene-config.h.meson
-index ab72d53..949eee7 100644
---- a/include/graphene-config.h.meson
-+++ b/include/graphene-config.h.meson
-@@ -23,7 +23,7 @@ extern "C" {
- #mesondefine GRAPHENE_HAS_ARM_NEON
- #  endif
- 
--#  if defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 9) && !defined(__arm__)
-+#  if defined(__GNUC__) && (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)) && !defined(__arm__)
- #mesondefine GRAPHENE_HAS_GCC
- #  endif
- 
diff --git a/srcpkgs/graphene/patches/8e5c25109898fa4894df810a546b26c387eaae93.patch b/srcpkgs/graphene/patches/8e5c25109898fa4894df810a546b26c387eaae93.patch
deleted file mode 100644
index db2e2ecc7de3..000000000000
--- a/srcpkgs/graphene/patches/8e5c25109898fa4894df810a546b26c387eaae93.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-From 8e5c25109898fa4894df810a546b26c387eaae93 Mon Sep 17 00:00:00 2001
-From: Emmanuele Bassi <ebassi@gnome.org>
-Date: Thu, 1 Apr 2021 23:13:06 +0100
-Subject: [PATCH] Ignore float equality checks
-
-There is a well-defined representation for 0 with single precision
-floating point values, so we can disable the float-equal warning.
----
- include/graphene-simd4f.h | 21 +++++++++++++++++++++
- 1 file changed, 21 insertions(+)
-
-diff --git a/include/graphene-simd4f.h b/include/graphene-simd4f.h
-index 55a1b5b..ca711e5 100644
---- a/include/graphene-simd4f.h
-+++ b/include/graphene-simd4f.h
-@@ -856,12 +856,15 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
- 
- # define graphene_simd4f_reciprocal(v) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     (graphene_simd4f_t) { \
-       (v)[0] != 0.f ? 1.f / (v)[0] : 0.f, \
-       (v)[1] != 0.f ? 1.f / (v)[1] : 0.f, \
-       (v)[2] != 0.f ? 1.f / (v)[2] : 0.f, \
-       (v)[3] != 0.f ? 1.f / (v)[3] : 0.f, \
-     }; \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_sqrt(v) \
-@@ -876,12 +879,15 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
- 
- # define graphene_simd4f_rsqrt(v) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     (graphene_simd4f_t) { \
-       (v)[0] != 0.f ? 1.f / sqrtf ((v)[0]) : 0.f, \
-       (v)[1] != 0.f ? 1.f / sqrtf ((v)[1]) : 0.f, \
-       (v)[2] != 0.f ? 1.f / sqrtf ((v)[2]) : 0.f, \
-       (v)[3] != 0.f ? 1.f / sqrtf ((v)[3]) : 0.f, \
-     }; \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_add(a,b)       (__extension__ ({ (graphene_simd4f_t) ((a) + (b)); }))
-@@ -994,49 +1000,64 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
- 
- # define graphene_simd4f_cmp_eq(a,b) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) == (b); \
-     (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_cmp_neq(a,b) (!graphene_simd4f_cmp_eq (a,b))
- 
- # define graphene_simd4f_cmp_lt(a,b) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) < (b); \
-     (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_cmp_le(a,b) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) <= (b); \
-     (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_cmp_ge(a,b) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) >= (b); \
-     (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_cmp_gt(a,b) \
-   (__extension__ ({ \
-+    _Pragma ("GCC diagnostic push") \
-+    _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) > (b); \
-     (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-+    _Pragma ("GCC diagnostic pop") \
-   }))
- 
- # define graphene_simd4f_neg(s) \
diff --git a/srcpkgs/graphene/patches/fbfbdad5a3f38ddbe543ee8c236b4315bba111b9.patch b/srcpkgs/graphene/patches/fbfbdad5a3f38ddbe543ee8c236b4315bba111b9.patch
deleted file mode 100644
index 124448fb7c68..000000000000
--- a/srcpkgs/graphene/patches/fbfbdad5a3f38ddbe543ee8c236b4315bba111b9.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From fbfbdad5a3f38ddbe543ee8c236b4315bba111b9 Mon Sep 17 00:00:00 2001
-From: Dor Askayo <dor.askayo@gmail.com>
-Date: Sat, 3 Apr 2021 16:40:30 +0300
-Subject: [PATCH] meson: Fix detection of AArch64 on Linux
-
-Neither __ARM_EABI__ nor __ARM_NEON__ are defined by GCC for AArch64,
-and -mfpu=neon is not required as NEON is always supported in AArch64.
----
- meson.build | 15 +++++++++------
- 1 file changed, 9 insertions(+), 6 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index c96aded..86d8eb8 100644
---- a/meson.build
-+++ b/meson.build
-@@ -10,6 +10,7 @@ project('graphene', 'c',
- 
- cc = meson.get_compiler('c')
- host_system = host_machine.system()
-+host_cpu_family = host_machine.cpu_family()
- 
- add_project_arguments([ '-D_GNU_SOURCE' ], language: 'c')
- 
-@@ -352,11 +353,13 @@ neon_cflags = []
- if get_option('arm_neon')
-   neon_prog = '''
- #if !defined (_MSC_VER) || defined (__clang__)
--# ifndef __ARM_EABI__
--#  error "EABI is required (to be sure that calling conventions are compatible)"
--# endif
--# ifndef __ARM_NEON__
--#  error "No ARM NEON instructions available"
-+# if !defined (_M_ARM64) && !defined (__aarch64__)
-+#  ifndef __ARM_EABI__
-+#   error "EABI is required (to be sure that calling conventions are compatible)"
-+#  endif
-+#   ifndef __ARM_NEON__
-+#    error "No ARM NEON instructions available"
-+#   endif
- # endif
- #endif
- #include <arm_neon.h>
-@@ -376,7 +379,7 @@ int main () {
- 
-   test_neon_cflags = []
- 
--  if cc.get_id() != 'msvc'
-+  if cc.get_id() != 'msvc' and host_cpu_family != 'aarch64'
-     test_neon_cflags += ['-mfpu=neon']
-   endif
- 
diff --git a/srcpkgs/graphene/patches/fix-gcc-vector-check.patch b/srcpkgs/graphene/patches/fix-gcc-vector-check.patch
deleted file mode 100644
index 26e805641ce0..000000000000
--- a/srcpkgs/graphene/patches/fix-gcc-vector-check.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 2da1217742648496c44dff86fd0b477d40d9b067 Mon Sep 17 00:00:00 2001
-From: q66 <daniel@octaforge.org>
-Date: Wed, 9 Jun 2021 15:47:14 +0200
-Subject: [PATCH] fix gcc vector 64-bit check
-
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 0ef4f5a..669773f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -311,7 +311,7 @@ if get_option('gcc_vector')
- #   error "GCC vector intrinsics are disabled on GCC prior to 4.9"
- # elif defined(__arm__)
- #   error "GCC vector intrinsics are disabled on ARM"
--# elif !defined(__x86_64__)
-+# elif (__SIZEOF_POINTER__ < 8)
- #   error "GCC vector intrinsics are disabled on 32bit"
- # endif
- #else
--- 
-2.31.1
-
diff --git a/srcpkgs/graphene/patches/gcc-vectors-fix-pragmas.patch b/srcpkgs/graphene/patches/gcc-vectors-fix-pragmas.patch
deleted file mode 100644
index 6d9b92872083..000000000000
--- a/srcpkgs/graphene/patches/gcc-vectors-fix-pragmas.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From 2756f97c802d6c461cab2a865a98a09504410083 Mon Sep 17 00:00:00 2001
-From: q66 <daniel@octaforge.org>
-Date: Sun, 5 Sep 2021 15:21:39 +0200
-Subject: [PATCH] Fix various broken macros when using GCC extension vectors
-
-Commit 8e5c25109898fa4894df810a546b26c387eaae93 introduced
-some pragmas, however those unintentionally change the types
-of the macros, as the diagnostic pop pragma becomes the last
-statement and the type of the expression becomes void.
-
-Work around this by using a temporary and evaluating to that
-before popping.
----
- include/graphene-simd4f.h | 21 ++++++++++++++-------
- 1 file changed, 14 insertions(+), 7 deletions(-)
-
-diff --git a/include/graphene-simd4f.h b/include/graphene-simd4f.h
-index f95fe04..ea29ba3 100644
---- a/include/graphene-simd4f.h
-+++ b/include/graphene-simd4f.h
-@@ -858,13 +858,14 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-   (__extension__ ({ \
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
--    (graphene_simd4f_t) { \
-+    const graphene_simd4f_t __val = (graphene_simd4f_t) { \
-       (v)[0] != 0.f ? 1.f / (v)[0] : 0.f, \
-       (v)[1] != 0.f ? 1.f / (v)[1] : 0.f, \
-       (v)[2] != 0.f ? 1.f / (v)[2] : 0.f, \
-       (v)[3] != 0.f ? 1.f / (v)[3] : 0.f, \
-     }; \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_sqrt(v) \
-@@ -881,13 +882,14 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-   (__extension__ ({ \
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
--    (graphene_simd4f_t) { \
-+    const graphene_simd4f_t __val = (graphene_simd4f_t) { \
-       (v)[0] != 0.f ? 1.f / sqrtf ((v)[0]) : 0.f, \
-       (v)[1] != 0.f ? 1.f / sqrtf ((v)[1]) : 0.f, \
-       (v)[2] != 0.f ? 1.f / sqrtf ((v)[2]) : 0.f, \
-       (v)[3] != 0.f ? 1.f / sqrtf ((v)[3]) : 0.f, \
-     }; \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_add(a,b)       (__extension__ ({ (graphene_simd4f_t) ((a) + (b)); }))
-@@ -1003,11 +1005,12 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) == (b); \
--    (bool) (__res[0] != 0 && \
-+    const bool __val = (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_cmp_neq(a,b) (!graphene_simd4f_cmp_eq (a,b))
-@@ -1017,11 +1020,12 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) < (b); \
--    (bool) (__res[0] != 0 && \
-+    const bool __val = (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_cmp_le(a,b) \
-@@ -1029,11 +1033,12 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) <= (b); \
--    (bool) (__res[0] != 0 && \
-+    const bool __val = (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_cmp_ge(a,b) \
-@@ -1041,11 +1046,12 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) >= (b); \
--    (bool) (__res[0] != 0 && \
-+    const bool __val = (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_cmp_gt(a,b) \
-@@ -1053,11 +1059,12 @@ typedef int graphene_simd4i_t __attribute__((vector_size (16)));
-     _Pragma ("GCC diagnostic push") \
-     _Pragma ("GCC diagnostic ignored \"-Wfloat-equal\"") \
-     const graphene_simd4i_t __res = (a) > (b); \
--    (bool) (__res[0] != 0 && \
-+    const bool __val = (bool) (__res[0] != 0 && \
-             __res[1] != 0 && \
-             __res[2] != 0 && \
-             __res[3] != 0); \
-     _Pragma ("GCC diagnostic pop") \
-+    __val; \
-   }))
- 
- # define graphene_simd4f_neg(s) \
--- 
-2.32.0
-
diff --git a/srcpkgs/graphene/template b/srcpkgs/graphene/template
index 6be39623eeae..f0c41f527d86 100644
--- a/srcpkgs/graphene/template
+++ b/srcpkgs/graphene/template
@@ -1,7 +1,7 @@
 # Template file for 'graphene'
 pkgname=graphene
-version=1.10.6
-revision=3
+version=1.10.8
+revision=1
 build_style=meson
 build_helper="gir"
 configure_args="-Dinstalled_tests=false
@@ -12,8 +12,9 @@ short_desc="Thin layer of types for graphic libraries"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/ebassi/graphene"
+changelog="https://github.com/ebassi/graphene/releases"
 distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz"
-checksum=80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25
+checksum=a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*) configure_args+=" -Dsse2=true" ;;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: graphene: update to 1.10.8.
  2023-01-26 20:55 [PR PATCH] graphene: update to 1.10.8 mhmdanas
@ 2023-02-04 21:57 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2023-02-04 21:57 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

graphene: update to 1.10.8.
https://github.com/void-linux/void-packages/pull/41890

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-04 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 20:55 [PR PATCH] graphene: update to 1.10.8 mhmdanas
2023-02-04 21:57 ` [PR PATCH] [Merged]: " paper42

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).