You are not logged in.

#21 2016-01-07 07:32:05

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

Somewhat off-topic, but what did you need from deb-multimedia?  Almost everything that I used to need it for is in the Jessie repos now.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#22 2016-01-07 10:09:26

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

pvsage wrote:

Somewhat off-topic, but what did you need from deb-multimedia?  Almost everything that I used to need it for is in the Jessie repos now.

Habit probably, for ffmpeg :8. (deb-multimedia still has it several versions ahead)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#23 2016-01-07 12:09:46

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

^ Ah, I see it does; 10 vs. 7.  Does this help with the x265 protocol or whatever the shiny new codec is?  (Not meaning to troll, I'm just curious.  I tend to wait until some of the shiny has been worn off before trying something new.)

Last edited by pvsage (2016-01-07 12:11:47)


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#24 2016-04-15 18:06:15

the dsc
New Member
Registered: 2016-04-15
Posts: 2

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

xaos52 wrote:

@Damo,

I fleshed up your script a bit:

- one script for initial build and update build
- builds from git dev repos
- if an update, before building, the script copies {bin,lib} to {bin.old,lib.old}
- if the build fails, old bin and lib are restored so you should be able to use the old version
- works on fully updated bunsenlabs with backports enabled
- works on Debian sid

I am not an experienced gimp user.
I only use gimp to edit my digital photos and that seem to work OK.
Probably needs more testing from a seasoned gimp user.

You can find the new script at this github location

I've registered just to say thanks and that this script works on Ubuntu Wily! The initial install, at least, but if the rest works on Debian it should still work also.

Depending on the versions of your mypaint brush collection (I guess mypaint itself is backwards-compatible with older brushes, while libmypaint isn't, I don't know) it may look that it didn't work, as gimp fails to start complaining about mypaint's brushes, but you can just momentarily rename the folder where you have those incompatible brushes, usually your ".mypaint" home folder (not "MyPaint"), start gimp again, then remove the /home/$USER/.mypaint/brushes (or whatever the folder is) on gimp's folder options, and then restore/rename back your .mypaint folder.

Last edited by the dsc (2016-04-15 18:08:21)

Offline

#25 2016-04-15 18:44:38

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

Wouldn't it be easier to install on Ubuntu using the ppa?
http://www.webupd8.org/2013/10/gimp-29- … uilds.html.

Good to know our script works though, and thanks for the tip smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#26 2016-04-18 04:54:45

the dsc
New Member
Registered: 2016-04-15
Posts: 2

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

Maybe, but I had the impression it would update 2.8 instead of installing 2.9 concurrently. I think that's probably the reason for the script to begin with, even though perhaps in a pure/actual Debian-based distro the Ubuntu compilation wouldn't work, even though it sometimes worked, in my experience.

Offline

#27 2016-05-16 20:22:05

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

UPDATE  2016-05-19 (First post updated)

Built successfully with @xaos52's script on a basic BunsenLabs Hydrogen installation. There is a further python cairo dependency to add, so edit line #59 to:

required_dependencies=( git scons libgtk2.0-bin libgexiv2-dev libjson-glib-dev libjson-c-dev python-cairo-dev )

NB: if you are using a VM, or for some other reason your hardware only has 1 processor, comment out line #67, otherwise the script has zero threads to work with!

#    number_of_jobs=$(( number_of_jobs -1))

The theme choices and flat icons are very welcome smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#28 2016-08-10 19:14:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

UPDATE: 2016-08-10 Latest successful combi-script is on github, here

EDIT: ---BUGFIX TEXT DELETED---  Fixed in repo

Last edited by damo (2016-08-11 17:01:44)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#29 2016-08-11 07:32:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

@damo -- if you have a testing/unstable system then you can use flatpak to install GIMP-Devel:

sudo apt install flatpak
wget http://209.132.179.2/keys/nightly.gpg
flatpak remote-add --gpg-import=nightly.gpg nightly-graphics http://209.132.179.2/repo/

This add the "nightly-graphics" repository; list the contents with:

flatpak remote-ls nightly-graphics --app

Then install the desired package with:

flatpak install nightly-graphics org.gimp.GimpDevel

Run the program with:

flatpak run org.gimp.GimpDevel

Update the program (every day!) with:

flatpak update org.gimp.GimpDevel

http://flatpak.org/apps.html

smile

Offline

#30 2016-08-11 10:22:31

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: HowTo: Scripts to Compile and Update the latest GIMP 2.9

UPDATE: 2016-08-10 Latest successful combi-script is on github, here

NB: bugfix...
Change line #274 from

PREFIX='/home/me/.gimp-build-dev'

to

PREFIX="$HOME/.gimp-build-dev"

Fixed in repo.

Offline

Board footer

Powered by FluxBB