Re: Linphone

2020-04-03 Thread Raghav Gururajan
Hello Guix! >> At this point for linphoneqt a.k.a linphone-desktop, I am facing following >> issues. >> >> When I build *without* `-DENABLE_DBUS=YES`and run the program, I get: >> >> QSocketNotifier: Socket notifiers cannot be enabled or disabled from another >> thread >> QMutex: destroying lo

Re: Linphone

2020-04-02 Thread Raghav Gururajan
Hello Guix! LINPHONE WORKS! \o/ Now we have a working client. It is a Legacy GTK version (linphone/liblinphone). I am still working on Qt version (linphoneqt/linphone-desktop). Please test the client and let me know if there is any issue. The latest revision patch is "13-add-linphone-v3" at

Re: Linphone

2020-04-02 Thread Raghav Gururajan
Hello Guix! > At this point for linphoneqt a.k.a linphone-desktop, I am facing following > issues. > > When I build *without* `-DENABLE_DBUS=YES`and run the program, I get: > > QSocketNotifier: Socket notifiers cannot be enabled or disabled from another > thread > QMutex: destroying locked mut

Re: Linphone

2020-04-02 Thread Raghav Gururajan
Hello Guix! At this point for linphoneqt a.k.a linphone-desktop, I am facing following issues. When I build *without* `-DENABLE_DBUS=YES`and run the program, I get: QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread QMutex: destroying locked mutex When I bui

Re: Linphone

2020-03-31 Thread Raghav Gururajan
Hello Guix! I have finished packaging all the linphone project's packages. \o/ PATCH: https://issues.guix.gnu.org/issue/40264 SOURCE: https://cloud.disroot.org/f/94900047 There will be no new patches and only revision patches. :-) Regards, RG.

Re: Linphone

2020-03-29 Thread Raghav Gururajan
Maxim and Ricardo! >>> Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The >>> more VoIP options we have on the table in the times we're in, the better >>> :-). If you have more issues, do reach out, and I'll see if I can lend a >>> hand. >> >> Danny's idea fixed it. It was a t

Re: Linphone

2020-03-28 Thread Raghav Gururajan
Hi Ricardo! >> Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The >> more VoIP options we have on the table in the times we're in, the better >> :-). If you have more issues, do reach out, and I'll see if I can lend a >> hand. >>> Danny's idea fixed it. It was a typo inside the

Re: Linphone

2020-03-28 Thread Ricardo Wurmus
Raghav Gururajan writes: > Hi Maxim! > >>> Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The >>> more VoIP options we have on the table in the times we're in, the better >>> :-). If you have more issues, do reach out, and I'll see if I can lend a >>> hand. >> >> Danny's ide

Re: Linphone

2020-03-28 Thread Raghav Gururajan
Hi Maxim! >> Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The >> more VoIP options we have on the table in the times we're in, the better >> :-). If you have more issues, do reach out, and I'll see if I can lend a >> hand. > > Danny's idea fixed it. It was a typo inside the

Re: Linphone

2020-03-27 Thread Raghav Gururajan
Hi Maxim! > Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The > more VoIP options we have on the table in the times we're in, the better > :-). If you have more issues, do reach out, and I'll see if I can lend a > hand. Danny's idea fixed it. It was a typo inside the source c

Re: Linphone

2020-03-27 Thread Maxim Cournoyer
Hi! Ricardo Wurmus writes: > Hi, > >> For past week, I have been working on packaging Linphone. I have >> successfully packaged all the required dependencies, including >> liblinphone. Here is the whole diff of my project: > > Very nice! > >> For the final package, linphone-desktop, I am having

Re: Linphone

2020-03-26 Thread Raghav Gururajan
So I was able to fix all the "Qt[...].cmake not found error by adding required inputs. But during build I get lot of errors related to Qt. I am not able to understand what those are. BUILD LOG: https://bin.disroot.org/?79c1cc2131f7235f#HHS3xWeLCKd98L1fqZB6xEwnkPQWqyJXpoemhwppzRNV NEW DIFF: ht

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > I don't know. It sounds like the versions of the linphone modules are not > compatible. > Please ask upstream about it (for example file a bug report with them). It appears half of the errors were related to C++ standard. When I used ("gcc" ,gcc-5) as native-inputs, the number of er

Re: Linphone

2020-03-26 Thread Danny Milosavljevic
Hi Raghav, > So I was able to fix all the "Qt[...].cmake not found error by adding > required inputs. But during build I get lot of errors related to Qt. I am not > able to understand what those are. They all contain some king of flags. I don't know. It sounds like the versions of the linphone

