Commit Graph

94 Commits

Author SHA1 Message Date
Lars Immisch c5c87183b0 Include sample systemd startup script 2016-12-03 01:47:30 +01:00
Lars Immisch b62ee3004e Fixes for contemporary setuptools, autoconf update
The fix for finding the Python Makefile directly in configure is a hack, of course, but I ca'nt find it in autoconf
2016-12-02 22:29:44 +01:00
Tilo Prütz c288749631 Gentoo's date header patch; adds date headers to e-mail 2013-10-11 11:39:08 +02:00
Lars Immisch 1410b36fe5 New autoconf/automake version 2013-08-14 10:34:48 +02:00
Lars Immisch 2e06b64e1a Merge pull request #6 from cloph/pr_sendmail
subprocess module raises OSError instead of IOError
2013-06-17 14:29:27 -07:00
Christian Lohmaier 0a04dbdeeb subprocess module raises OSError instead of IOError 2013-05-28 11:18:10 +02:00
Lars Immisch 5c00a7c5f9 Merge pull request #5 from cloph/pr_checkconfig
Create capisuite-checkconfig target
2013-05-26 05:57:38 -07:00
Lars Immisch d4cccebc97 Merge pull request #3 from cloph/pr_param_count
first argument to _getLock is mandatory
2013-05-26 05:55:49 -07:00
Lars Immisch af6d6be317 Merge pull request #2 from cloph/pr_tiff2pdf
use tiff2pdf instead of converting first to ps and then to pdf
2013-05-26 05:54:49 -07:00
Christian Lohmaier bd7cf7e855 default to sendmail command again to allow for lightweight MTAs
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.
2013-05-25 11:32:05 +02:00
Christian Lohmaier 5effa4059f use tiff2pdf instead of converting first to ps and then to pdf
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.
2013-05-25 11:25:40 +02:00
Christian Lohmaier c2fb24c783 first argument to _getLock is mandatory
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)"
2013-05-25 11:13:57 +02:00
Christian Lohmaier 9fee02ce4b Create capisuite-checkconfig
as it is very helpful since it creates the per-user spooldirectories
without having to fiddle around manually
2013-05-25 10:55:22 +02:00
Lars Immisch 4775a92ad3 sox: the parameter -w was deprecated in 13.0.0 and removed in 14.1.0 2012-03-23 23:56:31 +01:00
Lars Immisch 7455aff14d cs_helpers.py was unused. 2012-03-23 23:55:57 +01:00
Lars Immisch eb002f080f Fix remote inquiry.
Create symbolic link to README (automake insists on it).
2012-03-09 00:42:58 +01:00
Lars Immisch c6c51e4daa New automake/autoconf versions. 2012-03-07 11:29:21 +01:00
Lars Immisch f75255640c Python layout changes.
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.
2012-03-07 10:57:02 +01:00
htgoebel 69398972d7 Fixed passing fax-info about received faxes to MailFaxRecievd message.
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
2005-01-28 19:35:51 +00:00
htgoebel 4f97c8f413 changed MailFaxReceived message, esp. added stationID to subject
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@428 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-28 19:21:30 +00:00
gernot 324d2b77e5 revert file:/ URL change of rev. 419, add hostname according
to RFC 1738


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@426 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-26 20:59:53 +00:00
htgoebel b1e851f619 Debugged sending faxes.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@419 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-21 19:48:48 +00:00
htgoebel 5c578aef76 Some minor changes.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@418 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 20:20:39 +00:00
htgoebel 193c95268c Implemented an option for capisuite-checkconfig to test whether
capisuite is configured. This test is used in rc.capisuite.in (where
is has been implemented).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@413 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 18:26:19 +00:00
htgoebel 85ded3ad57 small code enhancement
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@400 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-07 19:31:48 +00:00
htgoebel 6c251f568d * Fixed some scons building errors:
- 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
2005-01-07 13:58:09 +00:00
gernot 91a1ab141c - beautify Hartmut's changes from 2004-12-30 to make script code more
understandable after auto-replacement
- fix sed statement in Makefile



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@389 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-06 22:56:20 +00:00
htgoebel 71edbe1da9 * Enhanced for SCons build system:
- 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
2005-01-02 22:05:17 +00:00
htgoebel 0ec7378e77 * scripts/cs_helpers.pyin: Changed sfftotiff to be defined
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
2004-12-30 17:44:01 +00:00
gernot d2fbc2506f fix another "automake doesn't work in SVN version" problem...
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@381 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-29 23:23:18 +00:00
gernot b90495a088 -regenerate with the sfftobmp changes, add two other missing files
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@374 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-04 06:52:38 +00:00
gernot 2d83bd46e1 - port of rev. 335 from branch_0_4 (fix syntax of sed calls)
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@373 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-12-04 06:47:20 +00:00
gernot f37a392ad8 moved from_email feature to 0.4.5
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@362 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-11-28 07:26:08 +00:00
gernot 3bd2811dbb - fixed typo in gs parameter
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@342 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-11-07 17:52:05 +00:00
gernot fd8b0bff34 - ported rev. 340 from branch_0_4 (don't crop fax pages)
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@341 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-11-07 17:49:02 +00:00
gernot 53651069ec -ported revisions 330 & 337 from branch_0_4 (support sfftobmp 3.x)
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@338 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-11-07 14:12:33 +00:00
gernot a22481c4fc - merge branches/py-lib, revisions 265-325 to trunk
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@328 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-10-31 14:07:07 +00:00
gernot b75a6e0f54 delete old obsolete CVS info
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@318 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-08-14 10:34:51 +00:00
gernot a208cb46ce add autogenerated files as these are difficult to generate for many
people when trying to build the CVS version


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@316 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-07-15 00:21:01 +00:00
gernot c36b13ad00 allow * and # in destination numbers
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@302 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-04-18 14:33:41 +00:00
gernot 13262718b2 2004-03-20 Gernot Hillier <gernot@hillier.de>
* scripts/incoming.py: Fix typo.



git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@286 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-03-20 11:40:13 +00:00
gernot b38769100a 2004-02-20 Gernot Hillier <gernot@hillier.de>
* 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
2004-02-20 14:12:20 +00:00
gernot e408f52ccc 2004-02-20 Gernot Hillier <gernot@hillier.de>
* scripts/cs_helpers.pyin: fixed typo


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@233 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-20 12:45:53 +00:00
gernot ad6c633600 2004-02-11 Gernot Hillier <gernot@hillier.de>
* 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
2004-02-11 05:17:43 +00:00
gernot 2027da93b7 2004-02-08 Gernot Hillier <gernot@hillier.de>
* scripts/cs_helpers.pyin (sayNumber): allow gender specification
        * scripts/incoming.py (remoteInquiry): use "eine" instead of "eins"
          in some places ("eine Nachricht")
        * scripts/waves/Makefile.am: new file eine.la
        * scripts/waves/eine.la: Likewise.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@228 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:24:28 +00:00
gernot ca4f537803 2004-02-08 Gernot Hillier <gernot@hillier.de>
* scripts/capisuitefax.in: also accept PDF files


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@227 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-02-08 21:16:57 +00:00
gernot 182a695a1c 2004-01-18 Gernot Hillier <gernot@hillier.de>
* scripts/cs_helpers.pyin (sendMIMEMail): remove space in sox call


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@210 4ebea2bb-67d4-0310-8558-a5799e421b66
2004-01-18 09:14:13 +00:00
gernot 2327a0eb11 2004-01-17 Gernot Hillier <gernot@hillier.de>
* 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
2004-01-17 23:11:08 +00:00
gernot 6e07170c33 include recorded msg length and host name were file is stored in sent mail
(closes bug #6, thx to Achim Bohnet and Thomas Niesel for the feature requests)


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@200 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-31 15:16:31 +00:00
gernot d031430e8e converting sound files from la to wav. Thx to Holger Krull for
the fix (closes bug #51)!


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@198 4ebea2bb-67d4-0310-8558-a5799e421b66
2003-12-31 14:33:20 +00:00