Changeset 700
- Timestamp:
- 08/21/07 08:25:18 (12 months ago)
- Location:
- museek+/trunk/sources
- Files:
-
- 15 added
- 1 removed
- 12 modified
- 1 moved
-
INSTALL (modified) (1 diff)
-
Mucipher/SConscript (modified) (1 diff)
-
Muhelp/SConscript (modified) (1 diff)
-
Museek/SConscript (modified) (1 diff)
-
Museekal/SConscript (modified) (1 diff)
-
PyMucipher (added)
-
PyMucipher/PKG-INFO (added)
-
PyMucipher/aes.c (added)
-
PyMucipher/hexdigest.c (added)
-
PyMucipher/md5.c (added)
-
PyMucipher/mucipher.h (added)
-
PyMucipher/mucipher.i (added)
-
PyMucipher/mucipher.py (added)
-
PyMucipher/setup.py (added)
-
PyMucipher/sha.c (added)
-
PyMucipher/sha256.c (added)
-
PyMucipher/system.h (added)
-
PyMucipher/wraphelp.c (added)
-
SConstruct (modified) (2 diffs)
-
Tools/SConscript (modified) (2 diffs)
-
defaults.py (modified) (1 diff)
-
mucous/SConscript (modified) (1 diff)
-
museeq/SConscript (modified) (1 diff)
-
pymuseekd/SConscript (modified) (4 diffs)
-
pymuseekd/museek/SConscript (modified) (1 diff)
-
pymuseekd/museek/messages.py (added)
-
pymuseekd/museek/messages.py.in (deleted)
-
pymuseekd/musetup (moved) (moved from museek+/trunk/sources/pymuseekd/musetup.in)
-
pymuseekd/setup.py (added)
Legend:
- Unmodified
- Added
- Removed
-
museek+/trunk/sources/INSTALL
r699 r700 35 35 # make 36 36 # make install 37 38 --------------- 39 distutils (Python's built-in installation tool) 40 --------------- 41 PyMucipher (requires SWIG, Python) 42 # cd PyMucipher/ 43 # python setup.py build 44 # python setup.py install 45 # (or) python setup.py install --prefix=/usr/local 46 ............... 47 PyMuseekd, Python Tools and Clients (requires PyCrypto or PyMucipher) 48 # cd pymuseekd/ 49 # python setup.py build 50 # python setup.py install 51 # (or) python setup.py install --prefix=/usr/local 52 --------------- -
museek+/trunk/sources/Mucipher/SConscript
r399 r700 16 16 open(str("wraphelp.c"), "w").write(open(os.path.abspath("../../Mucipher/wraphelp.c")).read()) 17 17 18 if 'swig' in env['TOOLS']: 19 import os 20 SConscript(os.path.join('python', 'SConscript')) 21 print "SWIG found, building Python bindings for mucipher." 18 if env['PYMUCIPHER']: 19 if 'swig' in env['TOOLS']: 20 import os 21 SConscript(os.path.join('python', 'SConscript')) 22 print "SWIG found, building Python bindings for mucipher." 23 print "If you get an error like: No such file or directory: 'mucipher.i'" 24 print "Disable with: PYMUCIPHER=0" 25 else: 26 print "WARNING: SWIG not found , NOT building Python bindings for mucipher." 22 27 else: 23 print "WARNING: SWIG not found, NOT building Python bindings for mucipher." 24 # SConscript(os.path.join('perl', 'SConscript')) 25 # can't use perl, cstring not implemented in swig-perl 28 print "WARNING: PyMucipher disabled, NOT building Python bindings for mucipher." 29 print "Enable with: PYMUCIPHER=0" 30 print "Looking for replacement (PyCrypto)..." 31 try: 32 import Crypto 33 except Exception, error: 34 print "PyCrypto is not available, maybe you should install it?:", error 35 else: 36 print "PyCrypto is available, PyMucipher isn't needed anyway." 37 38 #SConscript(os.path.join('perl', 'SConscript')) 39 #can't use perl, cstring not implemented in swig-perl 40 print -
museek+/trunk/sources/Muhelp/SConscript
r2 r700 44 44 45 45 env.StaticLibrary(target = 'muhelp', source = sources) 46 print -
museek+/trunk/sources/Museek/SConscript
r85 r700 32 32 33 33 env.StaticLibrary(target = 'museek', source = sources) 34 print -
museek+/trunk/sources/Museekal/SConscript
r2 r700 20 20 21 21 env.StaticLibrary(target = 'museekal', source = sources) 22 print -
museek+/trunk/sources/SConstruct
r462 r700 33 33 opts.Add(BoolOption('RELEASE', 'Build for release', '')) 34 34 opts.Add(ListOption('MULOG', 'Set debug output', '', ['debug', 'cycle', 'calltrace', 'traffictime'])) 35 opts.Add(BoolOption('PYMUCIPHER', 'Compile PyMucipher module with SWIG', '')) 35 36 opts.Add('MUSEEQTRANSLATIONS', 'Build translations for', '', ) 36 37 #['fr','de','es','it','pl','ru','pt_BR','ja','zh','sk','he', 'ar', 'cs' ] … … 385 386 f.write('RELEASE = %s\n' % (`env['RELEASE']`)) 386 387 f.write('MULOG = %s\n' % (`string.join(env['MULOG'], ',')`)) 388 f.write('PYMUCIPHER = %s\n' % (`env['PYMUCIPHER']`)) 387 389 f.write('LOCKFLAGS = %s\n' % (`env['LOCKFLAGS']`)) 388 390 -
museek+/trunk/sources/Tools/SConscript
r431 r700 61 61 env.Alias('install_muscan', install) 62 62 env.Alias('install', 'install_muscan') 63 63 print "* muscan will be installed" 64 64 65 65 env_muscand = env_libmuscan.Copy() … … 80 80 env.Alias('install_muscand', install) 81 81 env.Alias('install', 'install_muscand') 82 82 print "* muscand will be installed" 83 83 84 84 85 85 86 86 conf.Finish() 87 print -
museek+/trunk/sources/defaults.py
r431 r700 25 25 # Debugging verbosity (debug, cycle, calltrace) 26 26 MULOG='debug' 27 28 # Compile PyMucipher module with SWIG 29 PYMUCIPHER=1 27 30 28 31 # Do Not allow SCons to modify your CFLAGS, keep them as inputted -
museek+/trunk/sources/mucous/SConscript
r85 r700 9 9 targets = [] 10 10 manfile = [] 11 if 'swig' in env['TOOLS']:12 targets.append('mucous')13 manfile.append("mucous.1")14 man_install = env.Install(env['DESTDIR'] + env['MANDIR'], manfile)15 11 16 install = env.Install(env['DESTDIR'] + env['BINDIR'], targets) 17 env.Alias('install_mucous', man_install) 18 env.Alias('install_mucous', install) 19 env.Alias('install', 'install_mucous') 20 SConscript(os.path.join('pymucous', 'SConscript')) 21 print "SWIG found, mucous will be installed" 12 targets.append('mucous') 13 manfile.append("mucous.1") 14 man_install = env.Install(env['DESTDIR'] + env['MANDIR'], manfile) 15 16 install = env.Install(env['DESTDIR'] + env['BINDIR'], targets) 17 env.Alias('install_mucous', man_install) 18 env.Alias('install_mucous', install) 19 env.Alias('install', 'install_mucous') 20 SConscript(os.path.join('pymucous', 'SConscript')) 21 22 print "* mucous will be installed" 23 if env['PYMUCIPHER'] and 'swig' in env['TOOLS']: 24 pass 22 25 else: 23 print "WARNING: SWIG not found, mucous will NOT be installed"26 print "WARNING: PyMucipher may not be available, so you should install either PyCrypto, or PyMucipher" -
museek+/trunk/sources/museeq/SConscript
r694 r700 321 321 322 322 env.Alias('install', 'install_museeq') 323 323 print -
museek+/trunk/sources/pymuseekd/SConscript
r175 r700 1 1 Import('env') 2 2 import os 3 4 def build_setup(target, source, env):5 open(str(target[0]), 'w').write( open(str(source[0]), 'r').read() )6 os.chmod(str(target[0]), 0755)7 return 08 3 9 4 try: … … 13 8 print "\nWARNING: pyexpat not found, musetup will NOT run, but will be installed." 14 9 15 targets = [ env.Command('musetup', ['musetup.in'], build_setup)]10 targets = ["musetup"] 16 11 manfile = ["musetup.1"] 17 12 print "* musetup will be installed" 18 13 if env["MUSETUPGTK"]: 19 14 try: … … 29 24 targets.append('musetup-gtk') 30 25 manfile.append ("musetup-gtk.1") 31 if 'swig' in env['TOOLS']: 32 targets.append('mulog') 33 targets.append('museekcontrol')34 manfile.append("mulog.1")35 manfile.append("museekcontrol.1")36 print "SWIG found, mulog and museekcontrol will be installed." 37 else: 38 print "WARNING: SWIG not found, mulog and museekcontrol will NOT be installed."26 print "* musetup-gtk will be installed" 27 28 targets.append('mulog') 29 targets.append('museekcontrol') 30 manfile.append("mulog.1") 31 manfile.append("museekcontrol.1") 32 print "* mulog will be installed" 33 print "* museekcontrol will be installed" 39 34 40 35 man_install = env.Install(env['DESTDIR'] + env['MANDIR'], manfile) … … 45 40 env.Alias('install', 'install_pymuseekd') 46 41 47 if 'swig' in env['TOOLS']: 48 SConscript(os.path.join('museek', 'SConscript')) 42 if env['PYMUCIPHER'] and 'swig' in env['TOOLS']: 43 pass 44 else: 45 print "WARNING: PyMucipher is not going to be installed, so you should install either PyCrypto, or PyMucipher" 46 SConscript(os.path.join('museek', 'SConscript')) 47 print -
museek+/trunk/sources/pymuseekd/museek/SConscript
r2 r700 1 def iface_build(target, source, env):2 from muscons import IfaceGen3 IfaceGen(str(target[0]), str(source[0]), str(source[1]))4 return 05 6 1 Import('env') 7 env.Command('messages.py', ['messages.py.in', '../../museekd/IfaceMessages.hh'], iface_build)8 2 9 3 files = Split("""
