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


Messages In This Thread
Indexprint - by Xxxx - 06-17-2020, 07:20 PM
RE: Indexprint - by Ofnuts - 06-17-2020, 08:23 PM
RE: Indexprint - by rich2005 - 06-17-2020, 08:58 PM
RE: Indexprint - by moroquendo - 07-02-2020, 07:52 PM
RE: Indexprint - by rich2005 - 07-02-2020, 08:16 PM
RE: Indexprint - by moroquendo - 07-04-2020, 10:00 AM
RE: Indexprint - by rich2005 - 07-04-2020, 11:00 AM
RE: Indexprint - by moroquendo - 07-04-2020, 11:17 AM
RE: Indexprint - by Krikor - 01-18-2023, 12:21 PM
RE: Indexprint - by moroquendo - 01-21-2023, 03:44 PM
RE: Indexprint - by Xxxx - 07-09-2020, 07:11 AM
RE: Indexprint - by moroquendo - 07-09-2020, 04:03 PM
RE: Indexprint - by moroquendo - 07-12-2020, 05:16 PM
RE: Indexprint - by Xxxx - 07-07-2022, 06:29 AM
RE: Indexprint - by rich2005 - 07-07-2022, 08:38 AM
RE: Indexprint - by moroquendo - 07-07-2022, 07:54 PM
RE: Indexprint - by rich2005 - 07-08-2022, 07:27 AM
RE: Indexprint - by moroquendo - 01-01-2023, 08:30 PM
RE: Indexprint - by Xxxx - 01-18-2023, 07:25 AM

Forum Jump: