Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indexprint
#11
After a lot of testing and I hope I have done nothing wrong or forgotten: Get Indexprint V3.34 working in Gimp 2.10.18 within Ubuntu/Mint 20.04 so the details.

With package manager
- install Gimp (2.10.18)
- install libglade2-0

Python package is already installed, so don't install but as python2.
- sudo apt install python2.7

These two packages are also already installed but you have to install them again. It will correct pyhton-is-python2 problem
- sudo apt install python python-cairo python-gobject-2

Downloaded some gimp-python packages
- wget http://archive.ubuntu.com/ubuntu/pool/un..._amd64.deb
- wget http://archive.ubuntu.com/ubuntu/pool/un..._amd64.deb
- wget http://archive.ubuntu.com/ubuntu/pool/un..._amd64.deb

and install them
- sudo dpkg -i *.deb

Everything should be installed now without errors.

Download and unpack Indexprint-v3.34
Copy Indexprint.py and the dir indexprint into the plugin directory of Gimp (~/.config/Gimp/2.10/plugins/)

Make Indexprint.py executable

Now we have to make a modification to an Indexprint file.
Open the directory indexprint
Inside these directory you will find gui.py, open it (double click in file manager)

About line 32 you see version history. Just add after the ''' the following or add before import math on a new line:
- import os
- import sys
You can save and close the file now.

In the old python it was not necessary to add these two lines.

Starting Gimp you will see Indexprint in the File menu. You can start Indexprint now.

As far as I know there is a bug with pyexiv2: pyexiv2 must be installed but.... fortunatly Indexprint runs for me without pyexiv2 installed. But you are be warned.


Installing pyexiv2:
For pyexiv2 we have first to install
- libboost-python v1.46.1
- libexiv2-11
but I haven't found these old packages. So installing pyexiv2 stucks.

After installing these two packages you can install pyexiv2.
- wget http://archive.ubuntu.com/ubuntu/pool/un..._amd64.deb

and install pyexiv2
- sudo dpkg -i *.deb

Happy Gimping
Reply


Forum Jump: