GNU bug report logs - #45745
[PATCH] gnu: Add python-screenkey.

Previous Next

Package: guix-patches;

Reported by: Alexandros Theodotou <alex <at> zrythm.org>

Date: Sat, 9 Jan 2021 14:47:01 UTC

Severity: normal

Tags: patch

Done: Léo Le Bouter <lle-bout <at> zaclys.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45745 in the body.
You can then email your comments to 45745 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#45745; Package guix-patches. (Sat, 09 Jan 2021 14:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandros Theodotou <alex <at> zrythm.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 09 Jan 2021 14:47:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandros Theodotou <alex <at> zrythm.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-screenkey.
Date: Sat, 09 Jan 2021 14:45:30 +0000
[Message part 1 (text/plain, inline)]
Hi,

This patch adds python-screenkey. It almost works with:
```
guix environment -L . python-screenkey --ad-hoc python-screenkey --
screenkey
```

although it can't initialize GTK.

I don't know how to fix this, if someone wants to take it from here
please go ahead.

Thanks,
Alex
[0001-gnu-Add-python-screenkey.patch (text/x-patch, attachment)]

Reply sent to Léo Le Bouter <lle-bout <at> zaclys.net>:
You have taken responsibility. (Mon, 22 Feb 2021 18:07:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandros Theodotou <alex <at> zrythm.org>:
bug acknowledged by developer. (Mon, 22 Feb 2021 18:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 45745-done <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 45745-done <at> debbugs.gnu.org
Date: Mon, 22 Feb 2021 19:06:25 +0100
[Message part 1 (text/plain, inline)]
Made it work and pushed as ad06c29b37924ecf5eb3bd440c7456cad6415c3b.

Have a look at the redshift package for an example on how to wrap the
final binary to include PYTHONPATH and GI_TYPELIB_PATH from the build
environment.

For this one, I added such a phase:

(add-after 'install 'wrap-screenkey
            (lambda* (#:key outputs #:allow-other-keys)
              (wrap-program
                  (string-append (assoc-ref outputs "out")
"/bin/screenkey")
                `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
                `("GI_TYPELIB_PATH"
                  ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
              #t))

Thank you!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Mar 2021 11:24:44 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.