Updated. Thanks for the notification tinux. $startdir/pkg is really outdated...
Search Criteria
Package Details: gimp-plugin-normalmap 1.2.3-1
Package Actions
| Package Base: | gimp-plugin-normalmap |
|---|---|
| Description: | A Gimp plugin for converting images into RGB normal maps |
| Upstream URL: | http://code.google.com/p/gimp-normalmap/ |
| Category: | multimedia |
| Licenses: | |
| Submitter: | kappa |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 20 |
| First Submitted: | 2010-11-04 10:06 |
| Last Updated: | 2013-04-12 16:27 |
Required by (0)
Sources
Latest Comments
Comment by kappa
Comment by tinux
This doesn't seem to work for me. After the installation, the plugin doesn't show up in gimp. It seems that actually no files are installed, which is confirmed with 'pacman -Ql gimp-plugin-normalmap', which returns nothing.
I suggest this change of the PKGBUILD which makes things work:
install -Dm755 ./normalmap "$pkgdir/usr/lib/gimp/2.0/plug-ins/normalmap"
#install -D -m 755 ./normalmap $startdir/pkg/usr/lib/gimp/2.0/plug-ins/normalmap
Anonymous comment
Thanks for your help everything now works correctly
Comment by kappa
Updated
Comment by thomas.oster
That's right. Just edit the PKGBUILD and change the line
"make"
to "make LDFLAGS=-lm"
Please update
Comment by foxycode
@redcrow
I only speak English, but i have been getting the same error on Arch64 when trying to build the package. I managed to get it compiled by editing "Makefile.linux" and adding -lm to the end of LIBS line.
Anonymous comment
Validando el archivo fuente con md5sums...
gimp-normalmap-1.2.2.tar.bz2 ... Aprobado
==> Descomprimiendo fuentes...
-> Extrayendo gimp-normalmap-1.2.2.tar.bz2 con bsdtar
==> Iniciando build()...
gcc -c -O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0` normalmap.c
gcc -c -O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0` preview3d.c
gcc -c -O3 -Wall `pkg-config --cflags gtk+-2.0 gtkglext-1.0 gimp-2.0` scale.c
gcc normalmap.o preview3d.o scale.o `pkg-config --libs gtk+-2.0 gtkglext-1.0 gimp-2.0 gimpui-2.0` -L/usr/X11R6/lib -lGLEW -o normalmap
/usr/bin/ld: preview3d.o: undefined reference to symbol 'cosf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'cosf@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld devolvió el estado de salida 1
make: *** [normalmap] Error 1
==> ERROR: Se produjo un error en build().
Cancelando...
==> ERROR: Makepkg was unable to build gimp-plugin-normalmap.
==> Restart building gimp-plugin-normalmap ? [y/N]
==> ----------------------------------------------