[gtk-builder-win/wip/win32mingwget] First cut at using mingw-get to install mingw and msys and all deps



commit 5f0009d5f9986ce7079f8bf797e0499b111a354b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jul 11 11:39:19 2014 +0200

    First cut at using mingw-get to install mingw and msys and all deps

 .../gettext-0.18.1.1-1-msys-1.0.17-doc.tar.lzma    |  Bin 375835 -> 0 bytes
 .../gettext-0.18.1.1-1-msys-1.0.17-lic.tar.lzma    |  Bin 18950 -> 0 bytes
 .../libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma  |  Bin 22647 -> 0 bytes
 .../grep-2.5.4-2-msys-1.0.13-bin.tar.lzma          |  Bin 62396 -> 0 bytes
 .../grep-2.5.4-2-msys-1.0.13-doc.tar.lzma          |  Bin 73074 -> 0 bytes
 .../grep-2.5.4-2-msys-1.0.13-lang.tar.lzma         |  Bin 59226 -> 0 bytes
 .../grep-2.5.4-2-msys-1.0.13-lic.tar.lzma          |  Bin 11509 -> 0 bytes
 win32/MSYS/Base/grep/grep-2.5.4-2/grep.exe         |  Bin 109568 -> 0 bytes
 win32/MSYS/Base/grep/grep-2.5.4-2/msys-iconv-2.dll |  Bin 1019904 -> 0 bytes
 win32/MSYS/Base/grep/grep-2.5.4-2/msys-intl-8.dll  |  Bin 48128 -> 0 bytes
 .../libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma     |  Bin 531196 -> 0 bytes
 .../libiconv-1.14-1-msys-1.0.17-doc.tar.lzma       |  Bin 58102 -> 0 bytes
 .../libiconv-1.14-1-msys-1.0.17-lic.tar.lzma       |  Bin 19267 -> 0 bytes
 .../libcrypt-1.1_1-3-msys-1.0.13-dll-0.tar.lzma    |  Bin 4137 -> 0 bytes
 .../expat-2.0.1-1-msys-1.0.13-doc.tar.lzma         |  Bin 34359 -> 0 bytes
 .../expat-2.0.1-1-msys-1.0.13-lic.tar.lzma         |  Bin 873 -> 0 bytes
 .../libexpat-2.0.1-1-msys-1.0.13-dll-1.tar.lzma    |  Bin 50207 -> 0 bytes
 ...libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma |  Bin 670631 -> 0 bytes
 .../perl-5.8.8-1-msys-1.0.17-bin.tar.lzma          |  Bin 6979008 -> 0 bytes
 .../perl-5.8.8-1-msys-1.0.17-doc.tar.lzma          |  Bin 1594432 -> 0 bytes
 .../perl-5.8.8-1-msys-1.0.17-html.tar.lzma         |  Bin 2074086 -> 0 bytes
 .../perl-5.8.8-1-msys-1.0.17-lic.tar.lzma          |  Bin 8051 -> 0 bytes
 .../perl-5.8.8-1-msys-1.0.17-man.tar.lzma          |  Bin 1989103 -> 0 bytes
 .../wget-1.12-1-msys-1.0.13-bin.tar.lzma           |  Bin 133606 -> 0 bytes
 win32/MSYS/MSYS-1.0.11.exe                         |  Bin 3283940 -> 0 bytes
 .../binutils-2.22-1-mingw32-bin.tar.lzma           |  Bin 3790918 -> 0 bytes
 .../binutils-2.22-1-mingw32-doc.tar.lzma           |  Bin 710683 -> 0 bytes
 .../binutils-2.22-1-mingw32-lang.tar.lzma          |  Bin 910937 -> 0 bytes
 .../binutils-2.22-1-mingw32-lic.tar.lzma           |  Bin 10378 -> 0 bytes
 .../gcc-4.6.2-1/gcc-4.6.2-1-mingw32-doc.tar.lzma   |  Bin 1433622 -> 0 bytes
 .../gcc-4.6.2-1/gcc-4.6.2-1-mingw32-lang.tar.lzma  |  Bin 1296440 -> 0 bytes
 .../gcc-4.6.2-1/gcc-4.6.2-1-mingw32-lic.tar.lzma   |  Bin 21222 -> 0 bytes
 .../gcc-c++-4.6.2-1-mingw32-bin.tar.lzma           |  Bin 5927429 -> 0 bytes
 .../gcc-core-4.6.2-1-mingw32-bin.tar.lzma          |  Bin 9900724 -> 0 bytes
 .../libgcc-4.6.2-1-mingw32-dll-1.tar.lzma          |  Bin 42182 -> 0 bytes
 .../libgomp-4.6.2-1-mingw32-dll-1.tar.lzma         |  Bin 19058 -> 0 bytes
 .../libstdc++-4.6.2-1-mingw32-dll-6.tar.lzma       |  Bin 227297 -> 0 bytes
 .../gettext-0.18.1.1-2-mingw32-bin.tar.lzma        |  Bin 76345 -> 0 bytes
 .../gettext-0.18.1.1-2-mingw32-dev.tar.lzma        |  Bin 1627399 -> 0 bytes
 .../gettext-0.18.1.1-2-mingw32-doc.tar.lzma        |  Bin 375163 -> 0 bytes
 .../gettext-0.18.1.1-2-mingw32-lic.tar.lzma        |  Bin 18877 -> 0 bytes
 .../libasprintf-0.18.1.1-2-mingw32-dll-0.tar.lzma  |  Bin 19790 -> 0 bytes
 .../libgettextpo-0.18.1.1-2-mingw32-dll-0.tar.lzma |  Bin 524918 -> 0 bytes
 .../libintl-0.18.1.1-2-mingw32-dll-8.tar.lzma      |  Bin 45201 -> 0 bytes
 .../gmp-5.0.1-1/gmp-5.0.1-1-mingw32-dev.tar.lzma   |  Bin 37573 -> 0 bytes
 .../gmp-5.0.1-1/gmp-5.0.1-1-mingw32-doc.tar.lzma   |  Bin 300722 -> 0 bytes
 .../gmp-5.0.1-1/gmp-5.0.1-1-mingw32-lic.tar.lzma   |  Bin 13164 -> 0 bytes
 .../libgmp-5.0.1-1-mingw32-dll-10.tar.lzma         |  Bin 159027 -> 0 bytes
 .../libgmpxx-5.0.1-1-mingw32-dll-4.tar.lzma        |  Bin 144986 -> 0 bytes
 .../libcharset-1.14-2-mingw32-dll-1.tar.lzma       |  Bin 14915 -> 0 bytes
 .../libiconv-1.14-2-mingw32-bin.tar.lzma           |  Bin 48030 -> 0 bytes
 .../libiconv-1.14-2-mingw32-dev.tar.lzma           |  Bin 643397 -> 0 bytes
 .../libiconv-1.14-2-mingw32-dll-2.tar.lzma         |  Bin 548749 -> 0 bytes
 .../libiconv-1.14-2-mingw32-doc.tar.lzma           |  Bin 57793 -> 0 bytes
 .../libiconv-1.14-2-mingw32-lic.tar.lzma           |  Bin 19265 -> 0 bytes
 .../mingwrt-3.20-2-mingw32-dev.tar.lzma            |  Bin 248801 -> 0 bytes
 .../mingwrt-3.20-2-mingw32-dll.tar.lzma            |  Bin 5705 -> 0 bytes
 .../libmpc-0.8.1-1-mingw32-dll-2.tar.lzma          |  Bin 24146 -> 0 bytes
 .../mpc-0.8.1-1/mpc-0.8.1-1-mingw32-dev.tar.lzma   |  Bin 5803 -> 0 bytes
 .../mpc-0.8.1-1/mpc-0.8.1-1-mingw32-doc.tar.lzma   |  Bin 15375 -> 0 bytes
 .../mpc-0.8.1-1/mpc-0.8.1-1-mingw32-lic.tar.lzma   |  Bin 8942 -> 0 bytes
 .../libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma         |  Bin 111144 -> 0 bytes
 .../mpfr-2.4.1-1/mpfr-2.4.1-1-mingw32-dev.tar.lzma |  Bin 16194 -> 0 bytes
 .../mpfr-2.4.1-1/mpfr-2.4.1-1-mingw32-doc.tar.lzma |  Bin 228875 -> 0 bytes
 .../mpfr-2.4.1-1/mpfr-2.4.1-1-mingw32-lic.tar.lzma |  Bin 10888 -> 0 bytes
 ...dgc-2.9.0-mingw32-pre-20110507-2-dll-2.tar.lzma |  Bin 27360 -> 0 bytes
 ...gce-2.9.0-mingw32-pre-20110507-2-dll-2.tar.lzma |  Bin 28887 -> 0 bytes
 ...serex-2.9.0-mingw32-pre-20110507-2-dll.tar.lzma |  Bin 5650 -> 0 bytes
 ...s-w32-2.9.0-mingw32-pre-20110507-2-dev.tar.lzma |  Bin 21559 -> 0 bytes
 ...s-w32-2.9.0-mingw32-pre-20110507-2-doc.tar.lzma |  Bin 135645 -> 0 bytes
 ...s-w32-2.9.0-mingw32-pre-20110507-2-lic.tar.lzma |  Bin 10516 -> 0 bytes
 .../w32api-3.15/w32api-3.15-1-mingw32-dev.tar.lzma |  Bin 1128210 -> 0 bytes
 .../autoconf2.5-2.68-1-mingw32-bin.tar.lzma        |  Bin 270018 -> 0 bytes
 .../autoconf2.5-2.68-1-mingw32-doc.tar.lzma        |  Bin 611911 -> 0 bytes
 .../autoconf2.5-2.68-1-mingw32-lic.tar.lzma        |  Bin 15369 -> 0 bytes
 .../automake1.11-1.11.1-1-mingw32-bin.tar.lzma     |  Bin 297618 -> 0 bytes
 .../automake1.11-1.11.1-1-mingw32-doc.tar.lzma     |  Bin 385067 -> 0 bytes
 .../automake1.11-1.11.1-1-mingw32-lic.tar.lzma     |  Bin 6599 -> 0 bytes
 .../bzip2-1.0.6-1-mingw32-bin.tar.lzma             |  Bin 38398 -> 0 bytes
 .../bzip2-1.0.6-1-mingw32-dev.tar.lzma             |  Bin 25285 -> 0 bytes
 .../bzip2-1.0.6-1-mingw32-doc.tar.lzma             |  Bin 388116 -> 0 bytes
 .../bzip2-1.0.6-1-mingw32-lic.tar.lzma             |  Bin 8705 -> 0 bytes
 .../bzip2-1.0.6-1-mingw32-man.tar.lzma             |  Bin 8770 -> 0 bytes
 .../libbz2-1.0.6-1-mingw32-dll-2.tar.lzma          |  Bin 40449 -> 0 bytes
 .../expat-2.0.1-1/expat-2.0.1-1-mingw32-bin.tar.gz |  Bin 8278 -> 0 bytes
 .../expat-2.0.1-1/expat-2.0.1-1-mingw32-doc.tar.gz |  Bin 39603 -> 0 bytes
 .../expat-2.0.1-1/expat-2.0.1-1-mingw32-lic.tar.gz |  Bin 863 -> 0 bytes
 .../libexpat-2.0.1-1-mingw32-dev.tar.gz            |  Bin 84337 -> 0 bytes
 .../libexpat-2.0.1-1-mingw32-dll-1.tar.gz          |  Bin 62787 -> 0 bytes
 .../gdb/GDB-7.4/gdb-7.4-2-mingw32-bin.tar.lzma     |  Bin 1347197 -> 0 bytes
 .../gdb/GDB-7.4/gdb-7.4-2-mingw32-doc.tar.lzma     |  Bin 586672 -> 0 bytes
 .../gdb/GDB-7.4/gdb-7.4-2-mingw32-lic.tar.lzma     |  Bin 10378 -> 0 bytes
 .../libltdl-2.4-1-mingw32-dev.tar.lzma             |  Bin 21973 -> 0 bytes
 .../libltdl-2.4-1-mingw32-dll-7.tar.lzma           |  Bin 20319 -> 0 bytes
 .../libtool-2.4-1-mingw32-bin.tar.lzma             |  Bin 261982 -> 0 bytes
 .../libtool-2.4-1-mingw32-doc.tar.lzma             |  Bin 325790 -> 0 bytes
 .../libtool-2.4-1-mingw32-lic.tar.lzma             |  Bin 6600 -> 0 bytes
 .../make-3.82-5-mingw32-bin.tar.lzma               |  Bin 93652 -> 0 bytes
 .../make-3.82-5-mingw32-doc.tar.lzma               |  Bin 122516 -> 0 bytes
 .../make-3.82-5-mingw32-lang.tar.lzma              |  Bin 125422 -> 0 bytes
 win32/Other/XML-Simple-2.18.tar.gz                 |  Bin 71129 -> 0 bytes
 win32/Other/intltool_0.40.4-1_win32.zip            |  Bin 47572 -> 0 bytes
 win32/Other/pexports-0.46-mingw32-bin.tar.xz       |  Bin 182900 -> 0 bytes
 win32/z_Install/1a_MSYS.bat                        |    3 -
 win32/z_Install/1b_MSYS-perl.bat                   |   12 -----
 win32/z_Install/1c_MSYS-perl-XMLSimple.bat         |   12 -----
 win32/z_Install/1d_MSYS-grep.bat                   |   11 ----
 win32/z_Install/1e_MSYS-wget.bat                   |   10 ----
 win32/z_Install/2a_MinGW.bat                       |   21 --------
 win32/z_Install/2b_MinGW-intltool.bat              |    8 ---
 win32/z_Install/2c_MinGW-pexports.bat              |    9 ----
 win32/z_Install/3_Python.bat                       |    7 ---
 win32/z_Install/4_MSYS-initbuild.bat               |   24 ---------
 win32/z_Install/INSTRUCTIONS.txt                   |   38 ++++----------
 ...gw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz |  Bin 0 -> 266512 bytes
 win32/{Other => z_Install/Tools}/python-2.5.4.msi  |  Bin 11323392 -> 11323392 bytes
 win32/z_Install/setup.bat                          |   51 ++++++++++++++++++++
 117 files changed, 62 insertions(+), 144 deletions(-)
