Image 01
profile-image

kennyr

Kenny Rasschaert
test
MagIcons

Full Icon Themes 41 comments

Score 67.1%
May 20 2010
The source link is indeed dead and dependency issues arise.

I'm on Fedora 20 and got this to work. I downloaded the .deb file and extracted the usr/ folder from it. With that, I repackaged it into an rpm with fpm (https://github.com/jordansissel/fpm).

However, when starting the MagIcons executable I got the "One or more dependencies are missing!" error.

It turns out that the Image library used in this Python program, PIL, has been forked under a new name: Pillow. The import statement required to use is slightly different.

This article helped me fix the source files: http://reinout.vanrees.org/weblog/2013/09/24/pil-pillow-image-import.html

I motified /usr/share/magicons/MagIcons so that "import Image" is now "from PIL import Image", I also had to modify MI_Functions.py, MI_Painter.py and MI_Iconcut.py, found in /usr/share/magicons/src/. The Image import statement there is now "from PIL import Image, ImageOps, ImageChops, ImageEnhance".

With these modifications I got MagIcons to work on my system. Hope this helps someone.
- Oct 17 2014