Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180318 - Removal of net-misc/asterisk-app_rtxfax (was: net-misc/asterisk-app_rtxfax compilation breaks with >=spandsp-0.0.3)
Summary: Removal of net-misc/asterisk-app_rtxfax (was: net-misc/asterisk-app_rtxfax co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard: PENDING REMOVAL: 2009-10-21
Keywords: PMASKED
: 270014 (view as bug list)
Depends on:
Blocks: 278932
  Show dependency tree
 
Reported: 2007-05-30 07:34 UTC by Thomas Stein
Modified: 2010-01-04 15:18 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2007-05-30 07:34:19 UTC
Hello.

The ebuild of spandsp and asterisk-app_rtxfax in portage are rather old. Is it possible to update them?

regards
t.

Reproducible: Always
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-30 07:59:47 UTC
I do not use them. But feel free to provide some updated ebuilds and I might add them to portage :)

Thanks
Comment 2 Thomas Stein 2007-05-30 08:06:06 UTC
What do you use instead of this ebuild to recieve fax? Just curious. 
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-30 08:15:50 UTC
well, I am not in the need to receive fax. No one has recently asked me to. - They just send emails.

But probably if you need to receive faxes this is the best solution.
Comment 4 Thomas Stein 2007-05-30 12:02:23 UTC
Okay. To build a current spandsp ebuild should be possible. But the problem is the app_rtxfax ebuild. One can download the current files from:

http://soft-switch.org/downloads/snapshots/spandsp/test-apps-asterisk-1.2/

But just renaming the app_rtxfax ebuild leads to this error.

http://forums.digium.com/viewtopic.php?p=49179&sid=7c009ed825aa3b7c09ee4c2efbaa8a57

How do we overwrite plc.h within an ebuild? Am i the only one who is interested in this?

regards
t.
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2007-05-30 12:46:42 UTC
So what do you want with this?
A production-level spandsp for faxing? That's not quite there yet.
Spandsp for asterisk-1.4? Doesn't belong here either, 1.4 is in the voip overlay so this would belong there (specially since asterisk-1.2 and 1.4 changed API).
Comment 6 Stefan Briesenick (RETIRED) gentoo-dev 2007-05-30 14:38:49 UTC
I have latest 0.3 spandsp + fixes for rtxfax in my local overlay and it's working perfectly. But it depends on some eclases only available in voip-overlay. hmmm.... I try to solve this somehow.
Comment 7 Thomas Stein 2007-05-30 15:08:39 UTC
This would be really nice Stefan.
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2007-05-30 19:17:56 UTC
> What do you use instead of this ebuild to recieve fax? Just curious.

Thomas, you have a german email address, so I guess you're located in Germany? Do you have ISDN and a CAPI capable ISDN-card with T.30 support (i.e. Fritz!Card)? If so, just use hylafax + capi4hylafax and for Asterisk use chan_capi for PSTN connectivity.

The beauty of CAPI is, that an unlimited number of applications can use the ISDN card concurrently. I also use capi4hylafax/hylafax for faxing and chan_capi for Asterisk. Works great!
Comment 9 Thomas Stein 2007-05-31 06:53:31 UTC
I have a 8port ISDN Card from Beronet and i'm using chan_misdn. I don't know if it's possible to use hylafax with this card. But i think it is. Anyway, any chance to get your overlay regarding app_rtxfax? 

best regards from Berlin
Comment 10 Christophe PEREZ 2009-05-15 20:11:08 UTC
no news ?

I can't compile net-misc/asterisk-app_rtxfax-0.0.2_pre25 anymore...
Comment 11 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-07 12:13:42 UTC
*** Bug 270014 has been marked as a duplicate of this bug. ***
Comment 12 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-07 12:22:27 UTC
It looks like net-misc/asterisk-app_rtxfax in the voip overaly makes the package compatible with spandsp-0.0.3.

In addition, according to Chainsaw, asterisk-1.6 is used spandsp natively.

These are two workarounds at the moment.
Comment 13 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-07 17:45:37 UTC
If someone wants to write a patch to let asterisk-app_rtxfax works with >=spandsp-0.0.3 it will be great and I will be happy to proxy it.
By the way, you can probably use patch in the voip overlay.
Comment 14 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-07-09 13:39:26 UTC
With the patch I got it working with spandsp-0.0.3.
But if I install spandsp-0.0.6, I got:
In file included from /usr/include/asterisk/translate.h:33,
                 from app_rxfax.c:34:
/usr/include/asterisk/plc.h:129: error: conflicting types for 'plc_state_t'
/usr/include/spandsp/plc.h:128: error: previous declaration of 'plc_state_t' was here
/usr/include/asterisk/plc.h:142: error: conflicting types for 'plc_rx'
/usr/include/spandsp/plc.h:142: error: previous declaration of 'plc_rx' was here
/usr/include/asterisk/plc.h:150: error: conflicting types for 'plc_fillin'
/usr/include/spandsp/plc.h:150: error: previous declaration of 'plc_fillin' was here
/usr/include/asterisk/plc.h:156: error: conflicting types for 'plc_init'
/usr/include/spandsp/plc.h:156: error: previous declaration of 'plc_init' was here

We can't do anything, it looks like spandsp-0.0.6 and asterisk-1.2 are conflicting.

This sounds bad because the package needs <=spandsp-0.0.3 (actually, didn't test with 0.0.{4,5}). Setting such dep is not recommanded and this package is old and outdated.

What I recommand is to remove the package from the tree and use asterisk-1.6 which has a built-in spandsp support.

Chrisophe, as you look to be the only one carrying about this package, can you live with it ?
Comment 15 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-21 18:32:25 UTC
Finally, the package is going to be removed in 30 days if no working solution is proposed by someone.
Please use asterisk-1.6 if you need spandsp support.
Comment 16 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-11-02 15:57:33 UTC
Package removed.