Accepting request 1167036 from GNOME:Next

- gi-find-deps.sh: further expand on the java script scanner.

OBS-URL: https://build.opensuse.org/request/show/1167036
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=255
This commit is contained in:
Dominique Leuenberger 2024-04-12 15:12:20 +00:00 committed by Git OBS Bridge
parent e83a7eb50f
commit 0758033063
2 changed files with 9 additions and 1 deletions

View File

@ -102,7 +102,7 @@ function javascript_requires {
done
# some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME Maps)
# import 'gi://GeocodeGlib?version=2.0'
for module in $(grep -h -P -o "[']gi://([^']+)" $1 | sed "s|'gi://||"); do
for module in $(grep -h -P -o "['\"]gi://([^'\"]+)" $1 | sed "s|['\"]gi://||"); do
split_name_versionjs_gi_name_version $module
print_req_prov
done
@ -222,6 +222,9 @@ while read file; do
*[Pp]ython*script*)
python_requires "$file"
;;
*JavaScript*source*)
javascript_requires "$file"
;;
*ELF*)
gresources_requires "$file"
;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 8 13:59:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- gi-find-deps.sh: further expand on the java script scanner.
-------------------------------------------------------------------
Thu Apr 4 08:14:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>