Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble installing a perl plug-in
#1
Question 
I got a waving flag plug-in for gimp. The file is called flag-waving. I copied it to the path '/home/rincewind/.config/GIMP/2.10/plug-ins/'. Made it executable for all users. I started Gimp and can't find the plugin.

Operating System: Lubuntu 19.08
Gimp: 2.10.8
I got the plugins folder path by going to Edit > Preferences > Folders > Plug-ins.
flag-waving appears to be a perl script, it has a shebang line, but not a .pl extension. Not sure if that is an issue.
I installed it with snap, and not apt, if that makes a difference.

What am I doing wrong?
Reply
#2
Your script is a perl script. That is the problem with those old abandoned forums.  I used to use the occasional perl script with Gimp in PClinuxOS That would have been in Gimp 2.6  That needed a gimp-perl package much the same as a gimp-python package needed for python scripts.   A quick check, still there in the PCLOS repo, I have no idea if it works with 2.10  If interested see: https://linuxgazette.net/issue51/mauerer.html for an example.

However, seem to recall that there is an equivalent script-fu see:  http://www.td-e.com/soft/fluttering-flag.php  Tried it out with 'buntu 19 equivalent, Debian 10 / Gimp 2.10.8 and the script works ok.  I have no idea if it works with Windows / Gimp 2.10.14

For those using Linux (ubuntu) Gimp 2.10.14 the developers have broken the displace plugin used by the script. It will be fixed with Gimp 2.10.16 In the meantime you will need the old displace + bumpmap plugins. Both All of those attached in the zip. Unzip put in the appropriate plug-ins / scripts folders.

   

edit: I think there should be some shading in there as well. Might check up on that later unless anyone knows of a fixed version.
edit again: Found it, needs the old bumpmap plugin, the new GEGL one still not backward compatible. Added to the zip file.


Attached Files
.zip   fluttering-flag.zip (Size: 26.08 KB / Downloads: 10)
Reply
#3
You are a champ, that looks amazing. Thank you.

For future noobs like me, unzip the file to ~/.config/GIMP/2.10/scripts, or wherever your scripts folder is (Edit > Preferences > Folders > Scripts).
Reply
#4
(02-06-2020, 09:35 PM)Rincewind Wrote: You are a champ, that looks amazing. Thank you.

For future noobs like me, unzip the file to ~/.config/GIMP/2.10/scripts, or wherever your scripts folder is (Edit > Preferences > Folders > Scripts).

....and the two plugins bump-map and displace (if required) go in ~/.config/GIMP/2.10/plug-ins 
Should already be marked executable but check anyway
Reply
#5
Hello rich2005! I'm learning GIMP and I liked this plugin. What settings did you use to effect the flag? Thanks!
Reply
#6
I just used the defaults to make sure it worked. Only thing I changed was the pole width. Gif animations are usually small images due to file size, this one starts as 300 x 200 . example: https://i.imgur.com/GHK71I8.jpg  Other image sizes might need different settings.

Exporting to a gif ? I think delay best increased. I used this: https://i.imgur.com/1Obk7bO.jpg

--------
@LucivaldoGIMP
Edit: If you are really using Windows 32 bit and a Gimp 2.10.12 or earlier, the script should work ok.

If using Gimp 2.10.14 (which might not work with Win10 ) then some old Windows Gimp plugins are needed bump-map.exe  and displace.exe
Reply
#7
Hello rich2005! Thank you!!
Reply


Forum Jump: