git: 26ebcdf99dfb - main - accessibility/feedbackd: unbreak build after 89965357906b

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 18:36:29 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26ebcdf99dfb8ccd330499cd8dc63f3590c7039f

commit 26ebcdf99dfb8ccd330499cd8dc63f3590c7039f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-10-17 15:48:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-10-17 18:28:44 +0000

    accessibility/feedbackd: unbreak build after 89965357906b
    
    /usr/local/bin/glib-compile-resources ../subprojects/gmobile/data/gmobile.gresources.xml --sourcedir ../subprojects/gmobile/data --c-name gm --internal --generate --target subprojects/gmobile/data/gm-resources.c --manual-register --dependency-file subprojects/gmobile/data/gm-resources.c.d
    json-glib-format: file:///wrkdirs/usr/ports/accessibility/feedbackd/work/feedbackd-v0.1.0/subprojects/gmobile/data/devices/display-panels/fairphone,fp4.json: error parsing file: <data>:12:1: Parse error: scanner: unterminated string constant
    
    (json-glib-format:24182): GLib-CRITICAL **: 01:08:27.552: g_close(fd:-1) failed with EBADF. This is not a valid file descriptor
    ../subprojects/gmobile/data/gmobile.gresources.xml: Child process exited with code 1.
    
    Reported by:    pkg-fallout
---
 accessibility/feedbackd/files/patch-gmobile | 87 +++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/accessibility/feedbackd/files/patch-gmobile b/accessibility/feedbackd/files/patch-gmobile
new file mode 100644
index 000000000000..ad05c4022811
--- /dev/null
+++ b/accessibility/feedbackd/files/patch-gmobile
@@ -0,0 +1,87 @@
+https://gitlab.gnome.org/World/Phosh/gmobile/-/commit/965fb5febdf4
+
+--- subprojects/gmobile/data/devices/display-panels/fairphone,fp4.json.orig	2024-02-24 10:41:47 UTC
++++ subprojects/gmobile/data/devices/display-panels/fairphone,fp4.json
+@@ -8,11 +8,7 @@
+   "cutouts" : [
+     {
+       "name": "notch",
+-      "path": "M 355,0
+-               H 725
+-               C 580,0 615,82 540,82
+-               C 465,82 500,0 355,0
+-               Z"
++      "path": "M 355,0  H 725 C 580,0 615,82 540,82  C 465,82 500,0 355,0  Z"
+     }
+   ]
+ }
+--- subprojects/gmobile/data/devices/display-panels/fairphone,fp5.json.orig	2024-02-24 10:41:47 UTC
++++ subprojects/gmobile/data/devices/display-panels/fairphone,fp5.json
+@@ -8,10 +8,7 @@
+   "cutouts" : [
+     {
+       "name": "notch",
+-      "path": "M 612 16
+-               a 42 42 0 0 0 0 84
+-               a 42 42 0 0 0 0 -84
+-               Z"
++      "path": "M 612 16  a 42 42 0 0 0 0 84  a 42 42 0 0 0 0 -84  Z"
+     }
+   ]
+ }
+--- subprojects/gmobile/data/devices/display-panels/oneplus,enchilada.json.orig	2024-02-24 10:41:47 UTC
++++ subprojects/gmobile/data/devices/display-panels/oneplus,enchilada.json
+@@ -9,13 +9,7 @@
+   "cutouts" : [
+     {
+       "name": "notch",
+-      "path": "M 357 0
+-               A 24 24 0 0 1 381 22
+-               A 64 64 0 0 0 445 80
+-               L 635 80
+-               A 64 64 0 0 0 699 22
+-               A 24 24 0 0 1 723  0
+-               Z"
++      "path": "M 357 0  A 24 24 0 0 1 381 22  A 64 64 0 0 0 445 80  L 635 80  A 64 64 0 0 0 699 22  A 24 24 0 0 1 723 0  Z"
+     }
+   ]
+ }
+--- subprojects/gmobile/data/devices/display-panels/oneplus,fajita.json.orig	2024-02-24 10:41:47 UTC
++++ subprojects/gmobile/data/devices/display-panels/oneplus,fajita.json
+@@ -8,18 +8,7 @@
+   "cutouts" : [
+     {
+       "name": "notch",
+-      "path": "M 355,0
+-        h 368.34
+-        c -9.77,0.44 -19.57,0.08 -29.28,1.24
+-        c -20.33,1.14 -41.18,5.17 -58.62,16.24
+-        c -16.9,10.79 -29.44,26.78 -43.44,40.81
+-        a 72.73,72.73 0 0 1 -38.29 19.58
+-        c -16.53,2.51 -34,1 -49.09,-6.62
+-        c -9.85,-4.62 -17.88,-12.24 -25.21,-20.18
+-        c -10.46,-11.27 -20.9,-22.75 -33.53,-31.66
+-        c -11.49,-8 -24.9,-12.78 -38.53,-15.42
+-        c -17.27,-3.18 -34.86,-3.6 -52.35,-3.99
+-        Z"
++      "path": "M 355,0  h 368.34  c -9.77,0.44 -19.57,0.08 -29.28,1.24  c -20.33,1.14 -41.18,5.17 -58.62,16.24  c -16.9,10.79 -29.44,26.78 -43.44,40.81  a 72.73,72.73 0 0 1 -38.29 19.58  c -16.53,2.51 -34,1 -49.09,-6.62  c -9.85,-4.62 -17.88,-12.24 -25.21,-20.18  c -10.46,-11.27 -20.9,-22.75 -33.53,-31.66  c -11.49,-8 -24.9,-12.78 -38.53,-15.42  c -17.27,-3.18 -34.86,-3.6 -52.35,-3.99  Z"
+     }
+   ]
+ }
+--- subprojects/gmobile/data/devices/display-panels/xiaomi,beryllium.json.orig	2024-02-24 10:41:47 UTC
++++ subprojects/gmobile/data/devices/display-panels/xiaomi,beryllium.json
+@@ -8,13 +8,7 @@
+     "cutouts" : [
+       {
+         "name": "notch",
+-        "path": "M 834,0
+-                 c -10.516,0 -19.04,8.557 -19.04,19.11
+-                 c 0,40.084 -26.988,69.89 -60.283,69.89
+-                 l -428.354,0
+-                 c -33.295,0 -60.283,-29.806 -60.283,-63.227
+-                 c 0,-17.216 -8.524,-25.773 -19.04,-25.773
+-                 Z"
++        "path": "M 834,0  c -10.516,0 -19.04,8.557 -19.04,19.11  c 0,40.084 -26.988,69.89 -60.283,69.89  l -428.354,0  c -33.295,0 -60.283,-29.806 -60.283,-63.227  c 0,-17.216 -8.524,-25.773 -19.04,-25.773  Z"
+       }
+     ]
+   }