Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:win32:msys2 [2016/03/13 17:39] – Add bundle and installer creation notes enricohowtos:win32:msys2 [2019/08/19 19:08] – Add warning not to install gcc and mingw-w64-i686-gcc ntrel
Line 2: Line 2:
  
 ====== Build Geany on Windows (using MSYS2) ====== ====== Build Geany on Windows (using MSYS2) ======
- 
-*** UNDER CONSTRUCTION *** 
  
 Msys2 is a successor to msys which offers a unix-like environment on Windows combined with a pacman-based package manager. It's purpose is to simplify win32 compiliations, and it's doing great at that for GTK+ stack and related projects. In fact, it's so good it should become the default method of compiling Geany on Windows. Msys2 is a successor to msys which offers a unix-like environment on Windows combined with a pacman-based package manager. It's purpose is to simplify win32 compiliations, and it's doing great at that for GTK+ stack and related projects. In fact, it's so good it should become the default method of compiling Geany on Windows.
Line 36: Line 34:
   # gtk familiy   # gtk familiy
   pacman -S mingw-w64-i686-gtk2 mingw-w64-i686-gtk3   pacman -S mingw-w64-i686-gtk2 mingw-w64-i686-gtk3
-  # for building html docs+  # for building html docs*
   pacman -S mingw-w64-i686-python2 mingw-w64-i686-python2-docutils   pacman -S mingw-w64-i686-python2 mingw-w64-i686-python2-docutils
   # and if you fancy building from git   # and if you fancy building from git
Line 42: Line 40:
   # necessary for GTK bundle and installer steps   # necessary for GTK bundle and installer steps
   pacman -S rsync   pacman -S rsync
 +  
 +*If you don't install python docutils, you will need to pass ''-''''-disable-html-docs'' to ''configure''
 +
 +Make sure you have not installed both ''gcc'' and ''mingw-w64-i686-gcc'', or you may get errors when building Geany.
      
 At last, you want to add ''C:\msys32\mingw32\bin'' to your PATH environment variable, in order to run Geany from the Windows Explorer. At last, you want to add ''C:\msys32\mingw32\bin'' to your PATH environment variable, in order to run Geany from the Windows Explorer.
Line 148: Line 150:
  
   DESTINATON=/h   DESTINATON=/h
-  VERSION="1.28"+  VERSION="1.29"
   cd ~/geany   cd ~/geany
   make distclean   make distclean
Line 195: Line 197:
  
   DESTINATON=/h   DESTINATON=/h
-  VERSION="1.28"+  VERSION="1.29"
   cd ~/geany-plugins   cd ~/geany-plugins
   make distclean   make distclean
Line 226: Line 228:
 TODO TODO
  
-{{tag>howto win32 build}}+{{tag>howto win32 build build-from-source}}
Print/export