Commit Graph

326 Commits

Author SHA1 Message Date
Harald Welte 5759ce2b24 HACK: disable CS_TEST_CAPI4LINUX
I don't really see how this would ever have worked with libcapi20 from
isdnutils, see https://github.com/larsimmisch/capisuite/issues/10
2022-04-15 08:22:23 +02:00
Harald Welte c7a2daca2c add -std=c++11 as c++17 has deprecated dynamic exception specifications
Modern g++ (11.2) uses -std=c++17 as default, which doesn't permit
dynamic exception specifications anymore.  Downgrading to c++11 will
turn the related compiler errors into deprecation warnings:

 warning: dynamic exception specifications are deprecated in C++11
2022-04-15 08:20:39 +02:00
Lars Immisch c5c87183b0 Include sample systemd startup script 2016-12-03 01:47:30 +01:00
Lars Immisch 739cd98615 Fix Python Makefile lookup 2016-12-02 22:35:42 +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 9f38971d33 Revert "Gentoo's “fax compatibility” patch"
This reverts commit 3413f4c72a.

The patch was originally from Gernot Müller for patching a problem with incompatible fax receivers
[1].
It violates the CAPI specifications and therefore should not be included [2].

[1] http://osdir.com/ml/linux.isdn.capisuite.user/2004-05/msg00043.html
[2] https://github.com/larsimmisch/capisuite/pull/7#issuecomment-26650942
2013-10-29 15:31:12 +01:00
Tilo Prütz 54b709432b Gentoo's “respect ar” patch 2013-10-11 11:39:24 +02:00
Tilo Prütz 428f6cf592 the remains of Gentoo's Python 2.5 patch 2013-10-11 11:39:24 +02:00
Tilo Prütz 3413f4c72a Gentoo's “fax compatibility” patch 2013-10-11 11:39:20 +02:00
Tilo Prütz 095a1c2dce Gentoo's GCC-4.3 patch 2013-10-11 11:39:14 +02:00
Tilo Prütz c288749631 Gentoo's date header patch; adds date headers to e-mail 2013-10-11 11:39:08 +02:00
Tilo Prütz 1f56cdb4d1 Typo-Fix that was corrected in Gentoo's API-Patch 2013-10-11 11:39:00 +02:00
Tilo Prütz 30dfc62aeb “as-needed” patch from Gentoo ebuild 2013-10-11 11:38:51 +02:00
Lars Immisch d36c789423 Patches from Gerd v. Egidy (slightly reworked) 2013-08-23 17:52:41 +02:00
Lars Immisch 1410b36fe5 New autoconf/automake version 2013-08-14 10:34:48 +02:00
Lars Immisch ff5125118a Added clean target 2013-08-14 10:32:03 +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 4923535766 Merge pull request #4 from cloph/pr_config_empty
don't return empty user-values, but return default instead
2013-05-26 05:56:31 -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
Lars Immisch 9bc21f9d2e Merge pull request #1 from cloph/pr_sendmail
default to sendmail command again to allow for lightweight MTAs
2013-05-26 05:53:53 -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 375d5cda09 don't return empty user-values, but return default instead
since otherwise it contradicts the documentation when e.g. sending mail
notifications, as the code that requests e.g. the fax.email property
provides the user as default.
But when using the empty string as documented to use the user's name as
sender, it returns the empty string and that then causes sending the
mail to fail, as there is no recipient.
2013-05-25 11:08:04 +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 687af591b8 github URL in documentation; title updated. 2012-03-07 15:57:33 +01:00
Lars Immisch af63734d44 Markdown version of README. 2012-03-07 14:36:12 +01:00
Lars Immisch 1675ab28a5 Oops. Wrong URL in README. 2012-03-07 11:42:19 +01:00
Lars Immisch be4c8bdadb Updated README for git instructions. 2012-03-07 11:38:45 +01:00
Lars Immisch c6c51e4daa New automake/autoconf versions. 2012-03-07 11:29:21 +01:00
Lars Immisch 786e54a23a Adjusted docbook paths.
Paths may be Debian specific.
2012-03-07 11:28:33 +01:00
Lars Immisch 86bb0773b4 Adjust ChangeLog generation to git. 2012-03-07 11:26:33 +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
Lars Immisch fd0e9ae989 memcpy needs string.h 2012-03-04 13:16:33 +01:00
Lars Immisch 982c49385d Detect CAPI_LIBRARY_V2 and extend the argument lists for the latest CAPI. 2012-03-04 13:14:05 +01:00
gernot a404a1119e - improve comments, remove old history
- make Capi::readProfile and attributes used by it static again as
  it should be
- make number of maxLogicalConnections auto-detected instead of using 2 
  as default


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@430 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-02-01 18:57:09 +00: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 1a4c1eedeb add come comments from Hartmut so they don't get lost
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@427 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-26 21:02:59 +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 284682a4da Added mapping ISDN/CAPI-error-codes to user friedly text-messages.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@425 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-23 12:07:01 +00:00
htgoebel 9f0c5f72e6 * Added core.Capi.__repr__()
* Fixed core.Call.__repr__() (can't use %x for representing handle)


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@424 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:53:38 +00:00
htgoebel 27a6451bc7 Fixed aborting non-existing fax jobs (this was caused by a duplicate
identifier in exceptions.py).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@423 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:22:48 +00:00
htgoebel dc6217c64a core.Call.__repr__() includes handle, service and numbers now.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@422 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:20:42 +00:00