Gimp/plug-ins/file-psd
Pascal Terjan 85c004edcc Add missing -lm to file-psd plug-in
psd-save.c uses RINT which uses floor(). Not sure why this only
caused a failure on our armv7hl build and why it used to work
but we get:

libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/file-psd psd.o psd-util.o psd-load.o psd-save.o psd-thumb-load.o psd-image-res-load.o psd-layer-res-load.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread  ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimpconfig/.libs/libgimpconfig-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpmath/.libs/libgimpmath-2.0.so ../../libgimpbase/.libs/libgimpbase-2.0.so -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lgegl-0.4 -lgegl-npd-0.4 -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lbabl-0.1 -lz -ljpeg -pthread
/usr/bin/ld: psd-save.o: undefined reference to symbol 'floor@@GLIBC_2.4'
/usr/bin/ld: /lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:756: file-psd] Error 1

And adding -lm seems the right thing to do.

(cherry picked from commit 06b61daa80)
2019-10-31 17:00:01 +01:00
..
.gitignore plug-ins: update file-psd/.gitignore 2015-04-26 15:50:13 -04:00
Makefile.am Add missing -lm to file-psd plug-in 2019-10-31 17:00:01 +01:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00
new-resource-ids.txt
psd-image-res-load.c plug-ins: port file-psd to GimpImage/GimpDrawable. 2019-08-22 15:54:37 +02:00
psd-image-res-load.h plug-ins: port file-psd to GimpImage/GimpDrawable. 2019-08-22 15:54:37 +02:00
psd-layer-res-load.c Misc typo fixes in plug-ins/ 2019-08-13 11:50:51 -04:00
psd-layer-res-load.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
psd-load.c libgimpbase, plug-ins: fix all warnings to g_stat() calls. 2019-09-22 13:52:37 +02:00
psd-load.h pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
psd-save.c pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
psd-save.h pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
psd-thumb-load.c libgimpbase, plug-ins: fix all warnings to g_stat() calls. 2019-09-22 13:52:37 +02:00
psd-thumb-load.h pdb, app, libgimp, plug-ins: replace most PDB filenames/URIs by GFile 2019-09-11 21:48:34 +02:00
psd-util.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
psd-util.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
psd.c libgimp, plug-ins: remove the "preview" parameter from gimp_ui_init() 2019-09-20 19:56:00 +02:00
psd.h Misc typo fixes in plug-ins/ 2019-08-13 11:50:51 -04:00
TODO.txt Rename colour and greyscale to color and grayscale respectively 2013-06-06 23:26:16 +02:00