mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
Compare commits
3 Commits
3a1076598b
...
wip/lukaso
Author | SHA1 | Date | |
---|---|---|---|
|
ffa1b0764e | ||
|
7d0d276a4c | ||
|
d06d604315 |
Submodule gimp-data updated: 383a5cda3f...7e0f929172
@@ -480,17 +480,20 @@ icns_export_image (GFile *file,
|
||||
|
||||
procedure = gimp_pdb_lookup_procedure (gimp_get_pdb (), "file-png-export");
|
||||
return_vals = gimp_procedure_run (procedure,
|
||||
"run-mode", GIMP_RUN_NONINTERACTIVE,
|
||||
"image", temp_image,
|
||||
"file", temp_file,
|
||||
"interlaced", FALSE,
|
||||
"compression", 9,
|
||||
"bkgd", FALSE,
|
||||
"offs", FALSE,
|
||||
"phys", FALSE,
|
||||
"time", FALSE,
|
||||
"save-transparent", FALSE,
|
||||
"optimize-palette", FALSE,
|
||||
"run-mode", GIMP_RUN_NONINTERACTIVE,
|
||||
"image", temp_image,
|
||||
"file", temp_file,
|
||||
"interlaced", FALSE,
|
||||
"compression", 9,
|
||||
"bkgd", FALSE,
|
||||
"offs", FALSE,
|
||||
"phys", FALSE,
|
||||
"time", FALSE,
|
||||
"save-transparent", FALSE,
|
||||
"optimize-palette", FALSE,
|
||||
#if defined(PNG_iCCP_SUPPORTED)
|
||||
"save-color-profile", TRUE,
|
||||
#endif
|
||||
NULL);
|
||||
gimp_image_delete (temp_image);
|
||||
|
||||
|
@@ -10,17 +10,16 @@ if [ -n "$GIMP_TEMP_UPDATE_RPATH" ]; then
|
||||
# it didn't work on contributor's builds because of System Integrity
|
||||
# Protection (SIP), though it did work in the CI.
|
||||
export IFS=":"
|
||||
for bin in $GIMP_TEMP_UPDATE_RPATH;
|
||||
do
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimp $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpbase $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpcolor $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpconfig $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpmath $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpmodule $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpthumb $bin
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpwidgets $bin
|
||||
done;
|
||||
for bin in $GIMP_TEMP_UPDATE_RPATH; do
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimp $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpbase $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpcolor $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpconfig $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpmath $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpmodule $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpthumb $bin || true
|
||||
install_name_tool -add_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpwidgets $bin || true
|
||||
done
|
||||
unset IFS
|
||||
fi
|
||||
|
||||
@@ -34,8 +33,7 @@ fi
|
||||
|
||||
if [ -n "$GIMP_TEMP_UPDATE_RPATH" ]; then
|
||||
export IFS=":"
|
||||
for bin in $GIMP_TEMP_UPDATE_RPATH;
|
||||
do
|
||||
for bin in $GIMP_TEMP_UPDATE_RPATH; do
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimp $bin
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpbase $bin
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpcolor $bin
|
||||
@@ -44,7 +42,7 @@ if [ -n "$GIMP_TEMP_UPDATE_RPATH" ]; then
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpmodule $bin
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpthumb $bin
|
||||
install_name_tool -delete_rpath ${GIMP_GLOBAL_BUILD_ROOT}/libgimpwidgets $bin
|
||||
done;
|
||||
done
|
||||
unset IFS
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user