---
diff --git a/win32/z_Install/INSTRUCTIONS.txt b/win32/z_Install/INSTRUCTIONS.txt
index c4330b5..1cbd560 100644
--- a/win32/z_Install/INSTRUCTIONS.txt
+++ b/win32/z_Install/INSTRUCTIONS.txt
@@ -1,33 +1,17 @@
 
- GTK+ 3.6.4 Build system v4 - by Tarnyko <tarnyko tarnyko net>
- --------------------------
+ GTK+ Build System
+ -----------------
 
-1a) Run "1a_MSYS.bat" to install MSYS. Keep the default path
-    ("C:\msys\1.0").
+1) Run "setup.bat" to install mingw, msys and all the required packages
 
-    Answer "y" then "n" to the postinstall script.
-
-1b) Run "1b_MSYS-perl.bat" to install MSYS-perl.
-
-1c) Run "1c_MSYS-perl-XMLSimple.bat" to install XML::Simple
-    for MSYS-perl.
-
-1d) Run "1d_MSYS-grep.bat" to update MSYS-grep.
-
-2a) Run "2a_MinGW.bat" to install MinGW.
-
-2b) Run "2b_MinGW-intltool.bat" to install intltool for MinGW.
-
-3) Run "3_Python.bat" to install Python. Keep the default path
-    ("C:\Python25").
-
-4) Run "4_MSYS-initbuild" to prepare MSYS for the builds.
+2) Run "c:\mingw\msys\1.0\msys.bat
+  - run /postinstall/pi.sh
+  - Answer 'y'
 
  Finally... go the "libs" folder, copy its whole content to the
