Changes between Version 1 and Version 2 of OSGeo4W_jp/PackagingInstructions
- Timestamp:
- 02/08/10 20:56:22 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OSGeo4W_jp/PackagingInstructions
v1 v2 1 このページは describes techniques used for preparing OSGeo4W packages.1 このページは OSGeo4W パッケージの作成に使用された手法を説明するものです。 2 2 [[TOC]] 3 3 = General = … … 23 23 '''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) 24 24 25 == Web Application Package Guidelines==25 == ウェブアプリケーションパッケージガイドライン == 26 26 27 27 Here are some important guidelines: … … 69 69 70 70 71 == Post-Install Actions==71 == インストール後の動作 == 72 72 73 73 Packages 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. … … 115 115 This applies the "standard" conversions to file bin/gdal-config.tmpl and puts the results in bin/gdal-config 116 116 117 == Creating Shortcuts==117 == ショートカットの作成 == 118 118 119 119 Another 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: … … 136 136 The postinstall scripts can run any DOS command or installed binary with desired arguments. 137 137 138 = Shell Initialization=138 = シェルの初期化 = 139 139 140 140 Some packages need to set particular environment variables. For the OSGeo4W command shell this can be