Re: [Gimp-developer] Nightly Builds



Thanks drawoc!

I'm running into some problems that I'm trying to work through but perhaps
you or someone else has run into this before and can point me in the right
direction (or point out what's wrong with my setup)...

Here's the error and afterwards I have listed all the steps I have taken to
try to get my environment to be able to run the build script:

Jari@Jari-PC /gimp
$ build
I: unknown keys defined in configuration file: mingw_tool_prefix,
mingw_tools, searchprefix, fullpath_tool, flavour_cfla
gs, module, tool, flavour_opt, flavour, mingw_tools_args, flavour_ext
Traceback (most recent call last):
  File "C:/mingw/msys/1.0/bin/jhbuild", line 31, in <module>
    jhbuild.main.main(sys.argv[1:])
  File "C:/mingw/msys/1.0/jhbuild\jhbuild\main.py", line 130, in main
    config = jhbuild.config.Config(options.configfile)
  File "C:/mingw/msys/1.0/jhbuild\jhbuild\config.py", line 205, in __init__
    self.setup_env()
  File "C:/mingw/msys/1.0/jhbuild\jhbuild\config.py", line 429, in setup_env
    get_stderr = False).strip()
  File "C:/mingw/msys/1.0/jhbuild\jhbuild\utils\cmds.py", line 63, in
get_output
    **kws)
  File "C:/mingw/msys/1.0/jhbuild\jhbuild\utils\subprocess_win32.py", line
112, in __init__
    elif not command[0].endswith('.exe') or kws['shell']:
KeyError: 'shell'



1. Install mingw, choose latest packages, c/c++ compiler, msys and developer
kit.

2. Install mingw64
http://mingw-w64.sourceforge.net/

Choose the latest w32 build e.g. mingw32-w32-bin_i686-mingw_xxxxxxxx.zip
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Wi
n32/Automated%20Builds/

Extract it to your machine on top of mingw, e.g. c:\mingw

3. Install Python27
Add python to your path (msys/1.0/etc/profile):
export PATH="$PATH:/c/Python27"

4. Get some needed packages
mingw-get.exe install msys-wget
mingw-get.exe install msys-openssl
mingw-get.exe install msys-unzip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config_0.26-1
_win32.zip
unzip pkg-config_0.26-1_win32.zip
rm pkg-config_0.26-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/pkg-config-dev_0.
26-1_win32.zip 
unzip pkg-config-dev_0.26-1_win32.zip
rm pkg-config-dev_0.26-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome-common
-dev_2.28.0-1_win32.zip
unzip gnome-common-dev_2.28.0-1_win32.zip
rm gnome-common-dev_2.28.0-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-common/2.28/gnome-common
_2.28.0-1_win32.zip
unzip gnome-common_2.28.0-1_win32.zip
rm gnome-common_2.28.0-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool-dev_0.4
0.4-1_win32.zip
unzip intltool-dev_0.40.4-1_win32.zip
rm intltool-dev_0.40.4-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/intltool/0.40/intltool_0.40.4-
1_win32.zip
unzip intltool_0.40.4-1_win32.zip
rm intltool_0.40.4-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib-dev_2.28.8-1_wi
n32.zip
unzip glib-dev_2.28.8-1_win32.zip
rm glib-dev_2.28.8-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.28/glib_2.28.8-1_win32.
zip
unzip glib_2.28.8-1_win32.zip
rm glib_2.28.8-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-runtime-d
ev_0.18.1.1-2_win32.zip
unzip gettext-runtime-dev_0.18.1.1-2_win32.zip
rm gettext-runtime-dev_0.18.1.1-2_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/gettext-runtime_0
.18.1.1-2_win32.zip
unzip gettext-runtime_0.18.1.1-2_win32.zip
rm gettext-runtime_0.18.1.1-2_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/gnome-doc-utils/0.12/gnome-doc
-utils-0.12.0.zip
unzip gnome-doc-utils-0.12.0.zip
rm gnome-doc-utils-0.12.0.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2-dev_2.7.7
-1_win32.zip
unzip libxml2-dev_2.7.7-1_win32.zip
rm libxml2-dev_2.7.7-1_win32.zip

wget
http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libxml2_2.7.7-1_w
in32.zip
unzip libxml2_2.7.7-1_win32.zip
rm libxml2_2.7.7-1_win32.zip


5. Adjust ACLOCAL_FLAGS
export ACLOCAL_FLAGS="-I /share/aclocal"

6. Install msysgit to c:\git. When asked, choose the 'Use Git Bash only'
option (avoid adding anything to the PATH). In the line ending conversions
choice, pick "Checkout as-is, commit Unix-style line endings"
Add git/bin to the end of your path (msys/1.0/etc/profile):
export PATH="$PATH:/c/git/bin"

7. jhbuild needs to know shell location to be able to run it
export SHELL=/bin/sh 

8. Install jhbuild http://afuera.me.uk/jhbuild-windows/
git clone git://gitorious.org/jhbuild/jhbuild.git
cd jhbuild
./autogen-sh (not sure if this is necessary)
make -f Makefile.windows
make install
# create .jhbuildrc file as described on the jhbuild windows page
jhbuild sanitycheck (mine is still complaining about gettext and xml
catalog)
jhbuild bootstrap
jhbuild build (some failures here still with libxml2)

11. Get the gimp windows jhbuild
https://github.com/drawoc/windows-gimp-jhbuild. Follow directions in README


-----Original Message-----
From: drawoc [mailto:drawoc darkrefraction com] 
Sent: Friday, August 10, 2012 5:25 PM
To: Jari Niskala
Cc: gimp-developer-list gnome org
Subject: Re: [Gimp-developer] Nightly Builds

I just added a README to the github repository in my first email.

Let me know if the scripts give you any trouble.

  -- drawoc

On Thu, Aug 9, 2012 at 5:13 PM, Jari Niskala <jariniskala gmail com> wrote:
> That's great drawoc!
>
> Any chance you have any writeup/info on how to setup to run this locally?
> Any info, no matter how small greatly appreciated.
>
> Thanks!
>
> -Jari
>
> -----Original Message-----
> From: gimp-developer-list-bounces gnome org
> [mailto:gimp-developer-list-bounces gnome org] On Behalf Of drawoc
> Sent: Thursday, August 09, 2012 1:10 PM
> To: gimp-developer-list gnome org
> Subject: [Gimp-developer] Nightly Builds
>
> I've set up a machine to do start doing nightly builds of the GIMP for 
> Windows.
>
> Anyone who's interested can find them here:
> http://nightly.darkrefraction.com/gimp/
>
> I've also uploaded my jhbuild scripts to github:
> https://github.com/drawoc/windows-gimp-jhbuild
>
>   -- drawoc
> _______________________________________________
> gimp-developer-list mailing list
> gimp-developer-list gnome org
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]