-"c:\msys\1.0\home\<USER>" folder (where <USER> is your Windows
-username ; if it doesn't exist, run MSYS once before), open MSYS
-(desktop link or "c:\msys\1.0\msys.bat") and run the scripts by
-numerical order, this way :
+"c:\mingw\msys\1.0\home\<USER>" folder (where <USER> is your Windows
+username), open MSYS (desktop link or "c:\mingw\msys\1.0\msys.bat")
+and run the scripts by numerical order, this way :
 
 ./1_zlib.bat
 ./2_xz.bat
@@ -40,5 +24,5 @@ numerical order, this way :
 
 ./BUILD_ALL.bat
 
- (PS : Resulting binaries will be in "c:\msys\1.0\opt",
-       compilation log files in "C:\msys\1.0\home\<USER>\logs")
\ No newline at end of file
+ (PS : Resulting binaries will be in "c:\mingw\msys\1.0\opt",
+       compilation log files in "C:\mingw\msys\1.0\home\<USER>\logs")
diff --git a/win32/z_Install/Tools/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz 
b/win32/z_Install/Tools/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz
new file mode 100644
index 0000000..5dfe9c6
Binary files /dev/null and b/win32/z_Install/Tools/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz differ
diff --git a/win32/z_Install/setup.bat b/win32/z_Install/setup.bat
new file mode 100644
index 0000000..0bcb23e
--- /dev/null
+++ b/win32/z_Install/setup.bat
@@ -0,0 +1,51 @@
+rem Feel free to customize this
+set MINGWDIR=c:\mingw
+
+mkdir %MINGWDIR%
+
+mkdir cache
+xcopy Tools\mingw-get-0.6.2-mingw32-beta-20131004-1-bin.tar.xz cache
+cd cache
+..\Tools\xz -d *.xz
+for %%i in (*.tar) do ..\Tools\tar -xf %%i -C %MINGWDIR%
+del /q *.tar
+cd ..
+
+rem Install python
+Tools\python-2.5.4.msi
+
+rem Install all the required packages
+cd %MINGWDIR%\bin
+mingw-get.exe update
+mingw-get.exe install mingw-get
+copy ..\var\lib\mingw-get\data\defaults.xml ..\var\lib\mingw-get\data\profile.xml
+mingw-get.exe install mingw32-gcc
+mingw-get.exe install mingw32-gcc-g++
+mingw-get.exe install mingw32-pexports
+rem the latest version of gettext is broken, see: 
http://stackoverflow.com/questions/23637991/building-lzma-linker-errors
+mingw-get.exe upgrade "gettext=0.18.3.1-1*"
+mingw-get.exe install mingw-developer-toolkit
+mingw-get.exe install msys-wget
+mingw-get.exe install msys-unzip
+mingw-get.exe install msys-libiconv
+
+rem Set the right exports
+set PREFIX=opt
+
+echo export PREFIX="/%PREFIX%" >> %MINGWDIR%\msys\1.0\etc\profile
+
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\bin
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\etc
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\include
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\lib
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\lib\pkgconfig
+mkdir %MINGWDIR%\msys\1.0\%PREFIX%\share
+
+
+echo export PATH="$PATH:/%PREFIX%/bin:/c/Python25" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export CFLAGS="-I/%PREFIX%/include" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export CPPFLAGS="-I/%PREFIX%/include" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export LDFLAGS="-L/%PREFIX%/lib" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export PKG_CONFIG_PATH="/%PREFIX%/lib/pkgconfig" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export XDG_DATA_DIRS="/%PREFIX%/share" >> %MINGWDIR%\msys\1.0\etc\profile


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