-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPACKAGING.txt
84 lines (50 loc) · 1.92 KB
/
PACKAGING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Information for packaging FRAME3DD
==================================
Source tarball
--------------
To build the source tarball from subversion:
scons dist
RPM package
-----------
To build an RPM:
scons dist
rpmbuild -ta dist/frame3dd-*.tar.bz2
(Some values in ~/.rpmmacros may need to be set first)
Last tested with Fedora 9.
.DEB package
------------
To build a Debian package (e.g. suitable for Ubuntu), first get hold of the
'dtar' tool:
http://ascend4.org/Dtar
Install the debhelper package and the fakeroot package
sudo apt-get install fakeroot debhelper
Then, assuming you installed dtar somewhere on your path, (change below
according to current version number):
cd ~/frame3dd
scons dist
dtar dist/frame3dd-0.20091020.tar.bz2 dist/debian.tar.gz
You should then have a .deb file in your ~/frame3dd directory. You can check
its contents using dpkg --contents *.deb. You can then install the package
using dpkg -i *.deb.
Note that this package includes the microstran parser and rendering/viewer
program, and as such, the package has numerous dependencies. We plan to
separate this viewer into a subpackage, to allow the dependencies to be
minimised, but this has not been done just yet.
Windows installer
-----------------
To build a Windows installer (from MinGW/MSYS console):
scons installer
You will need to have NSIS installed on your system. This is the program that
actually generates the installer -- SCons just 'oversees' the process.
Mac OS X package
----------------
Mac OS X package are not yet implemented. Hopefully coming soon. For now, use
the source tarball and build for yourself. SCons should first be installed using
'easy_install' using standard Mac Python (not Fink/MacPorts).
Releasing the files
-------------------
To upload files to Sourceforge.net for distribution:
https://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20download
--
John Pye
18 Mar 2013