wiki:pkg-msys

Version 76 (modified by martinl, 11 years ago) ( diff )

--

msys

Changes

  • 1.0.11-11: added 'zip' package
  • 1.0.11-12: fix dependencies for 'zip' package
  • 1.0.18-1: new installation via MinGW

Open Tickets

No results

Closed Tickets

#78
msys.bat overrides %HOME%
#454
overflow with ls

Packaging notes (msys and mingw package)

Install MinGW

  1. Download latest installer.
  1. Choose MSYS Base System | C & C++ Compiler, MSYS Base System and MinGW Developer Toolkit (mingw package).
  1. Install MinGW (including MSYS) into C:\MinGW.
  1. Modify C:\MinGW\msys\1.0\msys.bat
--- msys.bat	2009-07-11 18:34:35 +0000
+++ apps/msys/msys.bat	2012-02-09 18:03:45 +0000
@@ -12,6 +12,8 @@
 rem A value similar to C:\msys\1.0\bin is what the "Start in:" field needs
 rem to represent.
 
+call "%~dp0\..\..\bin\o4w_env.bat"
+
 rem ember value of GOTO: is used to know recursion has happened.
 if "%1" == "GOTO:" goto %2
  1. Modify C:\MinGW\msys\1.0\etc\fstab
--- apps/msys/etc/fstab.sample  2009-07-11 18:34:34 +0000
+++ apps/msys/etc/fstab 2012-02-09 16:11:26 +0000
@@ -13,5 +13,4 @@
-C:\MinGW\   /mingw
+@osgeo4w@              /osgeo4w

Download extra packages

  1. Download extra pre-built binaries

(updates may be found here)

  1. Unpack into c:\MinGW\msys\1.0

Download extra packages for mingw package

  1. Download extra packages
  1. Download extra MinGW packages

(updates may be found here)

  1. Download extra pre-built binaries

(updates may be found here)

  1. Download the latest make program compliant with the OSGeo4W framework from here (future updates may be found here)
  1. Unpack files into c:\MinGW

Etc scripts

  1. Create c:\osgeo4w\etc\ini and save msys.bat into this directory
PATH %PATH%;%OSGEO4W_ROOT%\apps\msys\bin
if not defined HOME set HOME=%USERPROFILE%
  1. Create c:\osgeo4w\etc\postinstall and save msys.bat into this directory
mkdir "%OSGEO4W_STARTMENU%"
xxmklink "%OSGEO4W_STARTMENU%\MSYS.lnk"       "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico"

xxmklink "%ALLUSERSPROFILE%\Desktop\MSYS.lnk" "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico"

textreplace -std -t apps/msys/etc/fstab
Note: See TracWiki for help on using the wiki.