Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
diana:windows:building:packaging [2010-04-07 08:35:32] dages created |
diana:windows:building:packaging [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
**TODO:** update for dynamic libpq / libavformat | **TODO:** update for dynamic libpq / libavformat | ||
- | ===== Create the installation tree ===== | + | ===== The stupid way ===== |
+ | |||
+ | ==== Create the installation tree ==== | ||
Create a scratch directory (e.g. '' | Create a scratch directory (e.g. '' | ||
Line 16: | Line 18: | ||
$ strip c:/ | $ strip c:/ | ||
- | ===== Qt ===== | + | ==== Qt ==== |
Copy the following Qt libraries into '' | Copy the following Qt libraries into '' | ||
Line 28: | Line 30: | ||
**NOTE:** I'm unsure about '' | **NOTE:** I'm unsure about '' | ||
- | ===== Other third-party stuff ===== | + | ==== Other third-party stuff ==== |
Copy the following files from '' | Copy the following files from '' | ||
+ | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
Line 38: | Line 41: | ||
**XXX** will [[windows: | **XXX** will [[windows: | ||
- | ===== Zip it ===== | + | ==== Zip it ==== |
$ cd c:/ | $ cd c:/ | ||
$ zip -9 -r ~/ | $ zip -9 -r ~/ | ||
+ | ===== The smart way (slightly more complicated) ===== | ||
+ | |||
+ | Install everything into '' | ||
+ | |||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | C:\> zip -9rv met.no/ | ||
+ | | ||
+ | ===== The quick way ===== | ||
+ | |||
+ | There should be a batch file called diana-zip.bat in '' | ||
+ | |||
+ | It expects exactly one command-line argument, which should be the version number or identificator ('' | ||
+ | |||
+ | It will create a zip file in '' | ||
+ | |||
+ | C:\> \met.no\bin\diana-zip TEST | ||
+ | |||
+ | and answer '' | ||
+ | |||
+ | ====== License compliance ====== | ||
+ | |||
+ | If you are going to distribute the ZIP file outside your organization, | ||
+ | |||
+ | To comply with the GPL, you also need to make sure that the source code for the exact versions you used //and// any patches you have applied //and// complete instructions for building metlibs and diana are available to all recipients of the compiled binaries.ls |