Package Details: mconnect-git 417.81dc247-1

Git Clone URL: (read-only, click to copy)
Package Base: mconnect-git
Description: KDE Connect protocol implementation in Vala/C for non-KDE desktops
Upstream URL:
Licenses: GPL2
Conflicts: mconnect
Provides: mconnect
Submitter: American_Jesus
Maintainer: ValHue
Last Packager: ValHue
Votes: 16
Popularity: 0.49
First Submitted: 2016-03-24 23:21
Last Updated: 2021-06-21 16:30

Latest Comments

1 2 Next › Last »

duffydack commented on 2021-06-21 17:30

Updated, all good. Nice.

ValHue commented on 2021-06-21 16:35

@duffydack: I have left the one I was using. I have checked that the value it generates is higher, so if a system update is done, mconnect will update. (gdb has been added)

ValHue commented on 2021-06-21 15:41

@duffydack @jonathannerat: I do not know if it will be appropriate, I have reviewed the AUR rules to see how to proceed in this case, and I have not found something similar to this situation.

I think it is best to keep the package name and update the source. In the end it is about indicating which program provides, and it will remain mconnect (the git version)

As soon as I find a gap, I upload a new update, the problem I see is that when generating the version of the package, a lower value than the current one comes out and then the update is not forced, I suppose that if that happens I will resort to epoch

duffydack commented on 2021-06-21 15:04

@ValHue @jonathannerat: Personally I'd just replace the source, keep the pkg name as-is.

jonathannerat commented on 2021-06-21 14:15

@ValHue I tried fixing this in an attempt to get this to work in my setup but for some reason it keeps crashing due to some issues with MPRIS.

Upstream hasn't seen any new commits since Jan 30, and I just found that grimpy's fork (where I got the patch from) is more active and I'm using that right now.

I'm not really sure what are the steps to follow, should we change upstream url or should I create a new package like grimpy-mconnect-git for grimpy's fork?

ValHue commented on 2021-06-19 08:26

@jonathannerat Thank you for your collaboration. If at any time you want to maintain this package, you just have to say so. Sometimes I am very short of time ...

jonathannerat commented on 2021-06-19 03:18

These are the patches I applied to this package to make it work again:

diff --git a/PKGBUILD b/PKGBUILD
index 0c8beb2..dbe1e8b 100644
@@ -16,27 +16,30 @@ license=('GPL2')
+        'mconnect_utils.patch')
+            '11a8e281a405e3d49c0b504dae03fcd33d1dbb5d278609d0163ecfec88b1ae1d')

 pkgver() {
-    cd "${_pkgname}"
+    cd "$srcdir/$_pkgname"
     echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)

 prepare() {
-    cd "${_pkgname}"
+    cd "$srcdir/$_pkgname"
     mkdir build
+    patch -p1 -i ../mconnect_utils.patch

 build() {
-    cd "${_pkgname}/build"
+    cd "$srcdir/$_pkgname/build"
     arch-meson --prefix=/usr/

 package() {
-    cd "$_pkgname/build"
+    cd "$srcdir/$_pkgname/build"
     DESTDIR="$pkgdir" ninja install

diff --git a/mconnect_utils.patch b/mconnect_utils.patch
new file mode 100644
index 0000000..91d60c7
--- /dev/null
+++ b/mconnect_utils.patch
@@ -0,0 +1,22 @@
+diff --git a/src/mconnect/utils.vala b/src/mconnect/utils.vala
+index 1d7f5cb..83e35bf 100644
+--- a/src/mconnect/utils.vala
++++ b/src/mconnect/utils.vala
+@@ -160,7 +160,7 @@ namespace Utils {
+             // regex taken from SO
+             // uncrustify breaks the regex, so *INDENT-OFF*
+-          Regex r = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+,.~#?&\/=]*)/;
++          GLib.Regex r = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+,.~#?&\/=]*)/;
+             // *INDENT-ON*
+             MatchInfo mi;
+@@ -180,7 +180,7 @@ namespace Utils {
+                 debug ("no match");
+             }
+             return matches;
+-        } catch (RegexError e) {
++        } catch (GLib.RegexError e) {
+             warning ("failed to compile regex: %s", e.message);
+             return {};
+         }

based on the issue on upstream:

nmamtf commented on 2020-02-22 02:54

@airon90 It's very useful for non-gnome or non-kde DE.

airon90 commented on 2018-05-14 17:30

mconnect is useless now as the project was abandoned in favour of another GNOME Shell extension, GSConnect

bjesus commented on 2017-10-03 23:33

Thanks for updating the package for Meson!