dpurgin / harbour-callrecorder

A call recorder for SailfishOS
GNU General Public License v3.0
24 stars 17 forks source link

Sailfish 4.6 and libFLAC.so.8 #69

Open pmastal opened 6 months ago

pmastal commented 6 months ago

Installing the call recorder on SF version 4.6 throws errors with library dependencies

[root@Xperia10III Downloads]# rpm -Uvh harbour-callrecorder-0.7.4-3.aarch64.rpm error: Failed dependencies: libFLAC.so.8()(64bit) is needed by harbour-callrecorder-0.7.4-3.aarch64 [root@Xperia10III Downloads]#

eson57 commented 6 months ago

Do you really need this? There is an inbuilt call recorder activated in Settings/Apps/Telephone.

pmastal commented 6 months ago

The inbuilt options have a few issues. It does not work as a daemon; you have to turn each call manually. Next, you can turn off the recording during the call by mistake. The harbour-callrecorder is the best application used on the Sailfish.

Gugli commented 5 months ago

More details in case it helps : "harbour-callrecorder-0.7.4-3.aarch64.rpm" requires "libFLAC.so.8()(64bit)" But Sailfish now ships with "libFLAC.so.12()(64bit)" which is provided by "flac-1.4.3+git1-1.6.2.jolla.aarch64"

I suspect the 2 versions are compatible, so I've tried to use "rpmrebuild" to update the package, but failed : couldn't run rpmrebuild on my phone, and couldn't run on another (x86) machine because it tries to setarch aarch64.

The only solutions I see are : rebuilding the callrecorder package with libFLAC.so.12, or adding a new libFLAC.so.8 package (this package is probably not the only one impacted, so having a compatibility libFLAC.so.8 package may be useful).

I will look into it, but I don't have much time right now. If someone can rebuild the callrecorder package this would be great.

dpurgin commented 5 months ago

Thanks! I haven't had a device with Sailfish for a long time, so I can't test it anyway. It should be enough to rebuild the package with the newest Sailfish SDK, since the RPM spec does not specify a concrete flac version.