Changes between Version 7 and Version 8 of OSGeo4W_jp/SetupDevelopment


Ignore:
Timestamp:
Feb 17, 2010, 4:55:11 PM (14 years ago)
Author:
yukatohhana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OSGeo4W_jp/SetupDevelopment

    v7 v8  
     1[[TOC]]
     2
     3= セットアップ開発 =
     4
     5== Background ==
     6
     7The OSGeo4W GUI Installer is derived from the same code that the Cygwin installer uses (Cygwin is a Unix emulator on Windows).  More information about this code can be found at:
     8
     9  http://cygwin.com/setup.html
     10
     11== Building your own setup.exe ==
     12
     131. Download Cygwin installer
     14
     15   http://www.cygwin.com/setup.exe
     16
     172. Install Cygwin
     18
     19   * in the installer, no need to change anything (press <Next> until you must choose a download site)
     20   * in the '''Choose a Download Site''' window, highlight a URL that appears close to your country location, and press <Next>
     21   * in the '''Select Packages''' window, make sure to install the following packages (click on "Skip" until you see a version number beside the package name)
     22     * Devel
     23       * autoconf
     24       * automake
     25       * bison
     26       * flex
     27       * gcc-mingw-g++
     28       * libtool
     29       * make
     30     * Mingw
     31       * mingw-zlib
     32       * mingw-bzip2
     33     * also install all packages that are dependencies of the above ones (the cygwin installer should have automatically selected them for you)
     34     * after selecting the required packages, press <Next> to begin installing
     35   * you should now have a Cygwin shortcut on your desktop
     36   * if you chose default locations, if you open Windows Explorer you will see that Cygwin exists at ''C:\cygwin''
     37
     383. If you don't have Subversion installed yet:
     39
     40   * download and install a fancy GUI for SVN (such as http://tortoisesvn.tigris.org/), or
     41   * use a commandline SVN client such as from [http://subversion.tigris.org/files/documents/15/45222/svn-win32-1.5.6.zip here] 
     42     * copy the contents of that zip into your Program Files directory
     43     * add 'C:\Program Files\svn-win32-1.5.6\bin' to your PATH environment variable
     44
     454. Checkout a local copy of the OSGeo4W setup code into your Cygwin home directory
     46
     47   * using SVN commandline:
     48     * double click the "Cygwin" shortcut on your desktop
     49     * execute:
     50       * svn co https://svn.osgeo.org/osgeo4w/trunk/setup setup
     51     * you should now have a "setup" folder in your cygwin home directory, containing the OSGeo4W setup code
     52   * using SVN GUI:
     53     * checkout https://svn.osgeo.org/osgeo4w/trunk/setup to your Cygwin home directory (C:\cygwin\home\jeff)
     54
     555. Now you are ready to build the OSGeo4W setup.exe
     56
     57   * double-click the Cygwin desktop shortcut to start Cygwin
     58   * execute the following:
     59     * cd setup
     60     * ./bootstrap.sh
     61     * ./fr_configure
     62     * make
     63
     64   This should produce a setup.exe executable in the setup directory.   
     65
     66== Uploading a new setup.exe to the Download Server ==
     67
     68The fr_upload.sh and package.sh scripts should also be helpful to get the results to the OSGeo4W download server.  Note that the executable needs to be updated in two places when new versions are uploaded.  One is the http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe binary and the other is the packaged copy in http://download.osgeo.org/osgeo4w/release/setup.
     69
     70== エクスプレスパッケージの追加 ==
     71
     72以下の手順に沿って新しいエクスプレスインストールパッケージを追加してください:
     73
     74 * 最後のセクション(IDC_PKG_OPENEV, etc)にあるresource.hの新パッケージのためsymbolic defineを追加します
     75 * res.rc (search for IDC_PKG_OPENEV) に定義されているエクスプレスパッケージダイアログに新しいエントリーを追加します。他のパッケージと位置がかぶらないようにしてください。
     76 * express_package.cc ファイルにある !PackageControlPair[] 配列に新しいパッケージを追加します。このとき IDC_PKG_ constant とパッケージの名前を一致させてください。
     77
     78[wiki:OSGeo4W_jp 戻る]
     79
     80
    181= セットアップ 開発 =
    282
     
    1999セットアップソースディレクトリに setup.exe 実行可能ファイルが作成されます。fr_upload.sh と package.sh スクリプトも OSGeo4W ダウンロードサーバーの結果を得るのに有用です。新しいバージョンがアップロードされると、実行可能ファイルを2箇所でアップデートする必要があります。1つは http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe バイナリで、もう1つは http://download.osgeo.org/osgeo4w/release/setup にあるパッケージされたコピーです。
    20100
    21 == エクスプレスパッケージの追加 ==
    22 
    23 以下の手順に沿って新しいエクスプレスインストールパッケージを追加してください:
    24 
    25  * 最後のセクション(IDC_PKG_OPENEV, etc)にあるresource.hの新パッケージのためsymbolic defineを追加します
    26  * res.rc (search for IDC_PKG_OPENEV) に定義されているエクスプレスパッケージダイアログに新しいエントリーを追加します。他のパッケージと位置がかぶらないようにしてください。
    27  * express_package.cc ファイルにある !PackageControlPair[] 配列に新しいパッケージを追加します。このとき IDC_PKG_ constant とパッケージの名前を一致させてください。
    28 
    29 [wiki:OSGeo4W_jp 戻る]