From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34925) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPg6E-00070C-AS for guix-patches@gnu.org; Sat, 18 Apr 2020 01:33:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPg6A-0001Wz-11 for guix-patches@gnu.org; Sat, 18 Apr 2020 01:33:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPg69-0001Us-QY for guix-patches@gnu.org; Sat, 18 Apr 2020 01:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPg69-000692-Ng for guix-patches@gnu.org; Sat, 18 Apr 2020 01:33:01 -0400 Subject: bug#40660: gnu: Add linphoneqt. (v2) Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Maxim Cournoyer References: <20200416102419.763ee4e9.raghavgururajan@disroot.org> <20200416102749.4607d34c.raghavgururajan@disroot.org> Date: Sat, 18 Apr 2020 01:32:34 -0400 In-Reply-To: <20200416102749.4607d34c.raghavgururajan@disroot.org> (Raghav Gururajan's message of "Thu, 16 Apr 2020 10:27:49 -0400") Message-ID: <87zhb9jr4d.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Raghav Gururajan Cc: 40660-done@debbugs.gnu.org Hello Raghav! Raghav Gururajan writes: >>>From 6e018522c30cb2a9732ccde98df32118c7699d7f Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Thu, 16 Apr 2020 10:26:11 -0400 > Subject: [PATCH] gnu: Add linphoneqt. > > * gnu/packages/linphone.scm (linphoneqt): New variable. > --- > .../patches/linphoneqt-tabbutton.patch | 96 +++++++++++++++++++ > 1 file changed, 96 insertions(+) > create mode 100644 gnu/packages/patches/linphoneqt-tabbutton.patch This with the previous patch resolved the crashes, but I could only make linphoneqt run on core-updates, not on the latest master. On master, I get the error: linphone MESA-LOADER: failed to open nouveau (search paths /gnu/store/qlzbx7a36brydrxbss71smwlrk539y9i-mesa-19.3.4/lib/dri) libGL error: failed to load driver: nouveau MESA-LOADER: failed to open swrast (search paths /gnu/store/qlzbx7a36brydrxbss71smwlrk539y9i-mesa-19.3.4/lib/dri) libGL error: failed to load driver: swrast [01:06:57:164][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:106: "Use locale: en_US" [01:06:57:190][0x2220560][Info]:0: "Running app..." [01:06:57:191][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:170: "Library paths:" ("/gnu/store/zb5xpy07rqs77679hyc2vy6p3cf2wlsr-qttools-5.12.7/lib/qt5/plugins", "/gnu/store/rl999vhbm259c5d5kzzlswsg748n9pwl-qtbase-5.12.7/lib/qt5/plugins", "/gnu/store/7hrwjw25ninmzjwrrhidda7bjvl8ia25-qtdeclarative-5.12.7/lib/qt5/plugins", "/gnu/store/wc6mf038d9rxh5n64ssd7r3475qls33r-qtsvg-5.12.7/lib/qt5/plugins", "/gnu/store/ayrpvjy44bwqsqz3sy5l69y54z6sh6pl-linphoneqt-4.1.1/bin") [01:06:57:192][0x23116c0][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/components/core/CoreManager.cpp:200: "Launch async linphone core creation." [01:06:57:197][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:181: "Activated selectors:" ("custom", "en_US", "unix", "linux") [01:06:57:197][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:355: "Registering types..." [01:06:57:198][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:389: "Registering shared types..." [01:06:57:198][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:401: "Registering tool types..." [01:06:57:198][0x2220560][Info]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/app/App.cpp:409: "Registering shared tool types..." [01:06:57:203][0x23116c0][Warning]:0: QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread [01:06:57:204][0x23116c0][Warning]:0: QMutex: destroying locked mutex So I've squashed your patches together and rebased them on core-updates, and made the following modification to register the new patch file: modified gnu/local.mk @@ -1188,6 +1188,7 @@ dist_patch_DATA = \ %D%/packages/patches/lierolibre-remove-arch-warning.patch \ %D%/packages/patches/lierolibre-try-building-other-arch.patch \ %D%/packages/patches/linkchecker-tests-require-network.patch \ + %D%/packages/patches/linphoneqt-tabbutton.patch \ %D%/packages/patches/linux-libre-support-for-Pinebook-Pro.patch \ %D%/packages/patches/linux-pam-no-setfsuid.patch \ %D%/packages/patches/lirc-localstatedir.patch \ This is important to not break the Guix package itself. It seems to work much better now! I need to test it more, but one small thing I've noticed already: my webcam doesn't seem to be recognized, and the default ring sound file is not installed: [01:29:16:690][0x2647190][Warning]/tmp/guix-build-linphoneqt-4.1.1.drv-0/linphoneqt-4.1.1/src/components/sound-player/SoundPlayer.cpp:101: "Unable to open: `/gnu/store/9088xmz50p3hy9h5jfi10r1z4gsd59h3-linphoneqt-4.1.1/share/sounds/linphone/rings/notes_of_the_optimistic.mkv`"). Pushed as 45fd28f764 on core-updates. Thank you for this nice improvement! Maxim