mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-05 02:09:37 +00:00
build/linux: Include 'gimp-debug-tool' on AppImage
It works, but do not work well if 'gdb' or 'lldb' are installed.
This commit is contained in:
parent
161b3c5331
commit
50b6ba6366
1 changed files with 4 additions and 5 deletions
|
@ -142,7 +142,7 @@ bund_usr ()
|
||||||
#Paths where to search
|
#Paths where to search
|
||||||
case $2 in
|
case $2 in
|
||||||
bin*)
|
bin*)
|
||||||
search_path=("$1/bin" "/usr/sbin" "/usr/libexec")
|
search_path=("$1/bin" "$1/sbin" "$1/libexec")
|
||||||
;;
|
;;
|
||||||
lib*)
|
lib*)
|
||||||
search_path=("$(dirname $(echo $2 | sed "s|lib/|$1/${LIB_DIR}/${LIB_SUBDIR}|g" | sed "s|*|no_scape|g"))"
|
search_path=("$(dirname $(echo $2 | sed "s|lib/|$1/${LIB_DIR}/${LIB_SUBDIR}|g" | sed "s|*|no_scape|g"))"
|
||||||
|
@ -155,7 +155,7 @@ bund_usr ()
|
||||||
for path in "${search_path[@]}"; do
|
for path in "${search_path[@]}"; do
|
||||||
expanded_path=$(echo $(echo $path | sed "s|no_scape|*|g"))
|
expanded_path=$(echo $(echo $path | sed "s|no_scape|*|g"))
|
||||||
if [ ! -d "$expanded_path" ]; then
|
if [ ! -d "$expanded_path" ]; then
|
||||||
break
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Copy found targets from search_path to bundle dir
|
#Copy found targets from search_path to bundle dir
|
||||||
|
@ -303,9 +303,8 @@ if [ "$GIMP_UNSTABLE" ]; then
|
||||||
bund_usr "$UNIX_PREFIX" "lib/libGL*"
|
bund_usr "$UNIX_PREFIX" "lib/libGL*"
|
||||||
bund_usr "$UNIX_PREFIX" "lib/dri*"
|
bund_usr "$UNIX_PREFIX" "lib/dri*"
|
||||||
fi
|
fi
|
||||||
### FIXME: Debug dialog (NOT WORKING)
|
### Debug dialog
|
||||||
#bund_usr "$UNIX_PREFIX" "bin/lldb*"
|
bund_usr "$GIMP_PREFIX" "bin/gimp-debug-tool*" --dest "libexec"
|
||||||
#bund_usr "$GIMP_PREFIX" "libexec/gimp-debug-tool*"
|
|
||||||
### Introspected plug-ins
|
### Introspected plug-ins
|
||||||
bund_usr "$GIMP_PREFIX" "lib/girepository-*"
|
bund_usr "$GIMP_PREFIX" "lib/girepository-*"
|
||||||
bund_usr "$UNIX_PREFIX" "lib/girepository-*"
|
bund_usr "$UNIX_PREFIX" "lib/girepository-*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue