9 2. Build the package on platforms not listed here, and add them to the |
9 2. Build the package on platforms not listed here, and add them to the |
10 list: |
10 list: |
11 Windows XP 32bit |
11 Windows XP 32bit |
12 Ubuntu 10.4 32bit |
12 Ubuntu 10.4 32bit |
13 |
13 |
14 3. Find all the perl scripts that are exported and ensure they run on |
14 3. Fix the package to be 32/64 bit portable. *Not easy* |
|
15 |
|
16 4. Find all the perl scripts that are exported and ensure they run on |
15 Linux. |
17 Linux. |
16 |
18 |
17 4. Differentiate the exports so that .bat files are only exported by |
19 5. Differentiate the exports so that .bat files are only exported by |
18 Windows builds and .sh files are only exported by *nix builds |
20 Windows builds and .sh files are only exported by *nix builds |
19 |
21 |
20 5. On Windows, the imgcheck target needs to link against libwsock32.a. This |
22 6. On Windows, the imgcheck target needs to link against libwsock32.a. This |
21 library exist in the gcc mingw lib directory in the PDT, but because |
23 library exist in the gcc mingw lib directory in the PDT, but because |
22 the library is specified with the STATICLIBRARY keyword, the linker looks |
24 the library is specified with the STATICLIBRARY keyword, the linker looks |
23 for it in the epoc32\release\tools2\{deb|rel} directory and doesn't find it. |
25 for it in the epoc32\release\tools2\{deb|rel} directory and doesn't find it. |
24 It is not included in the upstream package, so it cannot be exported there. |
26 It is not included in the upstream package, so it cannot be exported there. |
25 This bug has been worked around as one of the things done by the |
27 This bug has been worked around as one of the things done by the |
26 fix_epoc32_win.pl script - it just copies libwsock32.a from the PDT to |
28 fix_epoc32_win.pl script - it just copies libwsock32.a from the PDT to |
27 the tools2 release deb|rel directories, but a real solution should be found. |
29 the tools2 release deb|rel directories, but a real solution should be found. |
28 Preferably, for all targets on Windows the gcc mingw libraries should be in |
30 Preferably, for all targets on Windows the gcc mingw libraries should be in |
29 the linker's search path. |
31 the linker's search path. |
30 |
32 |
31 6. Add a toplevel GNU makefile to the package and scripting to support it which |
33 7. Add a toplevel GNU makefile to the package and scripting to support it which |
32 can generate a GNU tarball containing a "normalised Linux" simplification of |
34 can generate a GNU tarball containing a "normalised Linux" simplification of |
33 the package. The normalised Linux spin will strip out everything from the |
35 the package. The normalised Linux spin will strip out everything from the |
34 package contents and build that is only required for Windows or would |
36 package contents and build that is only required for Windows or would |
35 normally be provided by package prerequisities in a Linux setting, e.g. it |
37 normally be provided by package prerequisities in a Linux setting, e.g. it |
36 will not contain Windows binaries or build its own versions of make, bash, |
38 will not contain Windows binaries or build its own versions of make, bash, |
37 cpp, python. A normalised Linux spin would be the right basis on which |
39 cpp, python. A normalised Linux spin would be the right basis on which |
38 to build .deb or .rpm packaging. |
40 to build .deb or .rpm packaging. |
|
41 |
39 |
42 |