Package Details: indicator-kdeconnect-git r625.669bdd5-2

Git Clone URL: https://aur.archlinux.org/indicator-kdeconnect-git.git (read-only, click to copy)
Package Base: indicator-kdeconnect-git
Description: Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)
Upstream URL: https://github.com/b4j4/indicator-kdeconnect
Keywords: kde kdeconnect qt
Licenses: GPL
Conflicts: indicator-kdeconnect
Provides: indicator-kdeconnect
Submitter: shimi
Maintainer: OctopusET
Last Packager: OctopusET
Votes: 43
Popularity: 0.002834
First Submitted: 2015-08-11 19:41 (UTC)
Last Updated: 2022-03-05 19:22 (UTC)

Latest Comments

OctopusET commented on 2022-03-05 19:22 (UTC)

@Martchus Thanks, it's fixed.

Martchus commented on 2022-03-05 18:48 (UTC)

This is an arch-specific package:

file /usr/lib/libindicator-kdeconnect.so
/usr/lib/libindicator-kdeconnect.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=10ba403d5bddcce6bf078d4607a36cdac95af3f1, stripped

So archs should be x86_64, see https://wiki.archlinux.org/title/Arch_package_guidelines#Architectures. (I'd say for AUR packages it is also acceptable to add further archs such as i686 and aarch64 if the package is known to compile for those. However, one must not any if the resulting package contains arch specific contents.)

OctopusET commented on 2021-11-11 18:12 (UTC)

@kkyy Thanks! I patched as you commented.

kkyy commented on 2021-03-03 07:41 (UTC)

This patch should fix the build error

diff --git a/PKGBUILD b/PKGBUILD
index 0006188..d548864 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,36 @@
 # Contributor: shimi <shimi.chen@gmail.com>
 # Contributor: Gustavo Castro <gustawho at gmail dot com>
 pkgname=indicator-kdeconnect-git
-pkgver=r599.070ebaa
-pkgrel=2
+pkgver=r625.669bdd5
+pkgrel=1
 _gitname=indicator-kdeconnect
 pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)"
 arch=('any')
-url="https://github.com/bajoja/indicator-kdeconnect"
+url="https://github.com/b4j4/indicator-kdeconnect"
 license=('GPL')
 conflicts=('indicator-kdeconnect')
 provides=('indicator-kdeconnect')
 depends=('libappindicator-gtk3' 'kdeconnect' 'vala' 'python-requests-oauthlib' 'python-gobject' 'libgee')
 makedepends=('git' 'meson' 'ninja')
