./x11/py-Xlib, XLib in pure Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.29, Package name: py38-Xlib-0.29, Maintainer: prlw1

The Python X Library is intended to be a fully functional X client
library for Python programs. It is written entirely in Python, in
contrast to earlier X libraries for Python (the ancient X extension
and the newer plxlib) which were interfaces to the C Xlib.

Required to run:
[devel/py-setuptools] [lang/py-six] [devel/py-setuptools_scm] [lang/python37]

Required to build:

Master sites:

SHA1: e721a97f573f28b002f3c914e6bc27cf6a3bbb3b
RMD160: 71b2ed38a4cd8090177aa270d8ef8e2dff922550
Filesize: 204.416 KB

Version history: (Expand)

CVS history: (Expand)

   2020-12-19 17:56:34 by Patrick Welche | Files touched by this commit (2) | Package updated
Log message:
Update py-Xlib to 0.29


- Drawable & XInput: Avoid using array.array.tostring() which wiil
  be removed in Python 3.9 (thanks @t-wissmann).
   2020-10-01 14:01:50 by Patrick Welche | Files touched by this commit (3) | Package updated
Log message:
Update py-Xlib to 0.28

Version 0.28


- DPMS: Display Power Management Signaling (by @thiagokokada)

Version 0.27

Bug Fixes

- fix TypeError in socket.error exception handling for Python 3.x (by @t-wissmann)


- NV-CONTROL: set offset for all perf levels (by @Sporif)

Version 0.26

Bug Fixes

- support legacy X servers like RealVNC's one (by @Gerardwx)


- enrich XFixes extension with XFixesSelectionNotify events (by @acrisci)
- add example xfixes-selection-notify.py (by @acrisci)
- fix two issues in NV-CONTROL extension (by @leinardi)
- add method get_clock_info into NV-CONTROL extension (by @leinardi)
- add default client version into Composite extension (by @jakogut)
- add Damage extension with the example (by @mgarg1 and @jakogut)
   2019-11-03 10:14:21 by Roland Illig | Files touched by this commit (148)
Log message:
x11: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-10-02 18:13:48 by Patrick Welche | Files touched by this commit (2)
Log message:
Fix build
   2019-08-05 14:26:15 by Patrick Welche | Files touched by this commit (13) | Package removed
Log message:
Update python-xlib to 0.25

Take maintaintership

Version 0.25

Bug Fixes
     * fix increasing memory usage on display instantiation

NV-CONTROL extension

     * add first implementation by Roberto Leinardi (@leinardi)


Version 0.24

Bug Fixes

     * fix protocol handling: correctly support explicit Unix connections
       and fix support fox macOS
     * improve Python 3 support: fix events sub-code handling and possible
       crashes when unpacking text data
     * add support for error handlers to the Composite extension


     * fix xfixes example
     * fix a bunch of typos in the code / documentation

Version 0.23

Bug Fixes

     * fix strings decoding: use Latin-1

Version 0.22

Bug Fixes

     * fix Display.change_pointer_control implementation
     * fix Drawable.put_pil_image implementation

Version 0.21

Bug Fixes

     * fix use under Windows Subsystem for Linux: when DISPLAY does not
       specify a protocol, and the implicit Unix socket connection fails,
       fallback to TCP (mimicking XCB's behavior).


     * don't bundle a copy of texi2html to build the HTML documentation,
       but use the currently installed version instead.

Version 0.20

Bug Fixes

     * fix unclosed file in Xauth implementation
     * fix support for Window.set_wm_transient_for
     * fix support for Drawable.put_image / Drawable.get_image
     * use ASCII for decoding strings in Python 3 (same as Python 2)
     * fix Python 3 warnings about array.tostring() (deprecated)


   Improve response processing performance: reduce the number of
   socket.recv calls needed to receive a full response.

Version 0.19

Bug Fixes

     * don't throw an exception if $XAUTHFILE / ~/.Xauthority is missing
     * fix authentication work-around for SSH forwarding under Python 3
     * improve $DISPLAY handling: support optional protocol prefix, and
       correctly handle unix:0.0 as :0.0

Version 0.18

Bug Fixes

     * fix Python 3 buffer abstraction
     * fix interrupted select handling for Python 3.3/3.4
     * fix Unix socket support when only an abstract address is available

Version 0.17

Bug Fixes

     * fix Xauth handling when using Python 2 and DISPLAY contains a
       remote IP
     * fix String16 request field handling when using Python 3
     * fix RECORD extension and example when using Python 3
     * fix handling of properties: use byte strings for all X11 8-bits
       strings, as not all of them are text properties (the window
       getters/setters for wm_name, wm_icon_name, wm_class, and
       wm_client_machine still return/expect Unicode strings)

API Changes

     * new window getter/setter for text properties:
       get_full_text_property and change_text_property; with automatic
       conversion to/from Unicode when the property type encoding is
       supported (STRING and UTF8_STRING)

   Composite extension:
     * support for GetOverlayWindow request

Version 0.16

   The project is now licensed under the GNU Lesser General Public License
   v2.1 or later (see the LICENSE file for details).


   Support for Python versions older than 2.7 has been dropped. Support
   for Python 3 (3.3, 3.4 and 3.5) has been added. Note that Python-Xlib
   now depends on the six package (>=1.10) for combined Python 2 / 3

API Changes

   With the change of license, and no way to contact the original author
   of the SHAPE extension, the code had to be rewritten from scratch. This
   resulted in a few minor API changes (see examples/shapewin.py).

   Partial support for the SECURITY. XInput, and XFIXES extensions has
   been added.

Bug Fixes

     * fix RECORD extension
     * fixed OS X socket path
     * fix handling of generic events
     * fix handling of KeymapNotify events
     * several fixes for the RandR extension

Version 0.15rc1 - 14 Nov 2009

   Improved support for newer versions of Mac OS X, a couple of new
   extensions, and several bugfixes.

Composite extension

   Support for the composite extension, used to implement a composition
   manager (added for plcm work in plwm).

   By itself this extension is not very useful, it is intended to be used
   together with the DAMAGE and XFIXES extensions. Typically you would
   also need RENDER or glX or some similar method of creating fancy

XF86 special function keysyms

   Keysym definitions for special function keys found on modern keyboards,
   e.g. raise and lower volume, start specific applications, etc. Have a
   look in Xlib/keysymdef/xf86.py to see what there are and experiment
   with xev to see what your keyboard generates. These definitions aren't
   brought in by default, so you must do this after importing Xlib.XK:

RANDR extension

   The RANDR extension complements XINERAMA as a way of getting data about
   the physical screens making up a virtual screen in X. An example of
   usage can be found in examples/xrandr.py.
   2015-11-04 04:29:14 by Alistair G. Crooks | Files touched by this commit (670)
Log message:
Add SHA512 digests for distfiles for x11 category

Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-01-25 11:30:32 by Thomas Klausner | Files touched by this commit (533) | Package updated
Log message:
Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
   2012-10-29 06:07:25 by Aleksej Saushev | Files touched by this commit (563)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.