Changes between Version 1 and Version 2 of OSGeo4W_jp/PackagingInstructions


Ignore:
Timestamp:
Feb 8, 2010, 8:56:22 PM (14 years ago)
Author:
hfujii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSGeo4W_jp/PackagingInstructions

    v1 v2  
    1 このページは describes techniques used for preparing OSGeo4W packages.
     1このページは OSGeo4W パッケージの作成に使用された手法を説明するものです。
    22[[TOC]]
    33= General =
     
    2323'''Note:''' Please use `tar` & `bzip2` from osgeo4w's msys (%OSGEO4W_ROOT%\apps\msys\bin). Don't use 7zip as setup.exe can't understand the archives it creates, and there is mixed success with gnuwin32 bzip2 and cygwin bzip2. Linux tar/bzip2 has no reported problems. (see ticket #101)
    2424
    25 == Web Application Package Guidelines ==
     25== ウェブアプリケーションパッケージガイドライン ==
    2626
    2727Here are some important guidelines:
     
    6969
    7070
    71 == Post-Install Actions ==
     71== インストール後の動作 ==
    7272
    7373Packages may take post-install actions by including a .bat file in the /etc/postinstall directory as part of the package.  The filename should be named etc/postinstall/<package>.bat.  The bat file will be run with the environment variables OSGEO4W_STARTMENU, OSGEO4W_HOME and OSGEO4W_HOME_MSYS defined, and with OSGEO4W_HOME/bin already in the path.
     
    115115This applies the "standard" conversions to file bin/gdal-config.tmpl and puts the results in bin/gdal-config
    116116
    117 == Creating Shortcuts ==
     117== ショートカットの作成 ==
    118118
    119119Another postinstall task that packages might do is to create shortcuts that will be available to launch a certain command. As its is the case for the textreplace executable, there is an utility binary xxmklink.exe that is available in the installer (part of the msvcrt package). By typing xxmklink, you can see all the options supported by this utility. Here are some examples on how it can be used in a post install file:
     
    136136The postinstall scripts can run any DOS command or installed binary with desired arguments.
    137137
    138 = Shell Initialization =
     138= シェルの初期化 =
    139139
    140140Some packages need to set particular environment variables.  For the OSGeo4W command shell this can be