[2f80c2]: README.LINUX.DEVELOPERS.txt Maximize Restore History

Download this file

README.LINUX.DEVELOPERS.txt    77 lines (64 with data), 2.2 kB

 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
PasswordSafe is being ported to Linux using the wxWidgets user
interface library. Following are notes for programmers wishing to
build the Linux version. Currently, PasswordSafe is being built on
Debian-based platforms (Debian and Ubuntu), so requirements are
described in terms of .deb packages. If someone builds pwsafe on
another distro, please update this document with the corresponding
package names (e.g., rpm).
Here are the packages/tools required for building the Linux version
under Debian:
fakeroot
g++
gmake (version 3.81 or newer. Makefiles are not compatible with lower versions)
libuuid1
libwxgtk2.8-dev
libwxgtk2.8-dbg
libxerces-c-dev
libxt-dev
libxtst-dev
subversion
uuid-dev
zip
For Ubuntu:
- 'make' replaces 'gmake'
For Fedora:
gcc-c++
subversion
libXt-devel
libXtst-devel
libuuid-devel
xerces-c-devel
wxGTK-devel
make
With these installed, running 'make' at the top of the source tree
will result in the debug version of pwsafe being built under
src/ui/wxWidgets/GCCUnicodeDebug (*)
(*) Note that under Fedora and RHEL5, wxGTK-devel doesn't support
"wx-config --debug=yes --unicode=yes" so just "make" fails. The
workaround is to use "make CONFIG=unicoderelease"
Create a Debian Package
=======================
Extract the source tree into some directory and change into this
directory, i.e. where Makefile.linux is present.
* make -f Makefile.linux
* make -f Makefile.linux deb
Install the Debian package
==========================
* sudo dpkg -i Releases/passwordsafe-debian-<version>.<arch>.deb
TBD:
1. Improve .deb building script
2. Add support for .rpm building
64 bit status:
Work has started on supporting 64-bit builds under Linux (thanks to
pm_kan). Currently (11/2010) the program compiles cleanly, but crashes
when trying to add an entry or otherwise access the cryptographic
functionality. Here's a partial list:
- check usage of constants instead sizeof
- check %s formats (wchar_t args in (v)(s)wprintf require %ls instead
of %s in Linux)
- use stdint.h types
- check long type sizes (in Lin x86_64 sizeof(long)==8 in
Lin32/Win32/Win64 sizeof(long)==4)
- check size_t conversions (in Lin x86_64 sizeof(size_t)!=sizeof(unsigned int))
- cppCheck warnings
- valgrind warnings