-source=('git+https://github.com/bajoja/indicator-kdeconnect.git')
-md5sums=('SKIP')
+source=(
+  'git+https://github.com/bajoja/indicator-kdeconnect.git'
+  'fix-build.patch'
+)
+sha256sums=(
+  'SKIP'
+  'b79c5b3b3cda6b7e9e329ae1ea080f8750dde64025090b9cb534efb7a2c0f537'
+)

 pkgver() {
   cd $_gitname
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+    cd "$_gitname"
+    patch --forward --strip=1 --input="${srcdir}/fix-build.patch"
+}
+
 build() {
   mkdir build && cd build
   meson ../$_gitname --prefix=/usr  --libdir=/usr/lib
diff --git a/fix-build.patch b/fix-build.patch
new file mode 100644
index 0000000..acc6ff9
--- /dev/null
+++ b/fix-build.patch
@@ -0,0 +1,136 @@
+diff --git a/src/common/iBatteryPlugin.vala b/src/common/iBatteryPlugin.vala
+index a4b3502..5514cc3 100644
+--- a/src/common/iBatteryPlugin.vala
++++ b/src/common/iBatteryPlugin.vala
+@@ -76,7 +76,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected void int32_signal_cb (DBusConnection con, 
+-                                        string sender, 
++                                        string? sender,
+                                         string object,
+                                         string interface, 
+                                         string signal_name, 
+@@ -87,7 +87,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected void boolean_signal_cb (DBusConnection con,
+-                                          string sender,
++                                          string? sender,
+                                           string object,
+                                           string interface,
+                                           string signal_name,
+diff --git a/src/common/iDaemonPlugin.vala b/src/common/iDaemonPlugin.vala
+index 8653729..201da90 100644
+--- a/src/common/iDaemonPlugin.vala
++++ b/src/common/iDaemonPlugin.vala
+@@ -114,7 +114,7 @@ namespace IndicatorKDEConnect {
+         /*Signals Callbacks*/
+ 
+         protected virtual void device_added_cb (DBusConnection con, 
+-                                             string sender, 
++                                             string? sender,
+                                              string object,
+                                              string interface, 
+                                              string signal_name, 
+@@ -128,7 +128,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected virtual void device_removed_cb (DBusConnection con, 
+-                                               string sender, 
++                                               string? sender,
+                                                string object,
+                                                string interface, 
+                                                string signal_name, 
+@@ -142,7 +142,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected virtual void device_visibility_changed_cb (DBusConnection con,
+-                                                             string sender, 
++                                                             string? sender,
+                                                              string object,
+                                                              string interface, 
+                                                              string signal_name, 
+@@ -157,7 +157,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected virtual void pairing_requests_changed_cb (DBusConnection con, 
+-                                                         string sender, 
++                                                         string? sender,
+                                                          string object,
+                                                          string interface, 
+                                                          string signal_name, 
+diff --git a/src/common/iDevicePlugin.vala b/src/common/iDevicePlugin.vala
+index 8570775..bad3eac 100644
+--- a/src/common/iDevicePlugin.vala
++++ b/src/common/iDevicePlugin.vala
+@@ -237,7 +237,7 @@ namespace IndicatorKDEConnect {
+ 
+         /*Callbacks */
+         protected void void_signal_cb (DBusConnection con, 
+-                                       string sender,
++                                       string? sender,
+                                        string object,
+                                        string interface,
+                                        string signal_name,
+@@ -253,7 +253,7 @@ namespace IndicatorKDEConnect {
+         }        
+ 
+         protected void string_signal_cb (DBusConnection con, 
+-                                         string sender,
++                                         string? sender,
+                                          string object,
+                                          string interface,
+                                          string signal_name,
+@@ -273,7 +273,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         protected void boolean_signal_cb (DBusConnection con, 
+-                                          string sender,
++                                          string? sender,
+                                           string object,
+                                           string interface,
+                                           string signal_name,
+diff --git a/src/common/iSignals.vala b/src/common/iSignals.vala
+index 52c2b82..1eb390b 100644
+--- a/src/common/iSignals.vala
++++ b/src/common/iSignals.vala
+@@ -6,7 +6,7 @@
+ namespace IndicatorKDEConnect {
+     public interface ISignals : Object {
+         public virtual void void_signal_cb (DBusConnection con, 
+-                                            string sender, 
++                                            string? sender,
+                                             string object,
+                                             string interface, 
+                                             string signal_name, 
+@@ -16,7 +16,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         public virtual void boolean_signal_cb (DBusConnection con, 
+-                                               string sender,
++                                               string? sender,
+                                                string object,
+                                                string interface,
+                                                string signal_name,
+@@ -26,7 +26,7 @@ namespace IndicatorKDEConnect {
+         }
+ 
+         public virtual void string_signal_cb (DBusConnection con, 
+-                                              string sender,
++                                              string? sender,
+                                               string object,
+                                               string interface,
+                                               string signal_name,
+@@ -36,7 +36,7 @@ namespace IndicatorKDEConnect {
+         }                               
+         
+         public virtual void int32_signal_cb (DBusConnection con, 
+-                                             string sender, 
++                                             string? sender,
+                                              string object,
+                                              string interface, 
+                                              string signal_name, 
+-- 
+2.30.1
+

Martchus commented on 2019-08-14 17:43 (UTC)

@ClawOfLight is right - and vala still listed as dependency and not make dependency.

ClawOfLight commented on 2019-03-05 17:06 (UTC) (edited on 2019-03-05 17:06 (UTC) by ClawOfLight)

Pretty sure that vala, meson, ninja, git should be makedepends...

pingplug commented on 2018-11-17 10:42 (UTC) (edited on 2018-11-17 10:43 (UTC) by pingplug)

  1. do not install to system when building package
  2. do not include ${pkgdir} in prefix when configure (@jonathon)
  3. do not build source code in package() function

adding DESTDIR="${pkgdir}" before ninja install can help

jonathon commented on 2018-11-16 20:49 (UTC) (edited on 2018-11-17 10:50 (UTC) by jonathon)

The last change broke packaging as it's trying to install to /usr during package(). This diff will fix it (and tidy up a couple of other things):

(updated as per @pingplug above)

diff --git a/PKGBUILD b/PKGBUILD
index 4d5517b..631e0de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ conflicts=('indicator-kdeconnect')
 provides=('indicator-kdeconnect')
 depends=('libappindicator-gtk3' 'kdeconnect' 'vala' 'python-requests-oauthlib' 'python-gobject' 'libgee')
 makedepends=('git' 'meson' 'ninja')
-source=('git://github.com/bajoja/indicator-kdeconnect.git')
+source=('git+https://github.com/bajoja/indicator-kdeconnect.git')
 md5sums=('SKIP')

 pkgver() {
@@ -21,11 +21,13 @@ pkgver() {
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+build() {
+  mkdir build && cd build
+  meson ../$_gitname --prefix=/usr  --libdir=/usr/lib
+  ninja
+}
+
 package() {
-  cd indicator-kdeconnect
-  mkdir build
   cd build
-  meson .. --prefix=/usr/  --libdir=/usr/lib/
-  ninja
-  ninja install
+  DESTDIR=$pkgdir ninja install
 }

ClawOfLight commented on 2018-11-13 09:34 (UTC)

Missing dependency: libgee

eskimod commented on 2018-11-13 00:24 (UTC)

I think the install step is missing something because no files are actually installed (checked with pacman -Ql).

zufallsheld commented on 2018-11-11 14:40 (UTC)

Thanks @jonathon, fixed!

jonathon commented on 2018-11-11 14:25 (UTC)

From commit a15c091fc5c265db5f7091ae20b0ac39ec58db06 upstream have switched from cmake to meson

zufallsheld commented on 2017-05-07 10:46 (UTC)

Thanks, updated.

Fuelen commented on 2017-05-07 09:57 (UTC)

You should also add python-gobject as dependency (for SMS send)

zufallsheld commented on 2017-04-22 11:18 (UTC)

Compling worked for me without the package, but since its stated in the INSTALL that its required, I added python-requests-oauthlib to the dependencies.

TheZoq2 commented on 2017-04-21 22:28 (UTC)

I had to install community/python-requests-oauthlib manually to fix a cmake error. Perhaps it should be added as a dependency

zufallsheld commented on 2017-04-18 17:33 (UTC)

Thanks, fixed!

American_Jesus commented on 2017-04-18 16:36 (UTC)

add conflicts=('indicator-kdeconnect') provides=('indicator-kdeconnect')

zufallsheld commented on 2017-04-17 21:16 (UTC)

Why was this flagged out-of-date? It's a git-version, meaning it always installs the latest development version of the package. I'll created a second AUR package (https://aur.archlinux.org/packages/indicator-kdeconnect) that uses the release-tags in the git-repository. Use and flag this one, then I'll update it.

zufallsheld commented on 2016-11-04 18:04 (UTC)

I changed the source again. The new maintainer is working on the indicator and it does work for me now!

fdservices commented on 2016-10-10 16:38 (UTC)

Indicator runs, but does not show up in the System Tray. This is a known bug which started with KDE updating to Plasma. Apparently there has been no development for two years on Indicator, so I guess it won't be fixed. To pair a device, install Kdeconnect on the PC and on the Android device and then run "kcmshell5 kcm_kdeconnect". The Android dvice should show up in the list and can then be successfully paired.

zufallsheld commented on 2016-08-29 15:31 (UTC)

Since this package was orphaned, I took it and did the following things: - Change source to git://github.com/albertvaka/indicator-kdeconnect.git, since this was the only fork that worked for me - Add a workaround for the missing png-files. Now the indicator should at least start. However it won't pair with my phone. Any advice is appreciated here.

javalap commented on 2016-04-22 19:11 (UTC)

"plasmawindowed org.kde.kdeconnect -- statusnotifier"

Samgarr commented on 2016-02-04 15:22 (UTC)

Anybody have this working? No icons, no indicator with i3. http://pastebin.com/R6hRcfNP

drilow commented on 2016-01-20 17:24 (UTC) (edited on 2016-01-20 17:25 (UTC) by drilow)

No icon, and worse, no indicator (therefore no menu) in GNOME 3.18. All other functionality is present. (I placed the icons in their places, so that shouldn't be the issue)

scarletbane commented on 2016-01-17 14:35 (UTC)

i also have no icon on gnome 3.18

ProtoJazz commented on 2015-12-13 16:55 (UTC)

I also dont get an indicator in the panel, Ive tried putting the smartphone-symbolic-ltr.png several places, but nothing yet

decorte commented on 2015-12-08 22:46 (UTC)

+1 can you please tell us where to put the icon

shimi commented on 2015-11-29 18:48 (UTC)

Where should smartphone-symbolic-ltr.png be placed?

varlesh commented on 2015-09-25 01:06 (UTC)

On Gnome desktop need create icon smartphone-symbolic-ltr.png with 24x24 px (ONLY PNG, WITH SVG NOT WORKING) and indicator will be show on panel.