Re: Linphone

2020-03-26 Thread Raghav Gururajan
So I was able to fix all the "Qt[...].cmake not found error by adding required inputs. But during build I get lot of errors related to Qt. I am not able to understand what those are. They all contain some king of flags. Here is a new of my project. https://bin.disroot.org/?5c92968202a11fe5#5Tro

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > I tried > > (arguments > `(#:configure-flags > (list "-DENABLE_DBUS=YES" > "-DENABLE_UPDATE_CHECK=YES") > #:phases > (modify-phases %standard-phases > (add-after 'unpack 'patch > (lambda _ > (substitute* "CMakeLists.txt" > (("find_package[(]BcToolbox REQUIRED[)]") > "find_package(bcto

Re: Linphone

2020-03-26 Thread Danny Milosavljevic
Hi Raghav, I tried (arguments `(#:configure-flags (list "-DENABLE_DBUS=YES" "-DENABLE_UPDATE_CHECK=YES") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch (lambda _ (substitute* "CMakeLists.txt"

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Ricardo! > Does bctoolbox install a pc file? bctoolbox source tarball does have bctoolbox.pc.in file. But adding pkg-config as native-inputs for linphone-desktop did not work. Should I be doing adding something else?

Re: Linphone

2020-03-26 Thread Ricardo Wurmus
Raghav Gururajan writes: > Hi Ricardo! > >> Please try adding pkg-config to the native-inputs. > > I tried it, but didn't work. > >> If this still doesn’t work check the output of bctoolbox: does it >> install a pkg-config file? If it does: does the file mention any >> libraries that must be

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > ... and I checked ./cmake/BcToolboxConfig.cmake.in in bctoolbox and that does > look okay. > > But they have a renamer in CMakeLists.txt and that checks > > set(EXPORT_TARGETS_NAME "bctoolbox") > > So probably you could specify that one. No idea why it exists and is different > fro

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > So I checked that directory and it indeed does not have that file. > > But it does have > /gnu/store/m92m6bg0xcl28djxg8h97sszf3gdl42r-bctoolbox-4.3.1/share/bctoolbox/cmake/bctoolboxConfig.cm > ke > -- note the different case of the name. Thanks so much for spotting this. > So I'd sa

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Ricardo! > Please try adding pkg-config to the native-inputs. I tried it, but didn't work. > If this still doesn’t work check the output of bctoolbox: does it > install a pkg-config file? If it does: does the file mention any > libraries that must be propagated? I believe the build script d

Re: Linphone

2020-03-25 Thread Danny Milosavljevic
On Wed, 25 Mar 2020 23:29:50 +0100 Danny Milosavljevic wrote: > linphone-desktop has the following line: > > ./CMakeLists.txt: include("${EP_bctoolbox_CONFIG_DIR}/BcToolboxConfig.cmake") > > ... and that line is not going to work as-is. ... and I checked ./cmake/BcToolboxConfig.cmake.in in bc

Re: Linphone

2020-03-25 Thread Danny Milosavljevic
Hi Raghav, I get a nondeterministic build failure in libdecaf: cd /tmp/guix-build-libdecaf-1.0.drv-0/build/src/generator/curve25519 && /gnu/store/iaqmwj2290z5nnrk69bss6r0d9lpr8cs-python2-2.7.16/bin/python2.7 /tmp/guix-build-libdecaf-1.0.drv-0/source/src/generator/template.py --per=field --guar

Re: Linphone

2020-03-25 Thread Danny Milosavljevic
Similar problem https://github.com/BelledonneCommunications/linphone-iphone/issues/399 pgpPMnaTjttuF.pgp Description: OpenPGP digital signature

Re: Linphone

2020-03-25 Thread Danny Milosavljevic
Hi, I tried guix build -K linphone-desktop then waited until it told me the build directory (which was /tmp/guix-build-linux-libre-5.5.10.drv-0), then $ which strace $ cd /tmp/guix-build-linux-libre-5.5.10.drv-0 $ source environment-variables $ cd source $ .strace -f cmake . 2>&1 |grep -i

Re: Linphone

2020-03-25 Thread Ricardo Wurmus
Hi, > For past week, I have been working on packaging Linphone. I have > successfully packaged all the required dependencies, including > liblinphone. Here is the whole diff of my project: Very nice! > For the final package, linphone-desktop, I am having some trouble. Here is > the error I ge