probably the reason why people had problems with the sendmail-command
method was because the code passed an invalid envelope-from string. Fix
that by removing the envelope from and have it set by the MTA.
Also switch from the deprecated popen2 to using corresponding methods of
the subprocess module.
this is not only a lot faster, but also allows lossless conversion.
Along that line, don't try to alter the pagesize during conversion to
PDF. PDF-viewer applications do a great job adjusting to the paper-size
as the user wants it, so let the user make the decision. After all when
having the PDF, it is unlikely that it will be printed out anyway.
even if it is overruled by the named options that are also specified
otherwise python complains with the slightly confusing error:
"method requires 1 argument (2 given)"
Install capisuite python module in pkgpython_PYTHON, this puts capisuite as
a module into the standard python path.
cs_helpers.py(in) was renamed to helpers.py(in) and also put into
the capisuite module. The old autoconf code put cs_helpers into
site-packages, and that is not part of the default sys.path any more.
That may be a Debian issue, but having the capisuite python code in two
different directories seemed undesirable enough to warrant this change.
Details:
core.py: some fax functions did not return faxInfo even if the C++
implementaion does. Fixed.
fax.py: sendinfo now returns the faxInfo like this:
((result, resultB3), faxInfo)
idle-script: faxInfo is now taken from fax.sendfax() and included into
sendinfo, which is used by MailFaxRecievd message.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@429 4ebea2bb-67d4-0310-8558-a5799e421b66
- wave-files are now installed into $pkgdatadir instead of
$pkgdatadir/waves.
- Some pkgpython_* variables have not been set for non-building
targets (eg. clean). This caused building errors. Fixed.
- HAVE_CONFIG_H was not set for compiler calls.
- no longer install $sysconfdir/cron.daily/capisuite,
$sysconfdir/init.d/capisuite and $pkgsysconfdir/cronjob.conf.
* .spec-files have moved, fixed pathes within SCons* files.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@395 4ebea2bb-67d4-0310-8558-a5799e421b66
- Added traget 'dist' and 'distcheck' for creating and testing a
distribution archive (.tar.gz).
- Added env.InstallMan() for easy installation of man pages.
- Added more fine-grained 'install-*' targets sub-aliases of
'install' this allowed some cleaning up in SConscripts.
- Added target 'rpms' for build source and binary RPMs (currently
the .spec file is hardcoded).
- Updated tests to status of current ./configure script
(CS_TEST_CAPI4LINUX, CS_TEST_SFFTOBMP, CS_SET_DOCDIR)
* Enhanced for SCons build scripts for supporting SCons 0.96's
'toolpath' feature.
* Use prebuild man pages from SVN repository. Building from docbook is
still to do.
* New SConscript for building .spec files.
* Added .spec for Mandrake 9.2
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@385 4ebea2bb-67d4-0310-8558-a5799e421b66
depending on @sfftobmp_major_version@ during runtime. This
switch is made based by a compiletime substitution of
sfftobmp_major_version. This change avoids problems which the
old substitution may have cause ('#3' is an extremly short
replacement pattern).
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@384 4ebea2bb-67d4-0310-8558-a5799e421b66
* scripts/answering_machine.confin: remove spaces in example which
confused the config file parser when not deleted by the user
* scripts/fax.confin: Likewise.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@235 4ebea2bb-67d4-0310-8558-a5799e421b66
* scripts/incoming.py (faxIncoming,CVS log): fixed two typos /
removed not allowed german umlauts
* src/modules/audioreceive.h (AudioReceive): correct exception
declaration order (thx to Matthias Haberkorn for the patch)
* src/modules/callmodule.h (mainLoop): Likewise.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@229 4ebea2bb-67d4-0310-8558-a5799e421b66
* scripts/cs_helpers.pyin (escape,getAudio,uniqueName,sendMIMEMail,
sendSimpleMail,sayNumber), scripts/idle.py (idle,sendfax,movejob),
scripts/incoming.py (callIncoming,faxIncoming,voiceIncoming,
remoteInquiry,newAnnouncement): use % instead of + operator for
string concatenation (faster; thx to Hartmut Goebel for the hint);
use os.path.join where appropriate
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@209 4ebea2bb-67d4-0310-8558-a5799e421b66