r36399 - in /packages/code-aster: astk/ astk/trunk/ astk/trunk/debian/ astk/trunk/debian/patches/ astk/trunk/debian/po/ astk/trunk/debian/source/ metis-edf/ metis-edf/trunk/ metis-edf/trunk/debian/ metis-edf/trunk/debian/patches/ metis-edf/trunk/debian/source/ pylotage/ pylotage/trunk/ pylotage/trunk/debian/ pylotage/trunk/debian/patches/ pylotage/trunk/debian/source/
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Sun Apr 18 20:15:32 UTC 2010
Author: sylvestre
Date: Sun Apr 18 20:15:15 2010
New Revision: 36399
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36399
Log:
Import of the work of Christophe Trophime
Added:
packages/code-aster/astk/
packages/code-aster/astk/trunk/
packages/code-aster/astk/trunk/debian/
packages/code-aster/astk/trunk/debian/README.source
packages/code-aster/astk/trunk/debian/as_run.1
packages/code-aster/astk/trunk/debian/aster_def_var.py
packages/code-aster/astk/trunk/debian/astk.1
packages/code-aster/astk/trunk/debian/astk.config
packages/code-aster/astk/trunk/debian/astk.desktop
packages/code-aster/astk/trunk/debian/astk.menu
packages/code-aster/astk/trunk/debian/astk.postinst
packages/code-aster/astk/trunk/debian/astk.postrm
packages/code-aster/astk/trunk/debian/astk.templates
packages/code-aster/astk/trunk/debian/astk.xpm
packages/code-aster/astk/trunk/debian/bsf.1
packages/code-aster/astk/trunk/debian/changelog
packages/code-aster/astk/trunk/debian/compat
packages/code-aster/astk/trunk/debian/control
packages/code-aster/astk/trunk/debian/copyright
packages/code-aster/astk/trunk/debian/get.1
packages/code-aster/astk/trunk/debian/getop.1
packages/code-aster/astk/trunk/debian/parallel_cp.1
packages/code-aster/astk/trunk/debian/patches/
packages/code-aster/astk/trunk/debian/patches/aster.diff
packages/code-aster/astk/trunk/debian/patches/config.patch
packages/code-aster/astk/trunk/debian/patches/debian-changes-1.8.0-1.1
packages/code-aster/astk/trunk/debian/patches/etc.diff
packages/code-aster/astk/trunk/debian/patches/install.diff
packages/code-aster/astk/trunk/debian/patches/series
packages/code-aster/astk/trunk/debian/patches/setup.diff
packages/code-aster/astk/trunk/debian/po/
packages/code-aster/astk/trunk/debian/po/POTFILES.in
packages/code-aster/astk/trunk/debian/po/templates.pot
packages/code-aster/astk/trunk/debian/pyversions
packages/code-aster/astk/trunk/debian/rules (with props)
packages/code-aster/astk/trunk/debian/show.1
packages/code-aster/astk/trunk/debian/source/
packages/code-aster/astk/trunk/debian/source/format
packages/code-aster/metis-edf/
packages/code-aster/metis-edf/trunk/
packages/code-aster/metis-edf/trunk/debian/
packages/code-aster/metis-edf/trunk/debian/README.Debian
packages/code-aster/metis-edf/trunk/debian/README.source
packages/code-aster/metis-edf/trunk/debian/changelog
packages/code-aster/metis-edf/trunk/debian/compat
packages/code-aster/metis-edf/trunk/debian/control
packages/code-aster/metis-edf/trunk/debian/copyright
packages/code-aster/metis-edf/trunk/debian/docs
packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postinst.debhelper
packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postrm.debhelper
packages/code-aster/metis-edf/trunk/debian/patches/
packages/code-aster/metis-edf/trunk/debian/patches/Makefile.patch
packages/code-aster/metis-edf/trunk/debian/patches/configure.patch
packages/code-aster/metis-edf/trunk/debian/patches/series
packages/code-aster/metis-edf/trunk/debian/rules (with props)
packages/code-aster/metis-edf/trunk/debian/source/
packages/code-aster/metis-edf/trunk/debian/source/format
packages/code-aster/pylotage/
packages/code-aster/pylotage/trunk/
packages/code-aster/pylotage/trunk/debian/
packages/code-aster/pylotage/trunk/debian/README.Debian
packages/code-aster/pylotage/trunk/debian/README.source
packages/code-aster/pylotage/trunk/debian/changelog
packages/code-aster/pylotage/trunk/debian/compat
packages/code-aster/pylotage/trunk/debian/control
packages/code-aster/pylotage/trunk/debian/copyright
packages/code-aster/pylotage/trunk/debian/docs
packages/code-aster/pylotage/trunk/debian/patches/
packages/code-aster/pylotage/trunk/debian/patches/debian-changes-2.0.5-1
packages/code-aster/pylotage/trunk/debian/patches/series
packages/code-aster/pylotage/trunk/debian/pyversions
packages/code-aster/pylotage/trunk/debian/rules (with props)
packages/code-aster/pylotage/trunk/debian/source/
packages/code-aster/pylotage/trunk/debian/source/format
packages/code-aster/pylotage/trunk/debian/stamp-patched
Added: packages/code-aster/astk/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/README.source?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/README.source (added)
+++ packages/code-aster/astk/trunk/debian/README.source Sun Apr 18 20:15:15 2010
@@ -1,0 +1,3 @@
+Please refer to /usr/share/doc/quilt/README.source for information on how to
+manipulate the patches for this package, which are in the debian/patches
+directory.
Added: packages/code-aster/astk/trunk/debian/as_run.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/as_run.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/as_run.1 (added)
+++ packages/code-aster/astk/trunk/debian/as_run.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,266 @@
+.\" In .TH, FOO should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.\"
+.\" This template provided by Tom Christiansen <tchrist at jhereg.perl.com>.
+.\"
+.TH AS_RUN "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+as_run \- as_run command
+.SH SYNOPSIS
+A short usage summary.
+.PP
+.B as_run
+.I action
+[
+.I options
+]
+[
+.I arguments
+]
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR as_run
+command
+.PP
+.SH FUNCTIONS
+.TP
+.B as_run \-\-getop [\fIoptions\fB] \fIcommande\fB[\fI.capy\fB]
+Return the main subroutine of a code_aster command
+.TP
+.B as_run \-\-getversion [\fIoptions\fB\fB]
+- Return current release number of the development version
+.TP
+.B as_run \-\-get [\fIoptions\fB] \fIobj1\fB [\fIobj2...\fB]
+Copy a source file in current directory
+.TP
+.B as_run \-\-show [\fIoptions\fB] \fIobj1\fB [\fIobj2...\fB]
+Show a source file : fortran, c, python, capy, cata, histor or test
+.TP
+.B as_run \-\-diff [\fIoptions\fB] \fIobj1\fB [\fIobj2...\fB]
+Show the diff of a source file : fortran, c, python, capy, cata or test
+.TP
+.B as_run \-\-get_export \fItestcase_name
+Build an export file to run a testcase and print it to stdout
+.TP
+.B as_run \-\-make [\-\-vers\fr=\fIVERS\fB] [\fItarget\fB]
+Build a code_aster version (executable, libraries, catalogues). \fItarget\fR may be all or clean
+.TP
+.B as_run \-\-update [\fIoptions\fB] \fIfich1.tar.gz\fB [\fIfich2.tar.gz...\fB]
+Perform one or several updates of a development version
+.TP
+.B as_run \-\-auto_update [\-\-vers\fr=\fI...\fB] [\-\-force_upgrade\fB] [\-\-keep_increment\fB] [\fIother options\fB]
+Download available updates from a server and apply them to the current development version
+.TP
+.B as_run \-\-astk_update [\fIoptions\fB]
+Download available updates from a server and update astk/as_run itself
+.TP
+.B as_run \-\-diag [\-\-astest_dir\fr=\fIDIR1,[\fIDIR2\fB]\fB] [\-\-test_list\fr=\fILIST\fB] [\-\-only_nook\fB] [\fIdiag_result.pick\fB]
+Build the diagnosis of code_aster testcases (from dir or default astest directory) and write a pickled file of the result.
+.TP
+.B as_run \-\-list [\-\-all\fB] [\-\-test_list\fr=\fIFILE\fB] [\-\-filter\fr=\fI...\fB] [\-\-command\fr=\fI...\fB] [\-\-user_filter\fr=\fI...\fB] [\fItest1 [\fItest2 ..\fB]\fB]
+Build a list of testcases using a list of command/keywords and/or verifying some criterias about cputime or memory.
+.TP
+.B as_run \-\-ctags [\-\-vers\fr=\fIVERS\fB]
+Build ctags file
+.TP
+.B as_run \-\-messages \fIsubroutine\fR | \fImessage_number\fR | \fIcheck\fR [\-\-fort\fr=\fI...\fB] [\-\-python\fr=\fI...\fB] [\-\-unigest\fr=\fI...\fB] | move old_msgid new_msgid
+Operation on code_aster messages catalogues.
+\fIsubroutine\fR returns messages called by "subroutine".
+\fImessage_number\fR returns subroutines calling this message.
+\fIcheck\fR returns check messages catalogues and print some stats.
+\fImove\fR a message from a catalogue to another and produce new catalogues and new source files.
+.TP
+.B as_run \-\-sendmail [\-\-report_to\fr=\fIEMAIL1,EMAIL2\fB] \fIfilename
+Send the content of \fIfilename\fR (may be on a remote host) to \fIEMAIL1,EMAIL2,..\fR
+.TP
+.B as_run \-\-get_infos \fIhost1\fR [\fIhost2 [\fI...]\fB]
+Return cpu and memory informations about given hosts
+.TP
+.B as_run \-\-run [\fIoptions\fB] \fIprofile
+Execute the execution described by the \fIprofile\fR (default action)
+.TP
+.B as_run \-\-serv \fIuser at mach:/nom_profil.export\fR
+Start an execution (calling as_run in a separate process)
+
+.TP
+.B as_run \-\-info
+Returns informations from astk server configuration : batch, interactive (yes/no, limits), compute nodes, versions
+
+.TP
+.B as_run \-\-actu \fIjob_number job_name mode
+Returns the state, diagnosis, execution node, spent cpu time and working directory of a job
+
+.TP
+.B as_run \-\-edit \fIjob_number job_name mode output\fR|\fIerror DISPLAY
+Opens output or error file on the provided display
+
+.TP
+.B as_run \-\-tail job_number job_name mode fdest nb_lines [\fIregexp\fB]
+Output the last part of fort.6 file or filter lines matching a pattern
+
+.TP
+.B as_run \-\-del \fIjob_number job_name mode\fB [\fInode\fB] [\-\-signal\fr=\fI...\fB]
+Kill a job and delete related files
+
+.TP
+.B as_run \-\-purge_flash \fIjob_number1\fB [\fIjob_number2 [\fI...\fB]\fB]\fB]
+Delete files of jobs which are not in the list
+
+.TP
+.B as_run \-\-create_issue \fIissue_file\fB [\fIexport_file\fB]
+Insert a new issue in database and copy attached files if an export file is provided
+
+.TP
+.B as_run \-\-extract_\fIhistor\fB [\-\-status\fr=\fISTAT\fB] [\-\-format\fr=\fIFORM\fB] [\-\-all_msg\fB] \fIinput_file histor
+Extract the content of issues listed in \fIinput_file\fR to \fIhistor\fR
+
+.TP
+.B as_run \-\-close_issue \-\-vers\fR\fr=\fI\fIVERS\fB \fIhistor
+Fill "corrvdev" or "corrvexpl" field (depends on vers) in issues found in \fIhistor\fR and eventually close them
+
+.TP
+.B as_run \-\-insert_in_db [\fIexport_file\fB]
+Prepare the profile to insert an execution into a database.
+
+
+.SH OPTIONS
+.SS "General options"
+.TP
+.B \-\-version
+show program's version number and exit
+.TP
+.B \-h, \-\-help
+show this help message and exit
+.TP
+.B \-v, \-\-verbose
+increase verbosity
+.TP
+.B \-\-silent
+run as silent as possible
+.TP
+.B \-g, \-\-debug
+print debugging information
+.TP
+.B \-\-nodebug_stderr
+disable printing of debugging information to stderr
+.TP
+.B \-f, \-\-force
+force operations which can be cached (download,
+ compilation...)
+.TP
+.B \-\-display\fR=\fIDISPLAY
+value of DISPLAY variable (NOTE : some functions read
+ it from a file)
+.TP
+.B \-\-rcdir\fr=\fISUFFIX
+use resources directory $HOME/.astkrc_'SUFFIX'
+.TP
+.B \-\-remote_shell_protocol\fR=\fIREMOTE_SHELL_PROTOCOL
+remote protocol used for shell commands
+.TP
+.B \-\-remote_copy_protocol\fR=\fIREMOTE_COPY_PROTOCOL
+remote protocol used to copy files and directories
+.TP
+.B \-\-editor\fR=\fIEDITOR
+editor command
+.TP
+.B \-\-devel_server_user\fR=\fIDEVEL_SERVER_USER
+login on the development server (name/ip address is
+ usually set in /etc/codeaster/asrun)
+
+.SS "Options for maintenance operations"
+.TP
+.B \-\-filter\fR=\fIFILTER
+filters applied to the testcases parameters :
+ 'nom_para < valeur' (supported comparison <, >, =).
+.TP
+.B \-\-vers\fR=\fIVERS
+Code_Aster version to used (for get, show, getop)
+.TP
+.B \-\-force_upgrade
+Force upgrade to the next release (for example from
+ 10.1.xx to 10.2.0)
+.TP
+.B \-o FILE, \-\-output\fR=\fIFILE
+redirect the result to FILE instead of stdout.
+.TP
+.B \-\-surch_pyt\fR=\fIREP
+one or more directories (comma separated) containing
+ additionnal python source files
+.TP
+.B \-\-config\fR=\fIFILE
+use another "config.txt" file (only used for make,
+ update and auto_update).
+.TP
+.B \-\-only_nook
+report only errors (but time spent by passed testcases
+ is included)
+.TP
+.B \-\-surch_fort\fR=\fIREP
+one or more directories (comma separated) containing
+ additionnal fortran source files
+.TP
+.B \-a, \-\-all
+get all the files of the test
+.TP
+.B \-\-destdir\fR=\fIDIR
+root directory to install
+.TP
+.B \-\-keep_increment
+update a version increment by increment and keep
+ intermediate executable
+.TP
+.B \-\-search\fR=\fIREGEXP
+keep testcases matching the given regular expression
+ (or simple string).
+.TP
+.B \-\-unigest\fR=\fIFILE
+a unigest file (for deletion)
+.TP
+.B \-\-command=COMMANDE[\fI/MOTCLEFACT[\fI/MOTCLE[\fR=\fIVALEUR\fB]\fB]\fB]
+keep testcases using the given command and keywords.
+.TP
+.B \-\-test_list\fR=\fIFILE
+list of the testcases
+.TP
+.B \-\-report_to\fR=\fIEMAIL
+email address to send the report of a execution (only
+ used for \-\-auto_update)
+.TP
+.B \-\-user_filter\fR=\fIFILE
+file containing testlist.FILTRE classes. See
+ [\fI...\fB]/share/codeaster/asrun/examples/user_filter.py
+ for an example.
+.TP
+.B \-\-astest_dir\fR=\fIDIR
+testcases directory to watch
+.TP
+.B \-\-version_dev\fR=\fIVERS
+development version of Code_Aster (for make, update, auto_update, getversion)
+.TP
+.B \-l, \-\-local
+files will not been searched on a server but on the local machine
+.TP
+.B \-nolocal
+force remote files search (reverse of \-\-local)
+
+.SS "Options for operations on jobs"
+.TP
+.B \-\-signal\fR=\fISIGNAL
+signal to the job (KILL|USR1)
+
+.SS "Options for issue tracker interface"
+.TP
+.B \-\-status\fR=\fISTAT
+raise an error if issues are not in this status
+.TP
+.B \-\-all_msg
+retrieve all the messages of issues
+.TP
+.B \-\-format\fR=\fIFORM
+format of generated histor file (text or html)
+.SH FILES
+\fI/etc/codeaster\fR default configuration directory
+\fI/etc/codeaster/astkrc\fR default configuration directory for astk
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/aster_def_var.py
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/aster_def_var.py?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/aster_def_var.py (added)
+++ packages/code-aster/astk/trunk/debian/aster_def_var.py Sun Apr 18 20:15:15 2010
@@ -1,0 +1,129 @@
+ # 1.3.2. ----- convert uname value to Code_Aster terminology...
+ sysname, nodename, release, version, machine = os.uname()
+ log._print('Architecture : os.uname = %s' % str(os.uname()), DBG=True)
+ log._print('Architecture : sys.platform = %s os.name = %s' % (sys.platform, os.name), DBG=True)
+
+ sident = ' '.join(os.uname())
+ if os.path.isfile('/etc/issue'):
+ sident = re.sub(r'\\.', '', open('/etc/issue', 'r').read()) + sident
+ log._print(_separ, """Installation on :
+%s""" % sident, _separ)
+
+ if sys.platform == 'win32':
+ cfg['IFDEF'] = 'WIN32'
+ elif sys.platform.lower() == 'darwin':
+ cfg['ARCH'] = 'default'
+ cfg['IFDEF'] = 'LINUX'
+ elif sys.platform in ('linux2', 'cygwin'):
+ cfg['ARCH'] = 'x86'
+ if machine.endswith('64'):
+ cfg['IFDEF'] = 'LINUX64'
+ if machine in ('x86_64', 'ia64'):
+ cfg['ARCH'] = machine
+ else: # force to x86_64
+ cfg['ARCH'] = 'x86_64'
+ else:
+ cfg['IFDEF'] = 'LINUX'
+ elif sys.platform[:4] == 'osf1':
+ cfg['IFDEF']='TRU64'
+ elif sys.platform == 'sunos5':
+ cfg['IFDEF'] = 'SOLARIS'
+ # elif sys.platform[:6] == 'irix64':
+ # cfg['IFDEF']='IRIX64'
+ elif sys.platform[:4] == 'irix':
+ cfg['IFDEF'] = 'IRIX'
+ else:
+ raise SetupError, "Unsupported platform : sys.platform=%s, os.name=%s" % \
+ (sys.platform, os.name)
+ if cfg.get('_solaris64', False) and sys.platform == 'sunos5':
+ cfg['IFDEF'] = 'SOLARIS64'
+ cfg['DEFINED'] = cfg['IFDEF']
+
+ # 1.4.1c. ----- check for mpirun command
+ #ftools.find_and_set(cfg, 'MPIRUN', ['mpirun', 'prun'], err=False)
+ cfg['MPIRUN'] = cfg.get('MPIRUN', 'mpirun')
+
+ # 1.4.4. ----- check for a terminal
+ ListTerm=[
+ ['xterm' , 'xterm -display @D -e @E',],
+ ['gnome-terminal' , 'gnome-terminal --display=@D --command=@E',],
+ ['konsole', 'konsole --display @D -e @E'],]
+ for prg, cmd in ListTerm:
+ term = ftools.find_file(prg, typ='bin')
+ if term != None:
+ term = cmd.replace(prg, term)
+ break
+ cfg['TERMINAL'] = cfg.get('TERMINAL', term)
+ if cfg['TERMINAL'] is None:
+ del cfg['TERMINAL']
+
+ # 1.4.5. ----- check for a text editor
+ # and modify command line of those which don't have a --display= option
+ ListEdit=[
+ ['nedit' , 'nedit',],
+ ['gedit' , 'gedit --display=@D',],
+ ['kwrite', 'kwrite --display @D',],
+ ['xemacs', 'xemacs -display @D',],
+ ['emacs' , 'emacs -display @D',],
+ ['xedit' , 'xedit -display @D',],
+ ['vi' , cfg.get('TERMINAL', 'xterm')+' -e vi',],]
+ for prg, cmd in ListEdit:
+ edit = ftools.find_file(prg, typ='bin')
+ if edit != None:
+ edit = cmd.replace(prg, edit)
+ break
+ cfg['EDITOR'] = cfg.get('EDITOR', edit)
+ if cfg['EDITOR'] == None:
+ del cfg['EDITOR']
+
+ # 1.4.6. ----- check for debugger
+ # DEBUGGER_COMMAND runs an interactive debugger
+ # DEBUGGER_COMMAND_POST dumps a post-mortem traceback
+ # @E will be remplaced by the name of the executable
+ # @C will be remplaced by the name of the corefile
+ # @D will be remplaced by the filename which contains "where+quit"
+ # @d will be remplaced by the string 'where ; quit'
+ cfg['DEBUGGER_COMMAND'] = ''
+ cfg['DEBUGGER_COMMAND_POST'] = ''
+ ListDebbuger=[
+ ['gdb', '%s -batch --command=@D @E @C',],
+ ['dbx', '%s -c @D @E @C',],
+ ['ladebug', '%s -c @D @E @C',],]
+ for debugger, debugger_command_format in ListDebbuger:
+ debugger_command = ftools.find_file(debugger, typ='bin')
+ if debugger_command != None:
+ cfg['DEBUGGER_COMMAND_POST'] = debugger_command_format % debugger_command
+ break
+
+ if debugger_command != None:
+ ddd = ftools.find_file('ddd', typ='bin')
+ if ddd != None:
+ cfg['DEBUGGER_COMMAND'] = '%s --%s --debugger %s --command=@D @E @C' \
+ % (ddd, debugger, debugger_command)
+
+ #-------------------------------------------------------------------------------
+ # 1.5. ----- products configuration
+ #-------------------------------------------------------------------------------
+ log._print(_separ, term='')
+
+ # 1.5.1. ----- check for hostname (for client part of astk)
+ log._print(_fmt_search % _('host name'), term='')
+ host=system.GetHostName()
+ # deduce domain name
+ tmp=host.split('.')
+ if len(tmp)>1:
+ host=tmp[0]
+ domain='.'.join(tmp[1:])
+ else:
+ domain=''
+ cfg['SERVER_NAME']=cfg.get('SERVER_NAME', host)
+ cfg['DOMAIN_NAME']=cfg.get('DOMAIN_NAME', domain)
+ cfg['FULL_SERVER_NAME']=cfg.get('FULL_SERVER_NAME', '.'.join(tmp))
+ domain=cfg['DOMAIN_NAME']
+ if domain=='':
+ domain='(empty)'
+ log._print(cfg['SERVER_NAME'])
+ log._print(_fmt_search % _('network domain name'), domain)
+ log._print(_fmt_search % _('full qualified network name'), cfg['FULL_SERVER_NAME'])
+
+
Added: packages/code-aster/astk/trunk/debian/astk.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.1 (added)
+++ packages/code-aster/astk/trunk/debian/astk.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,72 @@
+.TH ASTK "1" "April 2010" "Code Aster 10.1.0" "Astk Gui"
+.SH NAME
+astk \- launch the astk GUI
+.SH SYNOPSIS
+.PP
+.B astk
+[
+.B -h
+]
+[
+.B -debug \fR[\fIN\fR]
+]
+[
+.B -profil \fIprofile_name\fR
+]
+[
+.B -agla \fIdata\fR
+]
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR astk
+command.
+
+\fBastk\fR is an application to help launching calculations with Code Aster.
+.SH OPTIONS
+.PP
+.B -h, --help
+print the options list
+.TP
+.B -g, --debug \fR[\fIN\fR]
+turn on the print of debug informations.
+\fIN\fR message level, default 1
+.TP
+.B --profil \fIprofile_name
+open \fIprofile_name\fR at startup
+.TP
+.B --serv \FIserver_name
+\fIserver\fR where is the profile
+.TP
+.B --agla \fIdata
+use an alternative AGLA configuration
+.TP
+.B --nb
+black and white
+.TP
+.B --check
+check the configuration and exits
+.TP
+.B --norecup
+don't get informations about the servers configuration
+.TP
+.B --no-splash
+suppress the splash screen
+.TP
+.B --no-initial-warnings
+suppress warning dialogs during initialization step (usefull only when astk is called by a Qt widget to work around a Qt bug)
+.TP
+.B --stdout
+write messages to the terminal
+.TP
+.B --version
+prints ASTK version and exits
+.TP
+.B --from_salome | --stand-alone
+starting mode : \fBfrom Salome\fR or \fBstand-alone\fR
+.TP
+.B --rcdir \fIsuffix
+use ressources directory .astkrc_\fIsuffix\fR
+.SH FILES
+\fI/etc/codeaster/astkrc\fR default configuration directory for astk
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/astk.config
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.config?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.config (added)
+++ packages/code-aster/astk/trunk/debian/astk.config Sun Apr 18 20:15:15 2010
@@ -1,0 +1,65 @@
+#!/bin/sh
+set -e
+
+alias stripwhitespace="sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//'"
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+#Set default platform
+#if [ "${dc_platform}" = "" ] ; then
+# dc_platform="$(uname | tr '[:upper:]' '[:lower:]' 2> /dev/null)"\
+# dc_platform="$(printf '%s\n' "${dc_platform}" | stripwhitespace)" && \
+# db_set astk/platform "${dc_platform}"
+#fi
+
+#Set default domain name
+if [ "${dc_domainname}" = "" ] ; then
+ dc_domainname="$(hostname --domain 2>/dev/null)" || dc_domainname="$(hostname)" && \
+ dc_domainname="$(printf '%s\n' "${dc_domainname}" | stripwhitespace)" && \
+ db_set astk/domainname "${dc_domainname}"
+fi
+
+#Set default server name
+if [ "${dc_servername}" = "" ] ; then
+ dc_servername="$(hostname -s 2>/dev/null)" || dc_servername="$(hostname)" && \
+ dc_servername="$(printf '%s\n' "${dc_servername}" | stripwhitespace)" && \
+ db_set astk/servername "${dc_servername}"
+fi
+
+#Set default node name
+if [ "${dc_node}" = "" ] ; then
+ dc_node="$(hostname -s 2>/dev/null)" || dc_node="$(hostname)" && \
+ dc_node="$(printf '%s\n' "${dc_node}" | stripwhitespace)" && \
+ db_set astk/node "${dc_node}"
+fi
+
+db_version 2.0
+
+# Choose Platform
+db_input medium astk/platform || true
+dc_platform="$RET"
+db_go
+
+# Node name
+db_input medium astk/node || true
+dc_node="$RET"
+db_go
+
+# Server name
+db_input medium astk/servername || true
+dc_servername="$RET"
+db_go
+
+# Domain name
+db_input medium astk/domainname || true
+dc_domainname="$RET"
+db_go
+
+# Choose Editor
+db_input medium astk/EDITOR || true
+db_go
+
+# Choose TERMINAL
+db_input medium astk/TERMINAL || true
+db_go
Added: packages/code-aster/astk/trunk/debian/astk.desktop
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.desktop?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.desktop (added)
+++ packages/code-aster/astk/trunk/debian/astk.desktop Sun Apr 18 20:15:15 2010
@@ -1,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Astk
+GenericName=Graphical command editor for Code_Aster
+Comment=Graphical command editor for Code_Aster.
+Exec=/usr/bin/astk
+Icon=astk
+Type=Application
+Terminal=false
+Categories=Education;Math;Science;
+StartupNotify=true
Added: packages/code-aster/astk/trunk/debian/astk.menu
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.menu?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.menu (added)
+++ packages/code-aster/astk/trunk/debian/astk.menu Sun Apr 18 20:15:15 2010
@@ -1,0 +1,7 @@
+?package(astk): \
+ needs="X11" \
+ section="Applications/Science/Engineering" \
+ title="Astk" \
+ command="/usr/bin/astk" \
+ icon="/usr/share/pixmaps/astk.xpm"
+
Added: packages/code-aster/astk/trunk/debian/astk.postinst
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.postinst?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.postinst (added)
+++ packages/code-aster/astk/trunk/debian/astk.postinst Sun Apr 18 20:15:15 2010
@@ -1,0 +1,30 @@
+#!/bin/sh
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+
+get_value() {
+ db_get $1
+ code="$?"
+ if [ "$code" -eq "0" ]; then
+ :
+ else
+ echo "Error getting debconf answer $1: debconf code=$code" >&2
+ exit $code
+ fi
+}
+
+if [ "$1" = "configure" ] ; then
+ db_get astk/platform || true
+ db_get astk/node || true
+ db_get astk/servername || true
+ db_get astk/domainname || true
+ db_get astk/EDITOR || true
+ db_get astk/TERMINAL || true
+fi
+
+#DEBHELPER#
Added: packages/code-aster/astk/trunk/debian/astk.postrm
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.postrm?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.postrm (added)
+++ packages/code-aster/astk/trunk/debian/astk.postrm Sun Apr 18 20:15:15 2010
@@ -1,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
+ # Source debconf library.
+ . /usr/share/debconf/confmodule
+ # Remove my changes to the db.
+ db_purge
+fi
+
+#DEBHELPER#
Added: packages/code-aster/astk/trunk/debian/astk.templates
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.templates?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.templates (added)
+++ packages/code-aster/astk/trunk/debian/astk.templates Sun Apr 18 20:15:15 2010
@@ -1,0 +1,52 @@
+Template: astk/platform
+Type: select
+Choices: LINUX, P_LINUX, LINUX64, P_LINUX64
+Default: LINUX64
+_Description: aster platform:
+ Select aster platform.
+
+Template: astk/domainname
+_Type: string
+_Description: astk server domain name:
+ This is the domain your astk server is a member of. Typically it is
+ something like "mycompany.com" or "myuniversity.edu".
+
+Template: astk/servername
+Type: string
+_Description: astk server unqualified hostname:
+ Please enter the server hostname without domain name.
+
+Template: astk/node
+Type: string
+_Description: hostname:
+ This is the name by which this computer will be known on the network. It
+ has to be a unique name in your domain.
+
+Template: astk/EDITOR
+Type: select
+Choices: nedit, gedit --display=@D, kwrite --display @D, xemacs -display @D, emacs -display @D, xedit -display @D, xterm -display @D -e @E -e vi
+Default: nedit
+_Description: favorite Editor.
+ Please select the editor to be used.
+
+Template: astk/TERMINAL
+Type: select
+Choices: /usr/bin/xterm -display @D -e @E, /usr/bin/gnome-terminal --display=@D --command=@E, /usr/bin/konsole --display @D -e @E
+Default: /usr/bin/gnome-terminal --display=@D --command=@E
+_Description: favorite Terminal:
+ Please select the terminal to be used.
+
+Template: astk/MPIRUN
+Type: select
+Choices: LAM, OPENMPI, MPICH2
+Default: OPENMPI
+_Description: MPI implementation:
+ Please select the MPI implementation to be used.
+
+Template: astk/IFDEF
+Type: select
+Choices: LINUX, LINUX64
+Default: LINUX64
+_Description: "aster" platform.
+ Please select the platform running aster.
+
Added: packages/code-aster/astk/trunk/debian/astk.xpm
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/astk.xpm?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/astk.xpm (added)
+++ packages/code-aster/astk/trunk/debian/astk.xpm Sun Apr 18 20:15:15 2010
@@ -1,0 +1,136 @@
+/* XPM */
+static char *astk[] = {
+/* columns rows colors chars-per-pixel */
+"16 16 114 2",
+" c #B93823",
+". c #B93A25",
+"X c #BC3A24",
+"o c #C73B23",
+"O c #CB3921",
+"+ c #CB3B23",
+"@ c #D43B22",
+"# c #D83B21",
+"$ c #E33A20",
+"% c #E5581C",
+"& c #DC4320",
+"* c #CB4F36",
+"= c #E65737",
+"- c #DE6F52",
+"; c #7C9831",
+": c #7F9D31",
+"> c #AC8A1F",
+", c #B08E1E",
+"< c #B38F1E",
+"1 c #B8931D",
+"2 c #809E31",
+"3 c #98B42E",
+"4 c #93B82F",
+"5 c #9BBE2F",
+"6 c #84A431",
+"7 c #86A631",
+"8 c #89AA31",
+"9 c #8CAF31",
+"0 c #92B73E",
+"q c #B1AD25",
+"w c #BABB25",
+"e c #DD851B",
+"r c #C59B1B",
+"t c #C59D1B",
+"y c #C0991C",
+"u c #E48019",
+"i c #CCA11A",
+"p c #DDAD17",
+"a c #D3A618",
+"s c #D2A619",
+"d c #DEA718",
+"f c #D3B31B",
+"g c #D9B51A",
+"h c #E3A617",
+"j c #E3B215",
+"k c #E0B016",
+"l c #E3B216",
+"z c #E4B216",
+"x c #C2B02A",
+"c c #9BC330",
+"v c #9CC430",
+"b c #9CC434",
+"n c #A8C22A",
+"m c #E39562",
+"M c #EA9876",
+"N c #98C045",
+"B c #98C265",
+"V c #4E7C96",
+"C c #4F7F9A",
+"Z c #4F819C",
+"A c #5084A1",
+"S c #5288A7",
+"D c #538BAA",
+"F c #538BAB",
+"G c #558FB0",
+"H c #5693B5",
+"J c #5A9ABE",
+"K c #5D9BBD",
+"L c #7596A6",
+"P c #7697AA",
+"I c #7799AA",
+"U c #7EA2B5",
+"Y c #579AC0",
+"T c #5B9DC1",
+"R c #5D9DC1",
+"E c #69A4C1",
+"W c #70A7C4",
+"Q c #79ABC6",
+"! c #8EB795",
+"~ c #93BE98",
+"^ c #84A9A0",
+"/ c #87B5A9",
+"( c #80A6B9",
+") c #80A6BA",
+"_ c #8DB5BE",
+"` c #BAC8B6",
+"' c #C2C2A4",
+"] c #C7C7A7",
+"[ c #C9C9A9",
+"{ c #CDCDAD",
+"} c #CECEAD",
+"| c #DCD2AE",
+" . c #D6D5B2",
+".. c #D8D8B5",
+"X. c #DBDDBA",
+"o. c #E9C9A4",
+"O. c #F0D1AB",
+"+. c #E0E0BC",
+"@. c #86ADC2",
+"#. c #81AEC5",
+"$. c #84B5CF",
+"%. c #88B2C8",
+"&. c #91B9C2",
+"*. c #90BDCC",
+"=. c #83B5D1",
+"-. c #8EBBD3",
+";. c #90BDD4",
+":. c #AAC8C3",
+">. c #D2E1C8",
+",. c #E4E6C1",
+"<. c #EEEDC6",
+"1. c #EFF0C8",
+"2. c #F1F2CA",
+"3. c None",
+/* pixels */
+"3.3.3.3.3.3.3.3.3.3.3.3.3.3.3.3.",
+"3.3.3.3.3.3.3.3.Z V 3.3.3.3.3.3.",
+"3.3.3.3.3.3.3.D D A C 3.3.3.3.3.",
+"3.3.3.' [ 3.3.H G D A 3.3.3.3.3.",
+"3.3.] { .` K K W Q #. at .U L 3.3.",
+"3.3.{ ..X._ J R $.;.-.%.( I 3.3.",
+"3.3.3.+.,.:.E T =.*.~ ! ( I 3.3.",
+"3.3.3.| <.2.>.&./ B b N ^ P 3.3.",
+"3.3. * o.2.O.m x n c c 0 3.3.3.",
+"3.3.X + - M = u j g w 5 4 3.3.3.",
+"3.3.X + # $ % h j z f 3 9 7 3.3.",
+"3.3.. o @ & e d p k q 8 7 : 3.3.",
+"3.3.3.3.3.3.r i a a 3.2 ; 3.3.3.",
+"3.3.3.3.3.< 1 y t 3.3.3.3.3.3.3.",
+"3.3.3.3.3.3.> < 3.3.3.3.3.3.3.3.",
+"3.3.3.3.3.3.3.3.3.3.3.3.3.3.3.3."
+};
Added: packages/code-aster/astk/trunk/debian/bsf.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/bsf.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/bsf.1 (added)
+++ packages/code-aster/astk/trunk/debian/bsf.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,35 @@
+.TH BSF "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+bsf \- bsf command
+.SH SYNOPSIS
+A short usage summary.
+.PP
+.B bsf
+[
+.I -h
+]
+[
+.I -debug
+]
+.PP
+.SH DESCRIPTION
+This manual page documents briefly the
+.BR bsf
+command
+.PP
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+print the options list
+.TP
+.B \-g, \-\-debug
+turn on the print of debug informations
+.TP
+.B \-\-inidir
+initial directory instead of 'pwd'
+.TP
+.B
+\-\-version
+prints BSF version and exits
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/changelog?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/changelog (added)
+++ packages/code-aster/astk/trunk/debian/changelog Sun Apr 18 20:15:15 2010
@@ -1,0 +1,32 @@
+astk (1.8.0-1.1) unstable; urgency=low
+
+ * Non-maintainer upload
+ * New upstream release
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Wed, 24 Mar 2010 15:04:44 +0100
+
+astk (1.7.4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream release
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Tue, 10 Nov 2009 13:12:13 +0100
+
+astk (1.5.5-2) unstable; urgency=low
+
+ * Added symlink from client dir to /etc/astkrc.
+ * Moved server config files also to /etc/astkrc.
+ * Corrected paths in as_serv and as_run(.py).
+ * Added proper paths to as_exec_special.
+ * Added proper paths for astk-client HELP and RELNOTES for Help menu.
+ * Fixed a bunch of lintian warnings.
+ * Copyright in format http://wiki.debian.org/Proposals/CopyrightFormat
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Thu, 22 May 2008 15:13:16 -0400
+
+astk (1.5.5-1) unstable; urgency=low
+
+ * First package.
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Fri, 22 Feb 2008 16:15:05 -0500
+
Added: packages/code-aster/astk/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/compat?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/compat (added)
+++ packages/code-aster/astk/trunk/debian/compat Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+5
Added: packages/code-aster/astk/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/control?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/control (added)
+++ packages/code-aster/astk/trunk/debian/control Sun Apr 18 20:15:15 2010
@@ -1,0 +1,31 @@
+Source: astk
+Section: science
+Priority: extra
+Maintainer: Adam C. Powell, IV <hazelsct at debian.org>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), cdbs (>= 0.4.49), quilt, python-all (>= 2.5.4-9), python-support (>= 1.0.7), po-debconf
+Homepage: http://www.code-aster.org/
+
+Package: astk
+Architecture: all
+Section: science
+Depends: tk8.5 | wish, tcl8.5 | tclsh, debconf (>= 1.5.30), ${misc:Depends}
+Recommends: astk-server
+Suggests: eficas, gmsh, grace, nedit, ddd
+Description: Code_Aster build/control system and front-end: Tcl client
+ ASTK includes the Python build and control systems and Tcl front end for the
+ Code_Aster finite element PDE solver.
+ .
+ This package contains the ASTK Tcl front-end client. If you want to run
+ astk/aster on the local host, you need to install python-astk-server as well.
+
+Package: astk-server
+Architecture: all
+Section: python
+Depends: ${python:Depends}, python-numpy, debconf (>= 1.5.30), ${misc:Depends}
+Suggests: emacs, gdb, ddd
+Description: Code_Aster build/control system and front-end: Python server
+ ASTK includes the Python build and control systems and Tcl front end for the
+ Code_Aster finite element PDE solver.
+ .
+ This package contains the astk server which runs aster.
Added: packages/code-aster/astk/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/copyright?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/copyright (added)
+++ packages/code-aster/astk/trunk/debian/copyright Sun Apr 18 20:15:15 2010
@@ -1,0 +1,70 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Adam C. Powell, IV <hazelsct at debian.org>
+Debianized-Date: Fri, 22 Feb 2008 16:15:05 -0500
+Upstream-Author: EDF (Electricité de France)
+Original-Source: http://www.code-aster.org/V2/spip.php?article90
+ File aster-full-src-9.2.0-2.noarch.tar.gz contains multiple tarballs, several
+ of which already have Debian packages. astk is one of the tarballs contained
+ in that file.
+
+Files: *
+Copyright: COPYRIGHT (C) 1991 - 2003 EDF R&D WWW.CODE-ASTER.ORG
+License: GPL-2+
+ THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+ IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+ THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+ (AT YOUR OPTION) ANY LATER VERSION.
+ .
+ THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+ WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+ GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+ .
+ YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+ ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+ 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in file /usr/share/common-licenses/GPL-2
+
+Files: ASTK_CLIENT/share/BWidget-1.7.0/*
+Copyright: Copyright (c) 1998-1999 UNIFIX.
+ Copyright (c) 2001-2002 ActiveState Corp.
+License: other
+ The following terms apply to all files associated with the software
+ unless explicitly disclaimed in individual files.
+ .
+ The authors hereby grant permission to use, copy, modify, distribute,
+ and license this software and its documentation for any purpose, provided
+ that existing copyright notices are retained in all copies and that this
+ notice is included verbatim in any distributions. No written agreement,
+ license, or royalty fee is required for any of the authorized uses.
+ Modifications to this software may be copyrighted by their authors
+ and need not follow the licensing terms described here, provided that
+ the new terms are clearly indicated on the first page of each file where
+ they apply.
+ .
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+ MODIFICATIONS.
+ .
+ GOVERNMENT USE: If you are acquiring this software on behalf of the
+ U.S. government, the Government shall have only "Restricted Rights"
+ in the software and related documentation as defined in the Federal
+ Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
+ are acquiring the software on behalf of the Department of Defense, the
+ software shall be classified as "Commercial Computer Software" and the
+ Government shall have only "Restricted Rights" as defined in Clause
+ 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
+ authors grant the U.S. Government and others acting in its behalf
+ permission to use and distribute the software in accordance with the
+ terms specified in this license.
Added: packages/code-aster/astk/trunk/debian/get.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/get.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/get.1 (added)
+++ packages/code-aster/astk/trunk/debian/get.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,16 @@
+.\" In .TH, FOO should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.\"
+.\" This template provided by Tom Christiansen <tchrist at jhereg.perl.com>.
+.\"
+.TH GET "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+get \- symbolic link to \fBas_run\fB command
+.SH DESCRIPTION
+.BR get
+is a symbolic link to \fBas_run\fB
+.SH SEE ALSO
+For more details consult
+.BR as_run(1)
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/getop.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/getop.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/getop.1 (added)
+++ packages/code-aster/astk/trunk/debian/getop.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,16 @@
+.\" In .TH, FOO should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.\"
+.\" This template provided by Tom Christiansen <tchrist at jhereg.perl.com>.
+.\"
+.TH GETOP "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+getop \- symbolic link to \fBas_run\fB command
+.SH DESCRIPTION
+.BR getop
+is a symbolic link to \fBas_run\fB
+.SH SEE ALSO
+For more details consult
+.BR as_run(1)
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/parallel_cp.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/parallel_cp.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/parallel_cp.1 (added)
+++ packages/code-aster/astk/trunk/debian/parallel_cp.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,61 @@
+.\" In .TH, FOO should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.\"
+.\" This template provided by Tom Christiansen <tchrist at jhereg.perl.com>.
+.\"
+.TH PARALLEL_CP "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+parallel_cp \- parallel_cp command
+.SH SYNOPSIS
+A short usage summary.
+.PP
+.B parallel_cp
+[
+.I options
+]
+.I tracker_path
+.I source_directory
+.I destination_directory
+.SH DESCRIPTION
+This module allows to copy a source directory into multiple destinations.
+.TP
+.I tracker_path
+This directory MUST be shared by all nodes.
+It stores which sources are available.
+.TP
+.I source_directory
+The directory to copy
+.TP
+.I destination_directory
+(local) directory in which content will be copied.
+.PP
+.SH OPTIONS
+.TP
+.B
+\-h, \-\-help
+show this help message and exit
+.TP
+.B \-\-with\-as_run
+use as_run functions to allow remote copy
+.TP
+.B \-\-remote_copy_protocol\fr=\fIREMOTE_COPY_PROTOCOL
+remote protocol used to copy files and directories
+.TP
+.B
+\-\-remote_shell_protocol\fr=\fIREMOTE_SHELL_PROTOCOL
+remote protocol used for shell commands
+.TP
+.B \-\-leech_limit\fr=\fINUM
+maximum number of connections to each seed (default 2)
+.TP
+.B \-\-silent
+run silently (do not print start/end time...)
+.TP
+.B \-\-long_help
+print complete help (with example) and exit
+.SH SEE ALSO
+For more details consult
+.BR as_run(1)
+.SH AUTHOR
+The Debian Scientific Computing Team
+
Added: packages/code-aster/astk/trunk/debian/patches/aster.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/aster.diff?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/aster.diff (added)
+++ packages/code-aster/astk/trunk/debian/patches/aster.diff Sun Apr 18 20:15:15 2010
@@ -1,0 +1,33 @@
+Index: astk-1.8.0/ASTK_SERV/asrun/maintenance.py
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/asrun/maintenance.py 2010-04-13 13:36:21.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/asrun/maintenance.py 2010-04-13 15:06:58.000000000 +0200
+@@ -326,6 +326,16 @@
+ 'help' : _(u"""redirect the result to FILE instead of stdout.""")
+ }
+ },
++ 'destdir' : {
++ 'args' : ('--destdir', ),
++ 'kwargs' : {
++ 'type' : 'string',
++ 'action' : 'store',
++ 'dest' : 'destdir',
++ 'metavar' : 'DIR',
++ 'help' : _(u'root directory to install')
++ }
++ },
+ }
+ title = _(u'Options for maintenance operations')
+ run.SetActions(
+@@ -703,7 +713,11 @@
+
+ # 1. ----- Go !
+ if target == 'all':
++ print "aster_root=", aster_root
++ aster_root_destdir = run['destdir'] + aster_root
++ REPREF = os.path.join(aster_root_destdir, run['aster_vers'])
+ _build_aster(run, conf, False, REPREF, reptrav)
++ REPREF = os.path.join(aster_root, run['aster_vers'])
+
+ elif target == 'clean':
+ if len(param) == 0:
Added: packages/code-aster/astk/trunk/debian/patches/config.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/config.patch?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/config.patch (added)
+++ packages/code-aster/astk/trunk/debian/patches/config.patch Sun Apr 18 20:15:15 2010
@@ -1,0 +1,218 @@
+Index: astk-1.8.0/ASTK_CLIENT/etc/astkrc/outils
+===================================================================
+--- astk-1.8.0.orig/ASTK_CLIENT/etc/astkrc/outils 2010-04-16 09:29:35.000000000 +0200
++++ astk-1.8.0/ASTK_CLIENT/etc/astkrc/outils 2010-04-16 09:29:40.000000000 +0200
+@@ -4,22 +4,22 @@
+ astkrc_version : 1.1
+ #
+ nom : Eficas
+-cmde : ?TOOLS_DIR?/eficas (@F)
++cmde : /usr/bin/eficas (@F)
+ ext : comm com0 com1 com2
+ dist : on
+ #
+ nom : Gmsh
+-cmde : ?TOOLS_DIR?/gmsh (@F)
++cmde : /usr/bin/gmsh (@F)
+ ext : geo msh pos
+ dist : on
+ #
+ nom : Gibi
+-cmde : ?TOOLS_DIR?/gibi.x (@F)
++cmde : /usr/bin/gibi.x (@F)
+ ext : datg dgibi
+ dist : on
+ #
+ nom : Grace
+-cmde : ?TOOLS_DIR?/xmgrace (@F)
++cmde : /usr/bin/xmgrace (@F)
+ ext : dat
+ dist : on
+ #
+Index: astk-1.8.0/ASTK_CLIENT/bin/astk
+===================================================================
+--- astk-1.8.0.orig/ASTK_CLIENT/bin/astk 2010-04-16 09:29:35.000000000 +0200
++++ astk-1.8.0/ASTK_CLIENT/bin/astk 2010-04-16 09:29:40.000000000 +0200
+@@ -38,5 +38,5 @@
+ WISHEXECUTABLE=wish
+ fi
+
+-$WISHEXECUTABLE $prefix/lib/astk/astk.tcl -- $* &
++$WISHEXECUTABLE $prefix/share/astk/astk.tcl -- $* &
+
+Index: astk-1.8.0/ASTK_SERV/etc/profile.csh
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/etc/profile.csh 2010-04-16 09:29:35.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/etc/profile.csh 2010-04-16 09:29:40.000000000 +0200
+@@ -13,37 +13,20 @@
+ setenv DEFINE_PROFILE_ASRUN "done"
+ #--- ifndef DEFINE_PROFILE_ASRUN -----------------------------------------------
+
+-setenv ASTER_ROOT ?ASTER_ROOT?
++setenv ASTER_ROOT /usr/share/codeaster
+
+-if !($?PATH) then
+- setenv PATH $ASTER_ROOT/bin:$ASTER_ROOT/outils
+-else
+- setenv PATH $ASTER_ROOT/bin:$ASTER_ROOT/outils:$PATH
+-endif
+-
+-if !($?LD_LIBRARY_PATH) then
+- setenv LD_LIBRARY_PATH ?HOME_PYTHON?/lib
+-else
+- setenv LD_LIBRARY_PATH ?HOME_PYTHON?/lib:$LD_LIBRARY_PATH
+-endif
+-
+-if !($?PYTHONPATH) then
+- setenv PYTHONPATH ?ASRUN_SITE_PKG?
+-else
+- setenv PYTHONPATH ?ASRUN_SITE_PKG?:$PYTHONPATH
+-endif
+
+-setenv PYTHONEXECUTABLE ?PYTHON_EXE?
++setenv PYTHONEXECUTABLE /usr/bin/python
+
+ # this should not be usefull...
+ #setenv PYTHONHOME ?HOME_PYTHON?
+
+-setenv WISHEXECUTABLE ?WISH_EXE?
++setenv WISHEXECUTABLE /usr/bin/wish
+
+
+ # source local profile
+-if (-e $ASTER_ROOT/etc/codeaster/profile_local.csh) then
+- source $ASTER_ROOT/etc/codeaster/profile_local.csh
++if (-e /etc/codeaster/profile_local.csh) then
++ source /etc/codeaster/profile_local.csh
+ endif
+
+ #--- endif DEFINE_PROFILE_ASRUN ------------------------------------------------
+Index: astk-1.8.0/ASTK_SERV/etc/profile.sh
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/etc/profile.sh 2010-04-16 09:29:34.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/etc/profile.sh 2010-04-16 09:29:40.000000000 +0200
+@@ -12,37 +12,19 @@
+ ### export DEFINE_PROFILE_ASRUN=done
+ #--- ifndef DEFINE_PROFILE_ASRUN -----------------------------------------------
+
+-export ASTER_ROOT=?ASTER_ROOT?
++export ASTER_ROOT=/usr/share/codeaster
+
+-if [ -z "$PATH" ]; then
+- export PATH=$ASTER_ROOT/bin:$ASTER_ROOT/outils
+-else
+- export PATH=$ASTER_ROOT/bin:$ASTER_ROOT/outils:$PATH
+-fi
+-
+-if [ -z "$LD_LIBRARY_PATH" ]; then
+- export LD_LIBRARY_PATH=?HOME_PYTHON?/lib
+-else
+- export LD_LIBRARY_PATH=?HOME_PYTHON?/lib:$LD_LIBRARY_PATH
+-fi
+-
+-if [ -z "$PATH" ]; then
+- export PYTHONPATH=?ASRUN_SITE_PKG?
+-else
+- export PYTHONPATH=?ASRUN_SITE_PKG?:$PYTHONPATH
+-fi
+-
+-export PYTHONEXECUTABLE=?PYTHON_EXE?
++export PYTHONEXECUTABLE=/usr/bin/python
+
+ # this should not be usefull...
+ #export PYTHONHOME=?HOME_PYTHON?
+
+-export WISHEXECUTABLE=?WISH_EXE?
++export WISHEXECUTABLE=/usr/bin/wish
+
+
+ # source local profile
+-if [ -e $ASTER_ROOT/etc/codeaster/profile_local.sh ]; then
+- . $ASTER_ROOT/etc/codeaster/profile_local.sh
++if [ -e /etc/codeaster/profile_local.sh ]; then
++ . /etc/codeaster/profile_local.sh
+ fi
+
+ #--- endif DEFINE_PROFILE_ASRUN ------------------------------------------------
+Index: astk-1.8.0/ASTK_SERV/etc/asrun
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/etc/asrun 2010-04-16 09:29:35.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/etc/asrun 2010-04-16 09:29:40.000000000 +0200
+@@ -136,10 +136,10 @@
+ # mpirun
+ # available arguments are : mpi_hostfile, mpi_nbnoeud, mpi_nbcpu
+ # (use Python string formatting style)
+-mpirun_cmd : ?MPIRUN? -np %(mpi_nbcpu)s --hostfile %(mpi_hostfile)s %(program)s
++mpirun_cmd : mpirun -np %(mpi_nbcpu)s --hostfile %(mpi_hostfile)s %(program)s
+
+ # file which contains list of hosts (REQUIRED even if it is not used in mpirun_cmd)
+-mpi_hostfile : ?ASTER_CONFDIR?/aster-mpihosts
++mpi_hostfile : /etc/codeaster/aster-mpihosts
+
+ # command called to initialize MPI environment (for example for mpich2)
+ #mpi_ini : mpdboot --totalnum=%(mpi_nbnoeud)s --file=%(mpi_hostfile)s ; sleep 10
+@@ -151,7 +151,7 @@
+ # LAM/MPI : echo $LAMRANK
+ # OpenMPI : echo $OMPI_MCA_ns_nds_vpid
+ # Mpich2 : echo $PMI_RANK
+-mpi_get_procid_cmd : echo $PMI_RANK
++mpi_get_procid_cmd : echo $OMPI_MCA_ns_nds_vpid
+
+ # maximum number of nodes
+ mpi_nbnoeudmax : 1
+@@ -172,8 +172,8 @@
+ # ps commands : uncomment lines corresponding to your platform
+ #ps_cpu : /bin/ps -e --width=512 -ocputime -ocommand
+ #ps_pid : /bin/ps -e --width=512 -opid -ocommand
+-ps_cpu : ?PS_COMMAND_CPU?
+-ps_pid : ?PS_COMMAND_PID?
++ps_cpu : /bin/ps -e --width=512 -ocputime -ocommand
++ps_pid : /bin/ps -e --width=512 -opid -ocommand
+
+ #-------------------------------------------------------------------------------
+ # debug command :
+@@ -184,8 +184,8 @@
+ #
+ #cmd_post : gdb -batch --command=@D @E @C
+ #cmd_dbg : ddd --debugger gdb --command=@D @E @C
+-cmd_post : ?DEBUGGER_COMMAND_POST?
+-cmd_dbg : ?DEBUGGER_COMMAND?
++cmd_post : gdb -batch --command=@D @E @C
++cmd_dbg : ddd --debugger gdb --command=@D @E @C
+
+ #-------------------------------------------------------------------------------
+ # style of ctags used (optionnal, leave commented to ignore ctags generation)
+Index: astk-1.8.0/ASTK_SERV/etc/aster
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/etc/aster 2010-04-16 09:29:34.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/etc/aster 2010-04-16 09:29:40.000000000 +0200
+@@ -1,7 +1,7 @@
+ # Code_Aster versions (there are only labels)
+
+ # default version (overridden by --vers option)
+-default_vers : ?ASTER_VERSION?
++default_vers : STA10.1
+
+ # available versions
+ # DO NOT EDIT FOLLOWING LINE !
+Index: astk-1.8.0/ASTK_SERV/share/codeaster/asrun/data/mpirun_template
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/share/codeaster/asrun/data/mpirun_template 2010-04-16 09:29:35.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/share/codeaster/asrun/data/mpirun_template 2010-04-16 09:29:40.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!?SHELL_EXECUTION?
++#!/bin/bash
+
+ # $Id: mpirun_template 3529 2008-09-26 08:42:08Z courtois $
+
+Index: astk-1.8.0/ASTK_CLIENT/bin/bsf
+===================================================================
+--- astk-1.8.0.orig/ASTK_CLIENT/bin/bsf 2010-04-16 09:32:13.000000000 +0200
++++ astk-1.8.0/ASTK_CLIENT/bin/bsf 2010-04-16 09:32:25.000000000 +0200
+@@ -38,5 +38,5 @@
+ WISHEXECUTABLE=wish
+ fi
+
+-$WISHEXECUTABLE $prefix/lib/astk/bsf.tcl -- $* &
++$WISHEXECUTABLE $prefix/share/astk/bsf.tcl -- $* &
+
Added: packages/code-aster/astk/trunk/debian/patches/debian-changes-1.8.0-1.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/debian-changes-1.8.0-1.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/debian-changes-1.8.0-1.1 (added)
+++ packages/code-aster/astk/trunk/debian/patches/debian-changes-1.8.0-1.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,32 @@
+Description: Upstream changes introduced in version 1.8.0-1.1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ astk (1.8.0-1.1) unstable; urgency=low
+ .
+ * Non-maintainer upload
+ * New upstream release
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- /dev/null
++++ astk-1.8.0/astk-debian.tgz.cdbs-config_list
+@@ -0,0 +1,4 @@
++debian/astk-server/usr/share/codeaster/codeaster/asrun/unittest/config.py
++debian/patches/config.patch
++debian/astk/usr/share/pyshared/asrun/config.py
++debian/astk/usr/share/astk/config.tcl
Added: packages/code-aster/astk/trunk/debian/patches/etc.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/etc.diff?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/etc.diff (added)
+++ packages/code-aster/astk/trunk/debian/patches/etc.diff Sun Apr 18 20:15:15 2010
@@ -1,0 +1,12 @@
+Index: astk-1.8.0/ASTK_SERV/asrun/installation.py
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/asrun/installation.py
++++ astk-1.8.0/ASTK_SERV/asrun/installation.py
+@@ -10,7 +10,6 @@
+
+ # directory for configuration files (profile.sh, config)
+ # alternative to /etc/code_aster for non-root install
+-prefix = aster_root
+ if aster_root == '/usr':
+ prefix = '/'
+ confdir = os.path.join(prefix, 'etc', 'codeaster')
Added: packages/code-aster/astk/trunk/debian/patches/install.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/install.diff?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/install.diff (added)
+++ packages/code-aster/astk/trunk/debian/patches/install.diff Sun Apr 18 20:15:15 2010
@@ -1,0 +1,27 @@
+Index: astk-1.8.0/ASTK_SERV/asrun/installation.py
+===================================================================
+--- astk-1.8.0.orig/ASTK_SERV/asrun/installation.py 2010-04-13 13:36:21.000000000 +0200
++++ astk-1.8.0/ASTK_SERV/asrun/installation.py 2010-04-13 15:12:14.000000000 +0200
+@@ -6,18 +6,18 @@
+
+
+ # Code_Aster installation prefix
+-aster_root = default_install_value("""value = '?ASTER_ROOT?'""", '/opt/aster')
++aster_root = default_install_value("""value = '/usr/share/codeaster'""", '/opt/aster')
+
+ # directory for configuration files (profile.sh, config)
+ # alternative to /etc/code_aster for non-root install
+ prefix = aster_root
+ if aster_root == '/usr':
+ prefix = '/'
+-confdir = os.path.join(prefix, 'etc', 'codeaster')
++confdir = os.path.join('/etc', 'codeaster')
+
+ # directory containing data files
+-datadir = os.path.join(aster_root, 'share', 'codeaster', 'asrun', 'data')
++datadir = os.path.join('/usr/share', 'codeaster', 'asrun', 'data')
+
+ # directory for internationalization
+-localedir = os.path.join(aster_root, 'share', 'locale')
++localedir = os.path.join('/usr/share', 'locale')
+
Added: packages/code-aster/astk/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/series?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/series (added)
+++ packages/code-aster/astk/trunk/debian/patches/series Sun Apr 18 20:15:15 2010
@@ -1,0 +1,5 @@
+setup.diff
+config.patch
+install.diff
+aster.diff
+debian-changes-1.8.0-1.1
Added: packages/code-aster/astk/trunk/debian/patches/setup.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/patches/setup.diff?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/patches/setup.diff (added)
+++ packages/code-aster/astk/trunk/debian/patches/setup.diff Sun Apr 18 20:15:15 2010
@@ -1,0 +1,138 @@
+Index: astk-1.8.0/setup.py
+===================================================================
+--- astk-1.8.0.orig/setup.py 2010-04-06 15:03:20.000000000 +0200
++++ astk-1.8.0/setup.py 2010-04-06 15:03:24.000000000 +0200
+@@ -48,6 +48,7 @@
+ data_files.extend(build_data_files('lib/astk', 'ASTK_CLIENT/lib'))
+ data_files.extend(build_data_files('share', 'ASTK_SERV/share'))
+ data_files.extend(build_data_files('share/codeaster/asrun/unittest', 'ASTK_SERV/unittest'))
++ #print "data_files=", data_files
+ if sys.hexversion >= 0x020500F0:
+ data_files.extend(build_data_files('share/locale', 'ASTK_SERV/i18n/locale'))
+
+@@ -64,6 +65,7 @@
+ description = __pkginfo__.short_desc,
+ author = __pkginfo__.author,
+ author_email = __pkginfo__.author_email,
++ license = __pkginfo__.license,
+ url = __pkginfo__.url,
+
+ packages = ['asrun'],
+@@ -126,6 +128,7 @@
+ # pre-install phase (also for build)
+ if install or uninstall:
+ prefix = parse_options('--prefix=')
++ root = parse_options('--root=')
+ if not prefix:
+ prefix = '/usr'
+ configuration.set_dirs(prefix)
+@@ -133,13 +136,13 @@
+ # check if a previous version is installed and get its number
+ prev_exists = configuration.is_already_installed()
+ if prev_exists:
+- log.info("---")
++ log.info("---previous exists---")
+ previous_version = configuration.get_installed_version()
+ # remove (and backup) the previous version
+ backup_dir = configuration.remove_previous()
+
+ if install:
+- log.info("---")
++ log.info("---install---")
+ configuration.get_install_parameters()
+
+ # uninstallation
+Index: astk-1.8.0/configuration/post_install.py
+===================================================================
+--- astk-1.8.0.orig/configuration/post_install.py 2010-04-06 15:03:20.000000000 +0200
++++ astk-1.8.0/configuration/post_install.py 2010-04-06 15:03:24.000000000 +0200
+@@ -23,21 +23,22 @@
+ exceptions = ('vers : VVV', )
+
+
+-def finalize(prefix, parameters, version):
++def finalize(root, prefix, parameters, version):
+ """Finalize the installation :
+ - configure files using 'parameters' dict,
+ - add some DeprecatingWarning
+ """
++ log.info("rootdir %s...", root)
+ log.info("finalizing installation in %s...", prefix)
+ # fill the variables of the form ?VVV?
+- files = get_files_to_change(prefix)
++ files = get_files_to_change(root+prefix)
+ for filename in files:
+ log.info("configuring %s...", filename)
+ change_file(filename, parameters)
+ # already done by install_scripts but just changed...
+- chmod_scripts(glob(os.path.join(prefix, 'bin', '*')))
++ chmod_scripts(glob(os.path.join(root+prefix, 'bin', '*')))
+ for alias in ('show', 'get', 'getop'):
+- os.symlink('as_run', os.path.join(prefix, 'bin', alias))
++ os.symlink('as_run', os.path.join(root+prefix, 'bin', alias))
+
+ files = set(files)
+ # fill configuration files (restore fields of the form 'parameter : value')
+@@ -67,7 +68,7 @@
+
+ # keep deprecation warning up to 1.9.0
+ if version is None or less_than_version(version, '1.9.0'):
+- backward_compatibility(prefix)
++ backward_compatibility(root+prefix)
+
+ # check for residual variables
+ files = list(files)
+@@ -75,7 +76,7 @@
+ for filename in files:
+ check_unchanged_residual(filename)
+
+- remove_tree(os.path.join(prefix, '.as_run_configuration'))
++ remove_tree(os.path.join(root+prefix, '.as_run_configuration'))
+ log.info("post-installation completed")
+
+
+@@ -147,6 +148,8 @@
+ def get_files_to_change(prefix):
+ """Build the list of files to change."""
+ # glob ignores files beginning with a dot (.mysql_connect)
++ print "get_files_to_changes"
++ print "prefix2etc(prefix)=", prefix2etc(prefix)
+ files = []
+ files.extend(glob(os.path.join(prefix, 'bin', '*')))
+ files.extend(glob(os.path.join(prefix2etc(prefix), 'codeaster', '*')))
+Index: astk-1.8.0/configuration/__init__.py
+===================================================================
+--- astk-1.8.0.orig/configuration/__init__.py 2010-04-06 15:03:20.000000000 +0200
++++ astk-1.8.0/configuration/__init__.py 2010-04-06 15:03:24.000000000 +0200
+@@ -16,6 +16,8 @@
+ # configuration variables :
+ # dry-run
+ _dry_run = False
++# installation S,
++_root = None
+ # installation prefix,
+ _prefix = None
+ # version number of previous version,
+@@ -91,7 +93,9 @@
+
+ def configure():
+ if not _check() or not _parameters: return
+- finalize(_prefix, _parameters, _previous_version)
++ global _root
++ _root = os.environ['DESTDIR']
++ finalize(_root, _prefix, _parameters, _previous_version)
+
+
+ if __name__ == '__main__':
+Index: astk-1.8.0/configuration/util.py
+===================================================================
+--- astk-1.8.0.orig/configuration/util.py 2010-04-06 15:27:59.000000000 +0200
++++ astk-1.8.0/configuration/util.py 2010-04-06 15:28:20.000000000 +0200
+@@ -54,6 +54,7 @@
+
+
+ def prefix2etc(prefix):
++ log.info("---prefix2etc---")
+ if prefix == "/usr":
+ return "/etc"
+ else:
Added: packages/code-aster/astk/trunk/debian/po/POTFILES.in
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/po/POTFILES.in?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/po/POTFILES.in (added)
+++ packages/code-aster/astk/trunk/debian/po/POTFILES.in Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+[type: gettext/rfc822deb] astk.templates
Added: packages/code-aster/astk/trunk/debian/po/templates.pot
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/po/templates.pot?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/po/templates.pot (added)
+++ packages/code-aster/astk/trunk/debian/po/templates.pot Sun Apr 18 20:15:15 2010
@@ -1,0 +1,123 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: astk at packages.debian.org\n"
+"POT-Creation-Date: 2010-04-16 10:38+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: select
+#. Description
+#: ../astk.templates:1001
+msgid "aster platform:"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:1001
+msgid " Select aster platform."
+msgstr ""
+
+#. Type: select
+#. Type
+#: ../astk.templates:2001
+msgid "string"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:2002
+msgid "astk server domain name:"
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:2002
+msgid ""
+" This is the domain your astk server is a member of. Typically it is\n"
+" something like \"mycompany.com\" or \"myuniversity.edu\"."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../astk.templates:3001
+msgid "astk server unqualified hostname:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../astk.templates:3001
+msgid "Please enter the server hostname without domain name."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../astk.templates:4001
+msgid "hostname:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../astk.templates:4001
+msgid ""
+"This is the name by which this computer will be known on the network. It has "
+"to be a unique name in your domain."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:5001
+msgid "favorite Editor."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:5001
+msgid "Please select the editor to be used."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:6001
+msgid "favorite Terminal: "
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:6001
+msgid "Please select the terminal to be used."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:7001
+msgid "MPI implementation: "
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:7001
+msgid "Please select the MPI implementation to be used."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:8001
+msgid "\"aster\" platform."
+msgstr ""
+
+#. Type: select
+#. Description
+#: ../astk.templates:8001
+msgid "Please select the platform running aster."
+msgstr ""
Added: packages/code-aster/astk/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/pyversions?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/pyversions (added)
+++ packages/code-aster/astk/trunk/debian/pyversions Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+2.5-
Added: packages/code-aster/astk/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/rules?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/rules (added)
+++ packages/code-aster/astk/trunk/debian/rules Sun Apr 18 20:15:15 2010
@@ -1,0 +1,87 @@
+#!/usr/bin/make -f
+# Copyright 2008 - Sylvestre Ledru <sylvestre.ledru at inria.fr>
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_PYTHON_MODULE_PACKAGE = asrun
+DEB_PYTHON_COMPILE_VERSION := $(shell pyversions -r)
+#DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile \
+# --install-lib=usr/share/python-support/astk
+DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile \
+ --install-lib=usr/share/python-support --install-layout=deb
+
+export DESTDIR = $(DEB_DESTDIR)
+
+install/astk::
+ mkdir -p debian/astk/usr/bin
+ #mv $(DEB_DESTDIR)/usr/ASTK/ASTK_CLIENT debian/astk/usr/bin
+ mv $(DEB_DESTDIR)/usr/bin/* debian/astk/usr/bin
+
+ mkdir -p debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/*.tcl debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/BWidget-1.7.0 debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/DOC debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/HELP debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/icons debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/locales.txt debian/astk/usr/share/astk
+ mv $(DEB_DESTDIR)/usr/lib/astk/RELNOTES debian/astk/usr/share/astk
+ rm -f debian/astk/usr/share/astk/BWidget-1.7.0/LICENSE.txt
+
+ mkdir -p debian/astk/usr/share/python-support
+ mv $(DEB_DESTDIR)/usr/share/python-support debian/astk/usr/share/python-support
+
+ mkdir -p debian/astk/etc/codeaster/astkrc
+ mv $(DEB_DESTDIR)/usr/etc/codeaster/astkrc/* debian/astk/etc/codeaster/astkrc
+
+ install -d debian/astk/usr/share/applications
+ install -m 0644 debian/astk.desktop debian/astk/usr/share/applications
+
+ install -d debian/astk/usr/share/pixmaps
+ install -m 0644 debian/astk.xpm debian/astk/usr/share/pixmaps
+
+ mkdir -p debian/astk/usr/share/man/man1
+ install -m 0644 debian/as_run.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/astk.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/bsf.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/get.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/getop.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/show.1 debian/astk/usr/share/man/man1
+ install -m 0644 debian/parallel_cp.1 debian/astk/usr/share/man/man1
+
+install/astk-server::
+ install -d debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV/etc/profile.sh debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV/etc/config_nodename debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV//etc/aster debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV//etc/profile.csh debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV//etc/.mysql_connect_REX debian/astk-server/etc/codeaster
+ install -m 0644 ASTK_SERV//etc/asrun debian/astk-server/etc/codeaster
+
+ install -d debian/astk-server/usr/share/codeaster/asrun
+ mv $(DEB_DESTDIR)/usr/share/codeaster debian/astk-server/usr/share/codeaster
+
+ #mkdir -p debian/astk-server/usr/share/python-support
+ #mv $(DEB_DESTDIR)/usr/ASTK/ASTK_SERV/lib/*.py debian/astk-server/usr/share/python-support
+
+ #mkdir -p debian/astk-server/usr/bin
+ #mv $(DEB_DESTDIR)/usr/ASTK/ASTK_SERV/bin/as_* debian/astk-server/usr/bin
+
+ install -d debian/astk-server/usr/share/locale
+ mv $(DEB_DESTDIR)/usr/share/locale/* debian/astk-server/usr/share/locale
+
+get-orig-source:
+ # Retreive aster-full-src-10.1.0-4.noarch.tar.gz
+ TMPDIR=`mktemp -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig`
+ pushd "$$TMPDIR"
+ wget http://www.code-aster.org/V2/spip.php?action=dw2_out&id=667
+
+ # Go to SRC directory and retreive astk source
+ tar xzf aster-full-src-10.1.0-4.noarch.tar.gz
+ cd SRC
+ mv $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).tar.gz $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz
+ popd
+ rm -rf "$$TMPDIR"
Propchange: packages/code-aster/astk/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/code-aster/astk/trunk/debian/show.1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/show.1?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/show.1 (added)
+++ packages/code-aster/astk/trunk/debian/show.1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,16 @@
+.\" In .TH, FOO should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.\"
+.\" This template provided by Tom Christiansen <tchrist at jhereg.perl.com>.
+.\"
+.TH SHOW "1" "April 2010" "Code Aster 10.1.0" "Astk Main Commands"
+.SH NAME
+show \- symbolic link to \fBas_run\fB command
+.SH DESCRIPTION
+.BR show
+is a symbolic link to \fBas_run\fB
+.SH SEE ALSO
+For more details consult
+.BR as_run(1)
+.SH AUTHOR
+The Debian Scientific Computing Team
Added: packages/code-aster/astk/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/astk/trunk/debian/source/format?rev=36399&op=file
==============================================================================
--- packages/code-aster/astk/trunk/debian/source/format (added)
+++ packages/code-aster/astk/trunk/debian/source/format Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Added: packages/code-aster/metis-edf/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/README.Debian?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/README.Debian (added)
+++ packages/code-aster/metis-edf/trunk/debian/README.Debian Sun Apr 18 20:15:15 2010
@@ -1,0 +1,14 @@
+metis-edf for Debian
+--------------------
+
+Using METIS for Code_Aster :
+============================
+
+This is onmetis binary (renamed onmetis.exe) which is called by Code_Aster
+through the onmetis shell-script. pmetis and kmetis are called directly.
+The onmetis script, pmetis and kmetis executables have to be copied (or make a
+symbolic link to) into Code_Aster tools directory (generally it looks like
+.../aster/outils).
+
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 26 Mar 2010 10:45:05 +0100
Added: packages/code-aster/metis-edf/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/README.source?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/README.source (added)
+++ packages/code-aster/metis-edf/trunk/debian/README.source Sun Apr 18 20:15:15 2010
@@ -1,0 +1,95 @@
+metis-edf for Debian
+--------------------
+
+Adaptation of METIS for Code_Aster purpose :
+============================================
+
+A warning has been included in modified files
+
+/* WARNING : This file has been modified for Code_Aster */
+/* http://www.code-aster.org */
+
+The original distribution of METIS can be found at
+ http://www-users.cs.umn.edu/~karypis/metis/index.html
+
+
+Installation instructions :
+===========================
+ 1. Run : make
+
+ The Makefile does :
+ . Configure compiler and loader options : create Makefile.in
+ (If your platform is not recognized, you must edit CONFIG/configure)
+ . Change to Lib dir ; launch Makefile : create libmetis.a
+ . Change to Program dir; launch Makefile : create onmetis.exe, pmetis
+ and kmetis
+ . Change to Test dir ; launch Makefile : run onmetis on a small test
+ and print version label
+
+ 2. Installation :
+ If Code_Aster is already installed, add a symbolic link to onmetis
+ script in your Code_Aster tools directory,
+ (if not, the installation script of Code_Aster should add a such link)
+
+
+Using METIS for Code_Aster :
+============================
+
+This is onmetis binary (renamed onmetis.exe) which is called by Code_Aster
+through the onmetis shell-script. pmetis and kmetis are called directly.
+The onmetis script, pmetis and kmetis executables have to be copied (or make a
+symbolic link to) into Code_Aster tools directory (generally it looks like
+.../aster/outils).
+
+
+========================================================================
+ RELEASE NOTES
+========================================================================
+
+30/09/2008 : Version : metis-edf-4.1
+ 1. Correction in Programs/smbfactor.c by Ch. Rose.
+
+04/01/2005 : Version : metis-edf-4.0
+ 1. This version includes the build of 'pmetis' and 'kmetis'.
+
+04/11/2003 : Version : metis-edf-3.1
+ 1. Only the run script 'onmetis' has been modified : run 'onmetis.exe'
+ in a temporary directory and accept output filename as 3rd argument.
+
+11/12/2002 : Version : metis-edf-3
+ 1. The onmetis shell-script included in the distribution.
+ '--version' argument passed to onmetis.exe.
+ 2. onmetis binary renamed onmetis.exe
+
+
+13/05/2002 : Version : metis-edf-2
+ 1. Option --version added to check the version level during
+ Code_Aster installation process.
+
+
+19/03/2002 :
+ 1. Correction in Lib/ometic.c and Programs/smbfactor.c by Ch. Rose.
+
+
+19/04/2000 : Version : metis-edf-1
+ Modifications for big problems :
+ 1. Change all int declaration into long in C sources (.c and .h)
+
+ 2. Change all scanf/printf formats : %d into %ld and %nd into %nld
+ Exception for separator.c :
+ IFSET(ctrl->dbglvl, DBG_SEPINFO,
+ printf("Nvtxs: %6d, [%5d %5d], Cut: %6d, SS: [%6d %6d], Cover: %6d\n", nvtxs, graph->pwgts[0], graph->pwgts
+[1], graph->mincut, bnvtxs[0], bnvtxs[1]-bnvtxs[0], csize));
+
+ 3. struct.h modified :
+
+ #define MAXIDX (1<<8*sizeof(idxtype)-2)
+
+ #define MAXIDX (((idxtype)1)<<8*sizeof(idxtype)-2)
+
+ 4. Compilation options for IRIX64 : -64 -02 et -64 -i8
+ Link options : -64
+
+
+
+
Added: packages/code-aster/metis-edf/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/changelog?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/changelog (added)
+++ packages/code-aster/metis-edf/trunk/debian/changelog Sun Apr 18 20:15:15 2010
@@ -1,0 +1,5 @@
+metis-edf (4.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #578054)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 26 Mar 2010 10:45:05 +0100
Added: packages/code-aster/metis-edf/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/compat?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/compat (added)
+++ packages/code-aster/metis-edf/trunk/debian/compat Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+7
Added: packages/code-aster/metis-edf/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/control?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/control (added)
+++ packages/code-aster/metis-edf/trunk/debian/control Sun Apr 18 20:15:15 2010
@@ -1,0 +1,49 @@
+Source: metis-edf
+Section: non-free/math
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: cdbs, debhelper (>= 7), quilt
+Standards-Version: 3.8.4
+Homepage: http://glaros.dtc.umn.edu/gkhome/metis/metis/overview
+
+Package: metis-edf
+Architecture: any
+Depends: libmetis-edf4.1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Family of Multilevel Partitioning Algorithms
+ METIS: A Family of Multilevel Partitioning Algorithms
+ .
+ This is a collection of serial and parallel programs & libraries
+ that can be used to partitioning unstructured graphs, finite element meshes,
+ and hypergraphs, both on serial as well as on parallel computers.
+ .
+ Adaptation of METIS for Code_Aster purpose
+
+Package: libmetis-edf4.1
+Section: non-free/libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Family of Multilevel Partitioning Algorithms
+ METIS: A Family of Multilevel Partitioning Algorithms
+ .
+ This is a collection of serial and parallel programs & libraries
+ that can be used to partitioning unstructured graphs, finite element meshes,
+ and hypergraphs, both on serial as well as on parallel computers.
+ .
+ Adaptation of METIS for Code_Aster purpose
+ .
+ This package contains the shared library
+
+Package: libmetis-edf-dev
+Section: non-free/libdevel
+Architecture: any
+Depends: libmetis-edf4.1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Family of Multilevel Partitioning Algorithms
+ METIS: A Family of Multilevel Partitioning Algorithms
+ .
+ This is a collection of serial and parallel programs & libraries
+ that can be used to partitioning unstructured graphs, finite element meshes,
+ and hypergraphs, both on serial as well as on parallel computers.
+ .
+ Adaptation of METIS for Code_Aster purpose
+ .
+ This package contains files needed for development
Added: packages/code-aster/metis-edf/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/copyright?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/copyright (added)
+++ packages/code-aster/metis-edf/trunk/debian/copyright Sun Apr 18 20:15:15 2010
@@ -1,0 +1,38 @@
+This work was packaged for Debian by:
+
+ Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Fri, 26 Mar 2010 10:45:05 +0100
+
+It was downloaded from:
+
+ http://www.code-aster.org
+
+Upstream Author:
+
+ George Karypis <metis at cs.umn.edu>
+
+Copyright:
+
+ Copyright 1997-2003, Regents of the University of Minnesota
+
+License:
+
+ The ParMETIS/METIS package is copyrighted by the Regents of the
+ University of Minnesota. It can be freely used for educational and
+ research purposes by non-profit institutions and US government agencies
+ only. Other organizations are allowed to use ParMETIS/METIS only for
+ evaluation purposes, and any further uses will require prior approval.
+ The software may not be sold or redistributed without prior approval.
+ One may make copies of the software for their use provided that the
+ copies, are not sold or distributed, are used under the same terms
+ and conditions.
+
+ As unestablished research software, this code is provided on an
+ ``as is'' basis without warranty of any kind, either expressed or
+ implied. The downloading, or executing any part of this software
+ constitutes an implicit agreement to these terms. These terms and
+ conditions are subject to change at any time without prior notice.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+
Added: packages/code-aster/metis-edf/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/docs?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/docs (added)
+++ packages/code-aster/metis-edf/trunk/debian/docs Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+README_Code_Aster
Added: packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postinst.debhelper
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postinst.debhelper?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postinst.debhelper (added)
+++ packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postinst.debhelper Sun Apr 18 20:15:15 2010
@@ -1,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "configure" ]; then
+ ldconfig
+fi
+# End automatically added section
Added: packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postrm.debhelper
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postrm.debhelper?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postrm.debhelper (added)
+++ packages/code-aster/metis-edf/trunk/debian/libmetis-edf.postrm.debhelper Sun Apr 18 20:15:15 2010
@@ -1,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "remove" ]; then
+ ldconfig
+fi
+# End automatically added section
Added: packages/code-aster/metis-edf/trunk/debian/patches/Makefile.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/patches/Makefile.patch?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/patches/Makefile.patch (added)
+++ packages/code-aster/metis-edf/trunk/debian/patches/Makefile.patch Sun Apr 18 20:15:15 2010
@@ -1,0 +1,162 @@
+Index: metis-edf-4.1/Makefile
+===================================================================
+--- metis-edf-4.1.orig/Makefile 2010-03-26 16:08:05.000000000 +0100
++++ metis-edf-4.1/Makefile 2010-03-26 16:08:05.000000000 +0100
+@@ -5,29 +5,21 @@
+ SUBDIRS=Lib Programs
+ CONFDIR=./CONFIG
+
+-default: Makefile.in onmetis.exe pmetis kmetis tests
++default: Makefile.in libs programs
+
+-onmetis.exe: Makefile.in
+- for d in $(SUBDIRS); do \
+- (cd $$d && $(MAKE)); \
+- done
+-
+-pmetis: Makefile.in
+- for d in $(SUBDIRS); do \
+- (cd $$d && $(MAKE)); \
+- done
++libs: Makefile.in
++ (cd Lib && $(MAKE))
+
+-kmetis: Makefile.in
++programs: Makefile.in
+ for d in $(SUBDIRS); do \
+ (cd $$d && $(MAKE)); \
+ done
+
+
+-
+ tests:
+ cd Test ; make
+
+-clean:
++clean: Makefile.in
+ for d in $(SUBDIRS) Test; do \
+ (cd $$d && $(MAKE) $@); \
+ done
+@@ -42,5 +34,6 @@
+ # config : define variables depends on platform
+ # Linux, IRIX64, SunOS (SOLARIS/SOLARIS64), OSF1 (TRU64)
+ Makefile.in:
++ echo "Creating Makefile.in"
+ sh $(CONFDIR)/configure
+
+Index: metis-edf-4.1/Lib/Makefile
+===================================================================
+--- metis-edf-4.1.orig/Lib/Makefile 2010-03-26 16:08:05.000000000 +0100
++++ metis-edf-4.1/Lib/Makefile 2010-03-26 16:10:39.000000000 +0100
+@@ -2,7 +2,6 @@
+
+ INCLUDES = -I.
+
+-CFLAGS = $(COPTIONS) $(INCLUDES)
+ LD = $(CC) -L.
+
+
+@@ -17,14 +16,23 @@
+ mrefine2.o minitpart2.o mbalance2.o mfm2.o \
+ kvmetis.o kwayvolrefine.o kwayvolfm.o subdomains.o
+
++all: ../libmetis-edf.a ../libmetis-edf.so
++
++
+ .c.o:
+- $(CC) $(CFLAGS) -c $*.c
++ $(CC) $(COPTIONS) $(INCLUDES) -c $*.c
+
+-../libmetis.a: $(OBJS)
++../libmetis-edf.a: $(OBJS)
+ $(AR) $@ $(OBJS)
+
++../libmetis-edf.so: $(OBJS)
++ $(CC) $(LDFLAGS) -shared -o $@ $(OBJS) -Wl,-soname,libmetis-edf.so.4.1
++ (cd .. && mv libmetis-edf.so libmetis-edf.so.4.1)
++ (cd .. && ln -s libmetis-edf.so.4.1 libmetis-edf.so.4)
++ (cd .. && ln -s libmetis-edf.so.4 libmetis-edf.so)
++
+ clean:
+ rm -f *.o
+
+ distclean:
+- rm -f *.o ; rm -f ../libmetis.a
++ rm -f *.o ; rm -f ../libmetis.a ../libmetis.so*
+Index: metis-edf-4.1/Test/Makefile
+===================================================================
+--- metis-edf-4.1.orig/Test/Makefile 2010-03-26 16:08:05.000000000 +0100
++++ metis-edf-4.1/Test/Makefile 2010-03-26 16:08:05.000000000 +0100
+@@ -4,12 +4,12 @@
+
+ vers_check:
+ @echo "### Test 2 : test --version option, onmetis returns :"
+- (../onmetis --version ; exit 0)
++ (export LD_LIBRARY_PATH=..; ../onmetis.exe --version ; exit 0)
+ @echo " "
+
+ fort.85 : fort.81
+ @echo "### Test 1 : data file produced by Code_Aster"
+- ../onmetis fort.81
++ (export LD_LIBRARY_PATH=..; ../onmetis.exe fort.81; exit 0)
+ @echo " "
+
+ clean:
+Index: metis-edf-4.1/Programs/Makefile
+===================================================================
+--- metis-edf-4.1.orig/Programs/Makefile 2010-03-26 16:08:05.000000000 +0100
++++ metis-edf-4.1/Programs/Makefile 2010-03-26 16:08:05.000000000 +0100
+@@ -3,10 +3,8 @@
+ BINDIR = ..
+
+ INCLUDES = -I../Lib
+-CFLAGS = $(COPTIONS) $(INCLUDES)
+-FFLAGS = $(FOPTIONS) $(INCLUDES)
+-LIBS = -lmetis -lm
+-METISLIB = ../libmetis.a
++LIBS = -L.. -lmetis-edf -lm
++METISLIB =
+
+
+ ONMETISOBJS = onmetis.o io_aster.o smbfactor.o ecri11.o lect11.o lect00.o
+@@ -16,21 +14,21 @@
+
+
+ .c.o:
+- $(CC) $(CFLAGS) -c $*.c
++ $(CC) $(COPTIONS) $(INCLUDES) -c $*.c
+
+
+ default: $(BINDIR)/onmetis.exe $(BINDIR)/pmetis $(BINDIR)/kmetis
+
+
+-$(BINDIR)/onmetis.exe: $(ONMETISOBJS) $(METISLIB)
++$(BINDIR)/onmetis.exe: $(ONMETISOBJS)
+ $(LD) $(LDOPTIONS) -o $@ $(ONMETISOBJS) $(LIBS)
+ chmod 755 $@
+
+-$(BINDIR)/pmetis: $(PMETISOBJS) $(METISLIB)
++$(BINDIR)/pmetis: $(PMETISOBJS)
+ $(LD) $(LDOPTIONS) -o $@ $(PMETISOBJS) $(LIBS)
+ chmod 755 $@
+
+-$(BINDIR)/kmetis: $(KMETISOBJS) $(METISLIB)
++$(BINDIR)/kmetis: $(KMETISOBJS)
+ $(LD) $(LDOPTIONS) -o $@ $(KMETISOBJS) $(LIBS)
+ chmod 755 $@
+
+@@ -38,11 +36,11 @@
+ clean:
+ rm -f *.o
+ ecri11.o:ecri11.f
+- $(F90) $(FFLAGS) -c ecri11.f
++ $(F90) $(FOPTIONS) $(INCLUDES) -c ecri11.f
+ lect11.o:lect11.f
+- $(F90) $(FFLAGS) -c lect11.f
++ $(F90) $(FOPTIONS) $(INCLUDES) -c lect11.f
+ lect00.o:lect00.f
+- $(F90) $(FFLAGS) -c lect00.f
++ $(F90) $(FOPTIONS) $(INCLUDES) -c lect00.f
+ distclean:
+ rm -f *.o ;\
+ rm -f $(BINDIR)/onmetis.exe ;
Added: packages/code-aster/metis-edf/trunk/debian/patches/configure.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/patches/configure.patch?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/patches/configure.patch (added)
+++ packages/code-aster/metis-edf/trunk/debian/patches/configure.patch Sun Apr 18 20:15:15 2010
@@ -1,0 +1,72 @@
+Index: metis-edf-4.1/CONFIG/configure
+===================================================================
+--- metis-edf-4.1.orig/CONFIG/configure 2010-03-26 14:52:43.000000000 +0100
++++ metis-edf-4.1/CONFIG/configure 2010-03-26 14:52:43.000000000 +0100
+@@ -25,7 +25,7 @@
+ echo " Installation failed !"
+ exit 8
+ fi
+-echo " Configure Makefile.in for platform : $OS_TYPE"
++echo " Configure Makefile.in for platform : $OS_TYPE arch: $OS_MACH"
+
+ # CC : C compiler, F90 : Fortran compiler, LD : loader
+ # COPTIONS : C compiler options
+@@ -41,16 +41,12 @@
+ AR_TEMP="ar rv"
+
+ if [ $OS_TYPE = "Linux" ]; then
++ CC_TEMP="gcc"
++ F90_TEMP="gfortran"
++ LD_TEMP="gfortran"
++ COPTIONS_TEMP="-fPIC -DPIC"
+ if [ $OS_MACH = "x86_64" ]; then
+- CC_TEMP="gcc"
+- F90_TEMP="gfortran"
+- LD_TEMP="gfortran"
+- COPTIONS_TEMP=""
+- FOPTIONS_TEMP="-i8 -r8"
+- else
+- CC_TEMP="gcc"
+- F90_TEMP="g77"
+- LD_TEMP="g77"
++ FOPTIONS_TEMP="-fdefault-double-8 -fdefault-integer-8 -fdefault-real-8"
+ fi
+ elif [ $OS_TYPE = "CYGWIN_NT-5.1" ]; then
+ CC_TEMP="gcc"
+@@ -77,6 +73,8 @@
+ rm -f Makefile.in
+ fi
+
++echo $COPTIONS_TEMP
++echo $FOPTIONS_TEMP
+
+
+ if [ "$CC" != "" ] ; then
+@@ -90,9 +88,17 @@
+ fi
+ if [ "$CFLAGS" != "" ] ; then
+ COPTIONS_TEMP=$CFLAGS
++ if [ $OS_TYPE = "Linux" ]; then
++ COPTIONS_TEMP="$CFLAGS -fPIC -DPIC"
++ fi
+ fi
+ if [ "$FFLAGS" != "" ] ; then
+ FOPTIONS_TEMP=$FFLAGS
++ if [ $OS_TYPE = "Linux" ]; then
++ if [ $OS_MACH = "x86_64" ]; then
++ FOPTIONS_TEMP="$FFLAGS -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8"
++ fi
++ fi
+ fi
+ if [ "$LDFLAGS" != "" ] ; then
+ LDOPTIONS_TEMP=$LDFLAGS
+@@ -103,6 +109,9 @@
+
+ LDOPTIONS_TEMP="$LDOPTIONS_TEMP -L. -L.."
+
++echo $FOPTIONS_TEMP
++echo $COPTIONS_TEMP
++
+ cat << EOF > Makefile.in
+ # Generated by CONFIG/configure
+ CC=$CC_TEMP
Added: packages/code-aster/metis-edf/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/patches/series?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/patches/series (added)
+++ packages/code-aster/metis-edf/trunk/debian/patches/series Sun Apr 18 20:15:15 2010
@@ -1,0 +1,2 @@
+configure.patch
+Makefile.patch
Added: packages/code-aster/metis-edf/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/rules?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/rules (added)
+++ packages/code-aster/metis-edf/trunk/debian/rules Sun Apr 18 20:15:15 2010
@@ -1,0 +1,39 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+# no check for this software
+DEB_MAKE_CHECK_TARGET := tests
+
+
+# Add here any variable or target overrides you need.
+
+makebuilddir/metis-edf::
+ rm -f Makefile.in
+
+
+install/metis-edf::
+ install -d debian/metis-edf/usr/bin
+ install -m644 pmetis debian/metis-edf/usr/bin
+ install -m644 kmetis debian/metis-edf/usr/bin
+ install -m644 onmetis debian/metis-edf/usr/bin
+ install -m644 onmetis.exe debian/metis-edf/usr/bin
+ strip debian/metis-edf/usr/bin/[pk]metis
+ strip debian/metis-edf/usr/bin/onmetis.exe
+
+install/libmetis-edf4.1::
+ install -d debian/libmetis-edf4.1/usr/lib
+ install -m644 libmetis-edf.so.4.1 debian/libmetis-edf4.1/usr/lib
+ (cd debian/libmetis-edf4.1/usr/lib && ln -s libmetis-edf.so.4.1 libmetis-edf.so.4)
+
+install/libmetis-edf-dev::
+ install -d debian/libmetis-edf-dev/usr/lib
+ (cd debian/libmetis-edf-dev/usr/lib && ln -sf libmetis-edf.so.4 libmetis-edf.so)
+
+clean::
+ find . -name \*.o | xargs rm -f
+ rm -f libmetis-edf.*
+ rm -f onmetis.exe pmetis kmetis
+ rm -f Makefile.in
Propchange: packages/code-aster/metis-edf/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/code-aster/metis-edf/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/metis-edf/trunk/debian/source/format?rev=36399&op=file
==============================================================================
--- packages/code-aster/metis-edf/trunk/debian/source/format (added)
+++ packages/code-aster/metis-edf/trunk/debian/source/format Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Added: packages/code-aster/pylotage/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/README.Debian?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/README.Debian (added)
+++ packages/code-aster/pylotage/trunk/debian/README.Debian Sun Apr 18 20:15:15 2010
@@ -1,0 +1,6 @@
+pylotage for Debian
+-------------------
+
+initial build for squeeze
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Tue, 30 Mar 2010 13:02:47 +0200
Added: packages/code-aster/pylotage/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/README.source?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/README.source (added)
+++ packages/code-aster/pylotage/trunk/debian/README.source Sun Apr 18 20:15:15 2010
@@ -1,0 +1,9 @@
+pylotage for Debian
+-------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
Added: packages/code-aster/pylotage/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/changelog?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/changelog (added)
+++ packages/code-aster/pylotage/trunk/debian/changelog Sun Apr 18 20:15:15 2010
@@ -1,0 +1,5 @@
+pylotage (2.0.5-1) unstable; urgency=low
+
+ * Initial release (Closes: #578058)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Tue, 30 Mar 2010 13:02:47 +0200
Added: packages/code-aster/pylotage/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/compat?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/compat (added)
+++ packages/code-aster/pylotage/trunk/debian/compat Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+7
Added: packages/code-aster/pylotage/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/control?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/control (added)
+++ packages/code-aster/pylotage/trunk/debian/control Sun Apr 18 20:15:15 2010
@@ -1,0 +1,19 @@
+Source: pylotage
+Section: science
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: cdbs, debhelper (>= 7), cdbs, python-all-dev (>= 2.5), python-support (>= 1.0.7), omniidl4, omniidl4-python
+Standards-Version: 3.8.4
+Homepage: http://www.code-aster.org/
+
+Package: pylotage
+Architecture: any
+Section: python
+Depends: ${python:Depends}, ${misc:Depends}, aster, salome, omniidl4, omniidl4-python
+Description: Python interface between Code_Aster and Salome services
+ Code_Aster is a finite element solver for partial differential equations. It
+ is particularly suited to problems involving heat transfer, mechanics, fluids,
+ and fluid-structure interactions. It is the product of Electricité de France
+ (EDF) and is ISO 9001-certified.
+ .
+ This package contains minimal plugin for Salome
Added: packages/code-aster/pylotage/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/copyright?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/copyright (added)
+++ packages/code-aster/pylotage/trunk/debian/copyright Sun Apr 18 20:15:15 2010
@@ -1,0 +1,27 @@
+This work was packaged for Debian by:
+
+ Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on Tue, 30 Mar 2010 13:02:47 +0200
+
+It was downloaded from:
+
+ http://www.code-aster.org/
+
+Upstream Author:
+
+ EDF (Electricité de France)
+
+Copyright:
+
+ COPYRIGHT (C) 1991 - 2010 EDF R&D WWW.CODE-ASTER.ORG
+
+License:
+
+ pylotage is distributed under the terms of the GNU General Public License.
+ The text is available at : http://www.code-aster.org/telechargement_doc/GPL.txt
+
+ /usr/share/common-licenses/GPL-2
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+
Added: packages/code-aster/pylotage/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/docs?rev=36399&op=file
==============================================================================
(empty)
Added: packages/code-aster/pylotage/trunk/debian/patches/debian-changes-2.0.5-1
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/patches/debian-changes-2.0.5-1?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/patches/debian-changes-2.0.5-1 (added)
+++ packages/code-aster/pylotage/trunk/debian/patches/debian-changes-2.0.5-1 Sun Apr 18 20:15:15 2010
@@ -1,0 +1,244 @@
+Description: Upstream changes introduced in version 2.0.5-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ pylotage (2.0.5-1) unstable; urgency=low
+ .
+ * Initial release (Closes: #578058)
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Bug-Debian: http://bugs.debian.org/578058
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- /dev/null
++++ pylotage-2.0.5/pylotage/TOOLS/CORE/MyLifeCycleCORBA.py
+@@ -0,0 +1,216 @@
++# -*- coding: iso-8859-1 -*-
++import CosNaming
++
++#from pylotage.TOOLS.CORE.IDL import Engines
++import pylotage.TOOLS.CORE.IDL.Engines as Engines
++reload(Engines)
++
++from pylotage.TOOLS.CORE.IDL import SALOME_ModuleCatalog
++
++
++from SALOME_utilities import *
++from Utils_Identity import getShortHostName
++import LifeCycleCORBA
++
++from pylotage.TOOLS.Error import *
++
++
++
++
++
++class MyLifeCycleCORBA( LifeCycleCORBA.LifeCycleCORBA ):
++ """
++ Classe spécialisé de LifeCycleCORBA pour les besoins du pilotage
++ """
++ def __init__(self, orb, namingServiceURI = None ):
++ self._orb = orb
++ self._rootContext = None
++
++ if namingServiceURI is not None:
++ try:
++ obj = orb.string_to_object(namingServiceURI)
++ self._rootContext = obj._narrow(CosNaming.NamingContext)
++ except:
++ pass
++ #MESSAGE( CorbaClientMsg[1] + " , URI =" + namingServiceURI )
++ else:
++ obj = self._orb.resolve_initial_references("NameService")
++ self._rootContext = obj._narrow(CosNaming.NamingContext)
++
++
++ if self._rootContext is None:
++ #MESSAGE( CorbaClientMsg[1] )
++ raise PylotageError(0)
++
++ name = [CosNaming.NameComponent("Containers","dir")]
++ try:
++ self._containerRootContext = self._rootContext.bind_new_context(name)
++
++ except CosNaming.NamingContext.AlreadyBound, ex:
++ MESSAGE( "/Containers.dir Context already exists" )
++ obj = self._rootContext.resolve(name)
++ self._containerRootContext = obj._narrow(CosNaming.NamingContext)
++ if self._containerRootContext is None:
++ MESSAGE( "Containers.dir exists but it is not a NamingContext" )
++ raise PylotageError(0)
++
++ name = [CosNaming.NameComponent("Kernel","dir"),
++ CosNaming.NameComponent("ModulCatalog","object")]
++ try:
++ obj = self._rootContext.resolve(name)
++ except CosNaming.NamingContext.NotFound, ex:
++ MESSAGE( "/Kernel.dir/ModulCatalog.object not found in Naming Service" )
++
++ self._catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
++
++ if self._catalog is None:
++ MESSAGE( "/Kernel.dir/ModulCatalog.object exists but is not a ModulCatalog" )
++
++
++ name = [CosNaming.NameComponent("ContainerManager","object")]
++ try:
++ obj = self._rootContext.resolve(name)
++ except CosNaming.NamingContext.NotFound, ex:
++ MESSAGE( "ContainerManager.object not found in Naming Service" )
++
++ self._contManager = obj._narrow(Engines.ContainerManager)
++ if self._contManager is None:
++ MESSAGE( "ContainerManager.object exists but is not a ContainerManager")
++ raise PylotageError(0)
++
++
++ #-------------------------------------------------------------------------
++ def LoadComponent( self,containerName,componentName,listOfMachine ):
++ print "AA1: LoadComponent"
++ # MachineParameters doit prendre en argument tous les élements de l'énumération MachineParameters de SALOME_ContainerManager.idl
++ params=MachineParameters(container_name=containerName)
++ container=self._contManager.FindOrStartContainer( params)
++ implementation="lib"+componentName+"Engine.so"
++ try:
++ component = container.load_impl(componentName, componentName)
++ MESSAGE( "component " + component._get_instanceName() + " launched !" )
++ return component
++ except:
++ MESSAGE( "component " + componentName + " NOT launched !" )
++ return None
++
++
++ #-------------------------------------------------------------------------
++ def FindOrLoadComponent(self, containerName, componentName):
++ print "AA1: FindOrLoadComponent"
++ sp=containerName.split("/")
++ if len(sp)==1:
++ listOfMachine=[]
++ listOfMachine.append(getShortHostName())
++ comp=self.FindComponent(containerName,componentName,listOfMachine)
++ if comp is None:
++ return self.LoadComponent(containerName,componentName,listOfMachine)
++ else:
++ return comp
++ pass
++ else:
++ listOfMachine=[sp[0]]
++ ret=self.FindComponent(sp[1],componentName,listOfMachine)
++ if ret is None:
++ return self.LoadComponent(sp[1],componentName,listOfMachine)
++ else:
++ return ret
++ pass
++
++
++ #-------------------------------------------------------------------------
++ def showNScontext(self,context,dec=''):
++ bl,bi=context.list(0)
++ if bi is not None:
++ ok,b=bi.next_one()
++ while(ok):
++ for s in b.binding_name :
++ print "%s%s.%s" %(dec,s.id,s.kind)
++ if s.kind == "dir":
++ obj=context.resolve([s])
++ scontext = obj._narrow(CosNaming.NamingContext)
++ self.showNScontext(scontext,dec=dec+' ')
++ ok,b=bi.next_one()
++
++
++ #-------------------------------------------------------------------------
++ def getComponentbyName(self,context,name):
++ bl,bi=context.list(0)
++ if bi is not None:
++ ok,b=bi.next_one()
++ while(ok):
++ for s in b.binding_name :
++ print "%s.%s" %(s.id,s.kind)
++ if s.id.startswith(name): return s.id
++ if s.kind == "dir":
++ obj=context.resolve([s])
++ scontext = obj._narrow(CosNaming.NamingContext)
++ self.getComponentbyName(scontext,name)
++ ok,b=bi.next_one()
++
++
++ #-------------------------------------------------------------------------
++
++ def FindComponent(self,containerName,componentName,listOfMachines):
++ if containerName!="":
++ self.showNScontext(self._containerRootContext)
++ cpn = self.getComponentbyName(self._containerRootContext, componentName)
++ machinesOK=[]
++
++ for i in range(len(listOfMachines)):
++ currentMachine=listOfMachines[i]
++ try:
++ obj = self._containerRootContext.resolve([ CosNaming.NameComponent(currentMachine,"dir"), CosNaming.NameComponent(containerName,"dir"), ] )
++ cpn = self.getComponentbyName(obj, componentName)
++ print obj, cpn
++ componentNameForNS= [ CosNaming.NameComponent(currentMachine,"dir"),
++ CosNaming.NameComponent(containerName,"dir"),
++ CosNaming.NameComponent(cpn,"object")]
++ try:
++ obj = self._containerRootContext.resolve(componentNameForNS)
++ except CosNaming.NamingContext.NotFound, ex:
++ print ex
++ MESSAGE( "component " + componentName + " not found on machine " + currentMachine + " , trying to load" )
++ pass
++ print "AA1: FindComponent0 / obj=", obj
++ if obj is not None:
++ machinesOK.append(currentMachine)
++ pass
++ pass
++ except CosNaming.NamingContext.NotFound, ex:
++ obj = None
++
++ if len(machinesOK)!=0:
++ #bestMachine=self._contManager.FindBest(machinesOK)
++ bestMachine=currentMachine
++
++ componentNameForNS= [CosNaming.NameComponent(bestMachine,"dir"),
++ CosNaming.NameComponent(containerName,"dir"),
++ CosNaming.NameComponent(cpn,"object")]
++ obj=None
++ obj = self._containerRootContext.resolve(componentNameForNS)
++ #try: obj = self._containerRootContext.resolve(componentNameForNS)
++ #except: pass
++
++ if obj is not None:
++ return obj._narrow(Engines.Component)
++ else:
++ MESSAGE( "Big problem !!!")
++ return None
++ else:
++ return None
++ else:
++ bestMachine=self._contManager.FindBest(listOfMachines)
++ MESSAGE("Not implemented yet ...")
++ return None
++ pass
++
++
++class MachineParameters (Engines.MachineParameters):
++ def __init__(self, container_name='', hostname='', componentList=[], computerList=[], OS='',
++ mem_mb=0, cpu_clock=0, nb_proc_per_node=0, nb_node=0, isMPI=False, workingdir='',
++ mode='start', policy='altcycl', parallelLib='', nb_component_nodes=0):
++ Engines.MachineParameters.__init__(self,container_name, hostname, componentList, computerList, OS,
++ mem_mb, cpu_clock, nb_proc_per_node, nb_node, isMPI, workingdir,
++ mode, policy, parallelLib, nb_component_nodes)
++
Added: packages/code-aster/pylotage/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/patches/series?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/patches/series (added)
+++ packages/code-aster/pylotage/trunk/debian/patches/series Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+debian-changes-2.0.5-1
Added: packages/code-aster/pylotage/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/pyversions?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/pyversions (added)
+++ packages/code-aster/pylotage/trunk/debian/pyversions Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+2.5-
Added: packages/code-aster/pylotage/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/rules?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/rules (added)
+++ packages/code-aster/pylotage/trunk/debian/rules Sun Apr 18 20:15:15 2010
@@ -1,0 +1,17 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+
+# Add here any variable or target overrides you need.
+SALOME_VERSION = 'DEFAULT'
+
+# build options for the Python build script
+DEB_PYTHON_BUILD_ARGS = --salome=$(SALOME_VERSION) --with-omniidl=/usr/bin/omniidl
+
+# change the Python build script name (default is 'setup.py')
+DEB_PYTHON_SETUP_CMD := setup.py --salome=$(SALOME_VERSION) --with-omniidl=/usr/bin/omniidl
+
Propchange: packages/code-aster/pylotage/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/code-aster/pylotage/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/source/format?rev=36399&op=file
==============================================================================
--- packages/code-aster/pylotage/trunk/debian/source/format (added)
+++ packages/code-aster/pylotage/trunk/debian/source/format Sun Apr 18 20:15:15 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
Added: packages/code-aster/pylotage/trunk/debian/stamp-patched
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/pylotage/trunk/debian/stamp-patched?rev=36399&op=file
==============================================================================
(empty)
More information about the debian-science-commits
mailing list