NEW: net/kdeconnect-kde and x11/libfakekey

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NEW: net/kdeconnect-kde and x11/libfakekey

Ingo Feinerer-2
Hi,

attached is a port for KDE Connect [1][2], a tool that allows your devices
(phone, PC) to communicate, and for libfakekey, an optional dependency for KDE
Connect.

[1] https://invent.kde.org/kde/kdeconnect-kde
[2] https://community.kde.org/KDEConnect

-----------------------------------------------------------------------
net/kdeconnect-kde/pkg/DESCR:
KDE Connect is a multi-platform app that allows your devices to communicate
(eg: your phone and your computer).

* Shared clipboard: Copy and paste between your phone and your computer (or any other device).
* Notification sync: Read and reply to your Android notifications from the desktop.
* Share files and URLs instantly from one device to another including some filesystem integration.
* Multimedia remote control: Use your phone as a remote for Linux media players.
* Virtual touchpad: Use your phone screen as your computer's touchpad and keyboard.
* Presentation remote: Advance your presentation slides straight from your phone.

All this is done completely wirelessly, utilising TLS encryption.
-----------------------------------------------------------------------

-----------------------------------------------------------------------
x11/libfakekey/pkg/DESCR:
libfakekey is a simple library for converting UTF-8 characters into 'fake' X
key-presses.
-----------------------------------------------------------------------

On your (Android) phone you need the KDE connect app
(e.g., https://f-droid.org/packages/org.kde.kdeconnect_tp/).

On your PC simply start `kdeconnect-indicator` (which in turn starts
`kdeconnectd`). Despite the name you do not need a full KDE environment (works
for me with cwm and stalonetray).

I patched two files to use QHostAddress::AnyIPv4 instead of QHostAddress::Any
(https://doc.qt.io/qt-5/qhostaddress.html#SpecialAddress-enum). The latter is
intended for the dual stack any-address but on OpenBSD this binds just to
IPv6. So the patch enables IPv4 (but disables IPv6).

The patch to enable browsing the phone's file system is taken from the FreeBSD
port (which uses `sshpass -p` :-( ... but this is a random password generated
within the TLS session).

Comments and reviews are appreciated.

OK to import?

Best regards,
Ingo

kdeconnect-kde.tar.gz (7K) Download Attachment
libfakekey.tar.gz (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: NEW: net/kdeconnect-kde and x11/libfakekey

Rafael Sadowski
On Fri Aug 16, 2019 at 03:57:41PM +0200, Ingo Feinerer wrote:

> Hi,
>
> attached is a port for KDE Connect [1][2], a tool that allows your devices
> (phone, PC) to communicate, and for libfakekey, an optional dependency for KDE
> Connect.
>
> [1] https://invent.kde.org/kde/kdeconnect-kde
> [2] https://community.kde.org/KDEConnect
>
> -----------------------------------------------------------------------
> net/kdeconnect-kde/pkg/DESCR:
> KDE Connect is a multi-platform app that allows your devices to communicate
> (eg: your phone and your computer).
>
> * Shared clipboard: Copy and paste between your phone and your computer (or any other device).
> * Notification sync: Read and reply to your Android notifications from the desktop.
> * Share files and URLs instantly from one device to another including some filesystem integration.
> * Multimedia remote control: Use your phone as a remote for Linux media players.
> * Virtual touchpad: Use your phone screen as your computer's touchpad and keyboard.
> * Presentation remote: Advance your presentation slides straight from your phone.
>
> All this is done completely wirelessly, utilising TLS encryption.
> -----------------------------------------------------------------------
>
> -----------------------------------------------------------------------
> x11/libfakekey/pkg/DESCR:
> libfakekey is a simple library for converting UTF-8 characters into 'fake' X
> key-presses.
> -----------------------------------------------------------------------
>
> On your (Android) phone you need the KDE connect app
> (e.g., https://f-droid.org/packages/org.kde.kdeconnect_tp/).
>
> On your PC simply start `kdeconnect-indicator` (which in turn starts
> `kdeconnectd`). Despite the name you do not need a full KDE environment (works
> for me with cwm and stalonetray).
>
> I patched two files to use QHostAddress::AnyIPv4 instead of QHostAddress::Any
> (https://doc.qt.io/qt-5/qhostaddress.html#SpecialAddress-enum). The latter is
> intended for the dual stack any-address but on OpenBSD this binds just to
> IPv6. So the patch enables IPv4 (but disables IPv6).
>
> The patch to enable browsing the phone's file system is taken from the FreeBSD
> port (which uses `sshpass -p` :-( ... but this is a random password generated
> within the TLS session).
>
> Comments and reviews are appreciated.
>
> OK to import?
>
> Best regards,
> Ingo

OK for libfakekey.

Tweaks for kdeconnect:

- 5 line(s) longer than 80 chars in pkg/DESC
- missing share/doc/pkg-readmes/${FULLPKGNAME} in PLIST

Please checkout portscheck.

RS