Package Details: screenkey-git 0.9.1b9d6c2-1

Git Clone URL: https://aur.archlinux.org/screenkey-git.git (read-only)
Package Base: screenkey-git
Description: Screencast tool to show your keys inspired by Screenflick, based on key-mon. Active fork with new features.
Upstream URL: https://github.com/wavexx/screenkey
Licenses: GPL3
Conflicts: screenkey
Replaces: screenkey
Submitter: bchretien
Maintainer: bchretien
Last Packager: bchretien
Votes: 7
Popularity: 0.024333
First Submitted: 2014-04-11 16:18
Last Updated: 2016-12-01 19:50

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

eigengrau commented on 2017-09-25 05:19

Hello bchretien,

Unfortunately, the pkgver() output generates a format that confuses AUR helpers, because the SHA1 is directly blending into the version string.

E.g., currently, the pkgver variable is set to «0.9.1b9d6c2», while pkgver() generates «0.9.bcd10c5». The version comparation algorithm used by libalpm and AUR helpers will interpret the (older) string as «0.9.1» and lead AUR helpers to believe that screengit-git needs to be rebuilt all the time.

Cf. [1] on example pkgver() functions which avoid this problem. Usually, this is solved by the commit-count inside the version string (like «.r39»); the non-digit will then serve to separate the actual version from the VCS metadata.

Kind regards,
e.

[1] https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function

Ashark commented on 2016-11-29 20:38

You can add ttf-font-awesome as optional dependency.
It may be used by screenkey to show media symbols instead of their abbreviations.

bchretien commented on 2015-06-04 11:06

