It is currently Tue Apr 23, 2024 2:08 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Compiling Gimp for Windows with VirtualBox
PostPosted: Wed Jul 31, 2013 8:55 am  (#1) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Here is a test to compile Gimp 32bit for Windows with VirtualBox.
Tested with VirtualBox 4.2.16 installed on Windows 8 Pro 64-bit

*****

Sources, informations

Scripts By Drawoc
http://blog.darkrefraction.com/
https://github.com/drawoc/windows-gimp-jhbuild
(the scripts are in the archive "divers_compilation_croisee.zip")

JHBuild
https://wiki.gnome.org/Jhbuild


*****

Compilation

- Start the virtual machine "GimpEVAL-20130722-64bits.vdi" with the login :
Debian login : gimpeval
Password : roottoor

- Open Terminal
su
(Password : roottoor)
aptitude install iceweasel build-essential mingw-w64 git jhbuild automake autoconf libtool libgtk2.0-dev ragel intltool bison flex gperf gtk-doc-tools nasm
exit


- Start Web Explorer (Iceweasel)
Download and extract https://github.com/drawoc/windows-gimp- ... master.zip
- Close Web Explorer (Iceweasel)

- with the Terminal (to compile the 2.8.7 version)
cd /home/gimpeval/Downloads/windows-gimp-jhbuild-master
MODULE=gimp-stable ./build

(be very, very, very patient ... there are 35 phases of compilation)

*****

Results

The directory where the compilation is :
/home/gimpeval/Downloads/windows-gimp-jhbuild-master/targets/gimp-stable

Download http://aljacom.com/~gmic/divers_compilation_croisee.zip (10 320 409 bytes / MD5 34478d03d735bf520e45e14712750449 / version 20130803), extract, place "libgcc_s_sjlj-1.dll" , "libstdc++-6.dll" and "libgs-8.dll" in :
/home/gimpeval/Downloads/windows-gimp-jhbuild-master/targets/gimp-stable/bin

If you have a shared directory, for example C:\ , you can mount this directory by :
su
(Password : roottoor)
mount -t vboxsf C_DRIVE /mnt/partage
thunar


Copy the "gimp-stable" directory on your Windows drive and test (...\gimp-stable\bin\gimp-2.8.exe)

*****

Edit 20130731 : Screen shot = GimpEVAL-20130722-64bits + gimp-2.8.exe with "Wine"
Edit 20130801 : Add scripts by Drawoc (scripts_windows-gimp-jhbuild-master_20130731.zip)

Edit 20130803 : Add divers_compilation_croisee.zip - Delete scripts_windows-gimp-jhbuild-master_20130731.zip / foo_lib_32.zip


Attachments:
screen_shot_wine.png
screen_shot_wine.png [ 315.62 KiB | Viewed 7502 times ]


Last edited by samj on Sat Aug 03, 2013 7:20 am, edited 2 times in total.
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Thu Aug 01, 2013 6:04 pm  (#2) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Here's another way to compile using a 32-bit virtual machine (for example, those using 32-bit systems)

*****

Sources, informations

Scripts By Drawoc
http://blog.darkrefraction.com/
https://github.com/drawoc/windows-gimp-jhbuild
(the scripts are in the archive "divers_compilation_croisee.zip")

JHBuild
https://wiki.gnome.org/Jhbuild

Virtual Machine
http://www.aljacom.com/~gmic/index.html ... 719-32bits
http://translate.google.com/translate?s ... 719-32bits
http://www.aljacom.com/~gmic/GimpEVAL-2 ... -32bits.7z

*****

Compilation (cross compilation) gimp 2.9.1

- Start the virtual machine (GimpEVAL-20130719-32bits.vdi)

- Open Terminal
sudo apt-get install build-essential mingw-w64 git jhbuild automake autoconf libtool libgtk2.0-dev ragel intltool bison flex gperf gtk-doc-tools nasm
( Password : roottoor )
cd /home/gimpeval/Downloads
wget https://github.com/drawoc/windows-gimp- ... master.zip
unzip master.zip
cd /home/gimpeval/Downloads/windows-gimp-jhbuild-master
./build

(be very, very, very patient ... there are 38 phases of compilation)

Problem phase "icu-native" 20/38 >> [3] Give up on module (I will perhaps another test after changing scripts).
Problem phase "Iso-codes" 30/38 >> server unavailable for a few hours ( http://pkg-isocodes.alioth.debian.org/d ... .44.tar.xz )


*****

Results

The directory where the compilation is :
/home/gimpeval/Downloads/windows-gimp-jhbuild-master/targets/gimp-dev

Download http://aljacom.com/~gmic/divers_compilation_croisee.zip (10 320 409 bytes / MD5 34478d03d735bf520e45e14712750449 / version 20130803) , extract, place "libgcc_s_sjlj-1.dll" , "libstdc++-6.dll" and "libgs-8.dll" in
/home/gimpeval/Downloads/windows-gimp-jhbuild-master/targets/gimp-dev/bin

If you have a shared directory, for example C:\ , you can mount this directory by :
sudo mount -t vboxsf C_DRIVE /mnt/partage
( Password : roottoor )
sudo thunar

Copy the "gimp-dev" directory on your Windows drive and test (...\gimp-dev\bin\gimp-2.9.exe)


*****

Test compilation using the virtual machine

You can also install "wine" using "synaptic" and open "gimp-2.9.exe" directly into the "GimpEVAL-20130719-32bits.vdi" virtual machine.
A screenshot is attached.

Edit 20130803 : Add divers_compilation_croisee.zip - Delete scripts_windows-gimp-jhbuild-master_20130801.zip


Attachments:
screenshot_gimp_bits_wine_linux_mint.png
screenshot_gimp_bits_wine_linux_mint.png [ 584.06 KiB | Viewed 7468 times ]


Last edited by samj on Sat Aug 03, 2013 7:18 am, edited 2 times in total.
Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Thu Aug 01, 2013 7:32 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thank you Sam. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Fri Aug 02, 2013 6:50 am  (#4) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

:tyspin Rod.

French version :
http://www.gimp-attitude.org/forum2/vie ... 51&t=10318


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Fri Aug 02, 2013 7:00 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Thank i am busy setting up a virtual machine for the first time ,so this come at the best moment !

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sat Aug 03, 2013 7:34 am  (#6) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

@PhotoComix
It's very, very simple, you must set :
- a good amount of memory (at least 1 gigabyte).
- a shared folder.
- validate exchanges with clipboards.

*****

Previous messages are changed.

DLLs are available in the "divers_compilation_croisee.zip" archive :
http://aljacom.com/~gmic/divers_compilation_croisee.zip
(10 320 409 bytes / MD5 34478d03d735bf520e45e14712750449 / version 20130803)

Content of archive:
- Screenshots of tests under Wine.
- 3 DLLs to run compilations ("libgs-8.dll" replaces the DLL after compilation does not work, the other two DLLs are up to date).
- The scripts used in tests of 31 July and 1 August 2013.
- lisez-moi.txt


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sat Aug 03, 2013 8:57 am  (#7) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Thank you for this. I am new to linux and have never compiled before, but it compiled on my first try.

I did run into some problems trying to run the compiled version. I get a number of errors saying that the program could not find libgimpui-2.0-0.dll but the dll is in the bin directory.

Also, when I copied the files in windows, 3 showed a virus with Avast. I ran them through VirusTotal and they showed 10 to 12 virus hits. Then were: apply-canvas.exe, cml-explorer.exe, and contrast-stretch-hsv.exe. I ran apply-canvas from my 2.9 portable 64 bit from you and it did not show any hits. I and running Win7 64 bit.

I compiled 2.9 under your 64bit VirtualBox


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sat Aug 03, 2013 12:44 pm  (#8) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

@Bilbo9955

I am still confused with antivirus ...
The results are different with the same file (apply-canvas.exe) :
http://r.virscan.org/report/bf7cf33a7cd ... 3c307.html
https://www.virustotal.com/fr/file/9dad ... 375551324/

In one case Avast consider the file as a virus, in the other case it is healthy :roll:

If you have any doubts do not use it. Unfortunately I do not have a better answer for you :(


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sat Aug 03, 2013 3:35 pm  (#9) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Thanks samj. do you have any ideas on libgimpui-2.0-0.dll issue?


Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sat Aug 03, 2013 3:56 pm  (#10) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
@Bilbo9955

On Windows I always use my launcher and I do not have a problem.
Here are my gimp 2.8.9 launchers to be placed after \gimp-dev and before \bin, etc..
(8 files in the archive)


Attachments:
gimp_2.8.9_launchers.zip [137.56 KiB]
Downloaded 332 times
Top
 Post subject: Re: Compiling Gimp for Windows with VirtualBox
PostPosted: Sun Aug 04, 2013 4:59 pm  (#11) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Today I was able to create a complete version using Mint 64-bit and scripts downloaded on July 31.
It is a Gimp 2.8.7 32-bit for Windows.
I am satisfied with the result.

If you want to test here is the link for download :
http://aljacom.com/~gmic/gimp-2.8.7-20130804_portable.7z
(112 802 948 bytes) / MD5 b78b0e2f345fb4684ef9811f876b9521 / volume approximately 600 MB uncompressed )

This is a 7zip archive ( http://www.7-zip.org/ ).
The uncompressed volume is important because I left all the elements of the compilation with VirtualBox.
To start Gimp click on one of seven executable files in the directory \gimp-2.8.7-20130804_portable

This version has many plugins.

Built with :
- http://www.aljacom.com/~gmic/GimpEVAL-20130720-64bits.7z (Linux Mint 64-bit / VirtualBox)
- http://aljacom.com/~gmic/divers_compilation_croisee.zip - scripts_windows-gimp-jhbuild-master_20130731.zip from https://github.com/drawoc/windows-gimp-jhbuild by Drawoc :o)
- DLL from http://download.opensuse.org/repositori ... .2/noarch/
- Python from Gimp 2.8.6 32 bits SourceForge by Jernej Simoncic :o)

I tested with two antivirus... everything is correct.

EDIT 20130804 : Add WMF
EDIT 20130805 : Add URI - XPM - Help Browser - Web page


Top
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Why my windows are not See-through?

5

No new posts Attachment(s) BRL box too big in Windows 10

23

No new posts I can't find G'MIC FOR windows 32

2

No new posts Windows 11 rollout

31

No new posts Attachment(s) AltDrag for windows

2



* Login  



Powered by phpBB3 © phpBB Group