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:
parent
e83a7eb50f
commit
0758033063
@ -102,7 +102,7 @@ function javascript_requires {
|
|||||||
done
|
done
|
||||||
# some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME Maps)
|
# some javascript code imports gi like this (seen since GNOME 43, e.g. GNOME Maps)
|
||||||
# import 'gi://GeocodeGlib?version=2.0'
|
# 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
|
split_name_versionjs_gi_name_version $module
|
||||||
print_req_prov
|
print_req_prov
|
||||||
done
|
done
|
||||||
@ -222,6 +222,9 @@ while read file; do
|
|||||||
*[Pp]ython*script*)
|
*[Pp]ython*script*)
|
||||||
python_requires "$file"
|
python_requires "$file"
|
||||||
;;
|
;;
|
||||||
|
*JavaScript*source*)
|
||||||
|
javascript_requires "$file"
|
||||||
|
;;
|
||||||
*ELF*)
|
*ELF*)
|
||||||
gresources_requires "$file"
|
gresources_requires "$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>
|
Thu Apr 4 08:14:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user