@cwright84: this looks like a bug that you should report upstream (https://github.com/wavexx/screenkey).

cwright84 commented on 2015-06-04 09:57

Hi,

I have installed screenkey-git using this package and it builds and installs successfully but when I run it I get the following error:

Traceback (most recent call last):
File "/usr/bin/screenkey", line 4, in <module>
__import__('pkg_resources').run_script('screenkey==0.4', 'screenkey')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 729, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1649, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/screenkey-0.4-py2.7.egg/EGG-INFO/scripts/screenkey", line 98, in <module>

File "/usr/lib/python2.7/site-packages/screenkey-0.4-py2.7.egg/EGG-INFO/scripts/screenkey", line 90, in main

File "build/bdist.linux-x86_64/egg/Screenkey/screenkey.py", line 127, in __init__
File "build/bdist.linux-x86_64/egg/Screenkey/screenkey.py", line 330, in on_change_mode
File "build/bdist.linux-x86_64/egg/Screenkey/listenkbd.py", line 115, in __init__
File "build/bdist.linux-x86_64/egg/Screenkey/modmap.py", line 33, in get_keymap_table
File "build/bdist.linux-x86_64/egg/Screenkey/modmap.py", line 18, in cmd_keymap_table
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
TypeError: execve() arg 3 contains a non-string value

These are my installed packages:

extra/git 2.4.2-1 [installed: 2.4.1-1]
extra/libgit2 1:0.22.1-1 [installed]
extra/pygtk 2.24.0-5 [installed]
extra/pygtksourceview2 2.10.1-5 [installed]
extra/python2 2.7.10-1 [installed: 2.7.9-1]
extra/python2-beaker 1.7.0-1 [installed]
extra/python2-bonobo 2.28.1-9 [installed]
extra/python2-cairo 1.10.0-2 [installed]
extra/python2-crypto 2.6.1-2 [installed]
extra/python2-dbus 1.2.0-4 [installed]
extra/python2-gconf 2.28.1-9 [installed]
extra/python2-gnomecanvas 2.28.1-9 [installed]
extra/python2-gnomedesktop 2.32.0-15 [installed]
extra/python2-gnomekeyring 2.32.0-15 [installed]
extra/python2-gnomevfs 2.28.1-9 [installed]
extra/python2-gobject 3.16.1-1 [installed]
extra/python2-gobject2 2.28.6-11 [installed]
extra/python2-gtop 2.32.0-15 [installed]
extra/python2-libgnome 2.28.1-9 [installed]
extra/python2-lxml 3.4.4-1 [installed]
extra/python2-mako 1.0.1-1 [installed]
extra/python2-markupsafe 0.23-2 [installed]
extra/python2-notify 0.1.1-13 [installed]
extra/python2-numpy 1.9.2-2 [installed]
extra/python2-pip 7.0.1-1 [installed]
extra/python2-pycups 1.9.72-2 [installed]
extra/python2-pycurl 7.19.5.1-2 [installed]
extra/python2-pysmbc 1.0.15.3-1 [installed]
extra/python2-rsvg 2.32.0-15 [installed]
extra/python2-setuptools 1:17.0-1 [installed: 1:16.0-1]
extra/python2-totem-plparser 2.32.0-15 [installed]
extra/python2-virtualenv 13.0.1-1 [installed]
extra/python2-wnck 2.32.0-15 [installed]
extra/python2-xdg 0.25-2 [installed]
extra/xdg-utils 1.1.0.git20150323-1 [installed]
extra/xorg-xmodmap 1.0.9-1 (xorg-apps xorg) [installed]
community/python2-distutils-extra 2.38-2 [installed]
community/python2-ecdsa 0.13-1 [installed]
community/python2-keybinder2 0.3.0-2 [installed]
community/python2-paramiko 1.15.2-1 [installed]
community/python2-pexpect 3.3-1 [installed]
community/python2-pillow 2.8.1-1 [installed]
community/python2-reportlab 3.1.44-2 [installed]
community/python2-xlib 0.15rc1-7 [installed]

uname -r
3.14.43-2-lts

Can anyone help. Many thanks.

cwright84 commented on 2015-06-04 09:56

Hi,

I have installed screenkey-git using this package and it builds and installs successfully but when I run it I get the following error:

Traceback (most recent call last):
File "/usr/bin/screenkey", line 4, in <module>
__import__('pkg_resources').run_script('screenkey==0.4', 'screenkey')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 729, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1649, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/screenkey-0.4-py2.7.egg/EGG-INFO/scripts/screenkey", line 98, in <module>

File "/usr/lib/python2.7/site-packages/screenkey-0.4-py2.7.egg/EGG-INFO/scripts/screenkey", line 90, in main

File "build/bdist.linux-x86_64/egg/Screenkey/screenkey.py", line 127, in __init__
File "build/bdist.linux-x86_64/egg/Screenkey/screenkey.py", line 330, in on_change_mode
File "build/bdist.linux-x86_64/egg/Screenkey/listenkbd.py", line 115, in __init__
File "build/bdist.linux-x86_64/egg/Screenkey/modmap.py", line 33, in get_keymap_table
File "build/bdist.linux-x86_64/egg/Screenkey/modmap.py", line 18, in cmd_keymap_table
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
TypeError: execve() arg 3 contains a non-string value

These are my installed packages:

extra/libgit2 1:0.22.1-1 [installed]
extra/pygtk 2.24.0-5 [installed]
extra/pygtksourceview2 2.10.1-5 [installed]
extra/python2 2.7.10-1 [installed: 2.7.9-1]
extra/python2-beaker 1.7.0-1 [installed]
extra/python2-bonobo 2.28.1-9 [installed]
extra/python2-cairo 1.10.0-2 [installed]
extra/python2-crypto 2.6.1-2 [installed]
extra/python2-dbus 1.2.0-4 [installed]
extra/python2-gconf 2.28.1-9 [installed]
extra/python2-gnomecanvas 2.28.1-9 [installed]
extra/python2-gnomedesktop 2.32.0-15 [installed]
extra/python2-gnomekeyring 2.32.0-15 [installed]
extra/python2-gnomevfs 2.28.1-9 [installed]
extra/python2-gobject 3.16.1-1 [installed]
extra/python2-gobject2 2.28.6-11 [installed]
extra/python2-gtop 2.32.0-15 [installed]
extra/python2-libgnome 2.28.1-9 [installed]
extra/python2-lxml 3.4.4-1 [installed]
extra/python2-mako 1.0.1-1 [installed]
extra/python2-markupsafe 0.23-2 [installed]
extra/python2-notify 0.1.1-13 [installed]
extra/python2-numpy 1.9.2-2 [installed]
extra/python2-pip 7.0.1-1 [installed]
extra/python2-pycups 1.9.72-2 [installed]
extra/python2-pycurl 7.19.5.1-2 [installed]
extra/python2-pysmbc 1.0.15.3-1 [installed]
extra/python2-rsvg 2.32.0-15 [installed]
extra/python2-setuptools 1:17.0-1 [installed: 1:16.0-1]
extra/python2-totem-plparser 2.32.0-15 [installed]
extra/python2-virtualenv 13.0.1-1 [installed]
extra/python2-wnck 2.32.0-15 [installed]
extra/python2-xdg 0.25-2 [installed]
extra/xdg-utils 1.1.0.git20150323-1 [installed]
extra/xorg-xmodmap 1.0.9-1 (xorg-apps xorg) [installed]
community/python2-distutils-extra 2.38-2 [installed]
community/python2-ecdsa 0.13-1 [installed]
community/python2-paramiko 1.15.2-1 [installed]
community/python2-pexpect 3.3-1 [installed]
community/python2-pillow 2.8.1-1 [installed]
community/python2-reportlab 3.1.44-2 [installed]
community/python2-xlib 0.15rc1-7 [installed]

uname -r
3.14.43-2-lts

Can anyone help. Many thanks.

bchretien commented on 2015-06-04 09:39

@cwright84: if you check the PKGBUILD, you will see that Python 2 is explicitly expected and used for the install process. You may want to check that you don't have a weird alias for python2 (e.g. check with python2 --version)

cwright84 commented on 2015-06-04 09:27

Hi, In installed the screenkey-git as of 2015-06-04 with a fully updated system, and the package builds and installs without errors but went I run screenkey I get the following in the console:

Traceback (most recent call last):
File "/usr/bin/screenkey", line 4, in <module>
__import__('pkg_resources').run_script('screenkey==0.4', 'screenkey')
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 729, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1649, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python3.4/site-packages/screenkey-0.4-py3.4.egg/EGG-INFO/scripts/screenkey", line 9, in <module>
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1191, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1161, in _load_backward_compatible
File "/usr/lib/python3.4/site-packages/screenkey-0.4-py3.4.egg/Screenkey/__init__.py", line 2, in <module>
TypeError: install() got an unexpected keyword argument 'unicode'


Any ideas? Should screenkey be using python3 or python2? Not sure why the file is stored here in python3 lib:

`/usr/lib/python3.4/site-packages/screenkey-0.4-py3.4.egg`

Can anyone help with the above error message?

bchretien commented on 2015-04-18 07:08

@eigengrau: thanks, fixed for new tag.

eigengrau commented on 2015-04-18 06:50

Hi! The current build fails with:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 0.3-3-g67216f6.67216f6
==> ERROR: Makepkg was unable to build screenkey-git.

bchretien commented on 2015-04-16 12:58

Note: I now use a new active fork that fixed several bugs and added new features (https://github.com/wavexx/screenkey).