5

I have Kubuntu 12.04.01 with GIMP 2.06. On a previous installation I used DBP . I found it worked well on resizing images, and want to re-install it. Although I managed before, I cannot now remember how, though there must have been an easy way to do it! Can anyone help, please?

5

This answer was updated by author in early 2012 ...

Perhaps for you will be actual more to use new versions instead dbp-1.1.5.

Guide by Dave Duncan.

Download the tgz file to your desktop from DBP archive

Open a terminal, and run the following:

sudo apt-get install libgimp2.0-dev gcc cpp g++

You may be prompted for a Yes/No answer here (confirming the use of hard drive space). Just type ‘y’ and hit enter. Then, enter the following:

cd /usr/src/

In the next command, substitute “[username]” with your username.
Then continue, entering the following commands in turn each time you get a fresh command prompt.

sudo tar -xvzf /home/[username]/Desktop/dbpSrc-1-1-5.tgz
cd dbp-1.1.5

Then build, and install package:

sudo make
make install

Once all that is done, open up GIMP and go to (UPDATE Jan.2012):
Filters >> Batch Process
From the dropdown, select Batch Process and the world is your oyster!
Let me know if this works well for you.

Dave Duncan

Enjoy!

  • 1
    Thanks Dave, this went fine until the third line of code, once I realised I'd downloaded version1-1-9 rather than 1-1-5. Then the following: – WGCman Dec 1 '12 at 15:27
  • 1
    Thanks Dave, this went fine until the third line of code, once I realised I'd downloaded version1-1-9 rather than 1-1-5. Then I got an error message: ' myuname@myuname-P5K:/usr/src$ cd dbp-1.1.9 myuname@myuname-P5K:/usr/src/dbp-1.1.9$ make g++ -o dbp -Wall -O2 -I. *.cc -pthread ....... -lglib-2.0 -DGTK_DISABLE_DEPRECATED make install/usr/bin/ld: cannot open output file dbp: Permission denied collect2: ld returned 1 exit status make: *** [dbp] Error 1 ' I have omitted much as there is a limit on the characters allowed in a comment. Should I try to revert to 1-1-5 if I can find it? – WGCman Dec 1 '12 at 15:41
  • try to use sudo make instead make ... and make install without changes as regular user ... and I am not Dave :) – swift Dec 1 '12 at 16:34
  • Thanks, swift; cd dbp-1.1.5 is accepted, but ' sudo make' gives same error, a small part of which runs ' GTK_DISABLE_DEPRECATED dbp.cc: In function ‘void query()’: ….. : error: ‘GtkSignalFunc’ was not declared in this scope... gui.cc:71:17: error: expected ‘;’ before ‘fn’... gui.cc:849:57: error: ‘GTK_FILE_SELECTION’ was not declared in this scope... ' There is not the space in this comment to reproduce the whole error message. – WGCman Dec 1 '12 at 23:21
  • 1
    These instructions worked perfectly for me on Kubuntu 13.04 (Raring), Gimp 2.8, and dbp 1.1.9 out of the box. – gregtczap Jun 16 '14 at 23:18
1

At last I now have DBP in my GIMP in which I acknowledge help from swift (above) the community and the author's blog, which I advise anyone wanting DBP to read.

Whilst I was trying to install, I looked for DBP under the Script Fu tab. It is now under Filters, so I don't know how many of the steps below were actually necessary; anyway here's what I did:

Download the tgz file to your desktop from DBP archive
I downloaded http://www.ozemail.com.au/~hodsond/dbpSrc-1-1-9.tgz There may be a later one, which would amend the following slightly.

Open a terminal, and run the following:

sudo apt-get install build-essential checkinstall
sudo apt-get install libgimp2.0-dev gcc cpp g++
cd /usr/src/sudo tar -xvzf /home/MyUserName/Desktop/dbpSrc-1-1-9.tgz
cd dbp-1.1.9

Then I went to File manager (Dolphin), navigated to root/usr/src/dbp1.1.9. Firstly I right clicked on every file then selected Properties>Permissions to ensure that MyUserName was owner then checked the “is executable” box. I then opened the file Makefile with GNU Emacs and amended the sixth line to read #NODEPS = -DGTK_DISABLE_DEPRECATED.

Then back to the terminal...

sudo make
make install

I hope that this will help other inexperienced users who want to install this excellent plug-in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.