pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/py-Xlib



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Mon Aug  5 12:26:15 UTC 2019

Modified Files:
        pkgsrc/x11/py-Xlib: Makefile PLIST distinfo
Removed Files:
        pkgsrc/x11/py-Xlib/patches: patch-Xlib_____init____.py
            patch-Xlib_protocol_display.py patch-Xlib_protocol_rq.py
            patch-Xlib_rdb.py patch-Xlib_support_unix__connect.py
            patch-Xlib_support_vms__connect.py patch-Xlib_xauth.py
            patch-Xlib_xobject_cursor.py patch-Xlib_xobject_drawable.py
            patch-Xlib_xobject_fontable.py

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

Misc

     * 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).

Misc

     * 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)

Misc

   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

   Core:
     * 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
Licensing

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

Compatibility

   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
   support.

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
   graphics.

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:
Xlib.XK.load_keysym_group('xf86')

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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/x11/py-Xlib/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/py-Xlib/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/x11/py-Xlib/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/x11/py-Xlib/patches/patch-Xlib_____init____.py
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_protocol_display.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_protocol_rq.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_rdb.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_support_unix__connect.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_support_vms__connect.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_xauth.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_xobject_cursor.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_xobject_drawable.py \
    pkgsrc/x11/py-Xlib/patches/patch-Xlib_xobject_fontable.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/py-Xlib/Makefile
diff -u pkgsrc/x11/py-Xlib/Makefile:1.11 pkgsrc/x11/py-Xlib/Makefile:1.12
--- pkgsrc/x11/py-Xlib/Makefile:1.11    Sat Jan 25 10:30:31 2014
+++ pkgsrc/x11/py-Xlib/Makefile Mon Aug  5 12:26:15 2019
@@ -1,16 +1,22 @@
-# $NetBSD: Makefile,v 1.11 2014/01/25 10:30:31 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2019/08/05 12:26:15 prlw1 Exp $
 
-DISTNAME=      python-xlib-0.14
-PKGNAME=       ${PYPKGPREFIX}-Xlib-0.14
+DISTNAME=      python-xlib-0.25
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-x/X/}
 CATEGORIES=    x11
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=python-xlib/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=python-xlib/}
+GITHUB_PROJECT=        python-xlib
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.bz2
 
-MAINTAINER=    ccatrian%eml.cc@localhost
-HOMEPAGE=      http://python-xlib.sourceforge.net/
-COMMENT=       Functional X client library for Python
-LICENSE=       gnu-gpl-v2
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://github.com/python-xlib/python-xlib/
+COMMENT=       XLib in pure Python
+LICENSE=       gnu-lgpl-v2.1
 
-EGG_NAME=      python_xlib-0.12
+USE_LANGUAGES= # none
+
+post-extract:
+       ${CHMOD} 644 ${WRKSRC}/python_xlib.egg-info/*
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/x11/py-Xlib/PLIST
diff -u pkgsrc/x11/py-Xlib/PLIST:1.4 pkgsrc/x11/py-Xlib/PLIST:1.5
--- pkgsrc/x11/py-Xlib/PLIST:1.4        Sun Apr  8 20:22:01 2012
+++ pkgsrc/x11/py-Xlib/PLIST    Mon Aug  5 12:26:15 2019
@@ -1,4 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2012/04/08 20:22:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/08/05 12:26:15 prlw1 Exp $
+${PYSITELIB}/${EGG_FILE}/PKG-INFO
+${PYSITELIB}/${EGG_FILE}/SOURCES.txt
+${PYSITELIB}/${EGG_FILE}/dependency_links.txt
+${PYSITELIB}/${EGG_FILE}/requires.txt
+${PYSITELIB}/${EGG_FILE}/top_level.txt
 ${PYSITELIB}/Xlib/X.py
 ${PYSITELIB}/Xlib/X.pyc
 ${PYSITELIB}/Xlib/X.pyo
@@ -26,15 +31,36 @@ ${PYSITELIB}/Xlib/error.pyo
 ${PYSITELIB}/Xlib/ext/__init__.py
 ${PYSITELIB}/Xlib/ext/__init__.pyc
 ${PYSITELIB}/Xlib/ext/__init__.pyo
+${PYSITELIB}/Xlib/ext/composite.py
+${PYSITELIB}/Xlib/ext/composite.pyc
+${PYSITELIB}/Xlib/ext/composite.pyo
+${PYSITELIB}/Xlib/ext/ge.py
+${PYSITELIB}/Xlib/ext/ge.pyc
+${PYSITELIB}/Xlib/ext/ge.pyo
+${PYSITELIB}/Xlib/ext/nvcontrol.py
+${PYSITELIB}/Xlib/ext/nvcontrol.pyc
+${PYSITELIB}/Xlib/ext/nvcontrol.pyo
+${PYSITELIB}/Xlib/ext/randr.py
+${PYSITELIB}/Xlib/ext/randr.pyc
+${PYSITELIB}/Xlib/ext/randr.pyo
 ${PYSITELIB}/Xlib/ext/record.py
 ${PYSITELIB}/Xlib/ext/record.pyc
 ${PYSITELIB}/Xlib/ext/record.pyo
+${PYSITELIB}/Xlib/ext/security.py
+${PYSITELIB}/Xlib/ext/security.pyc
+${PYSITELIB}/Xlib/ext/security.pyo
 ${PYSITELIB}/Xlib/ext/shape.py
 ${PYSITELIB}/Xlib/ext/shape.pyc
 ${PYSITELIB}/Xlib/ext/shape.pyo
+${PYSITELIB}/Xlib/ext/xfixes.py
+${PYSITELIB}/Xlib/ext/xfixes.pyc
+${PYSITELIB}/Xlib/ext/xfixes.pyo
 ${PYSITELIB}/Xlib/ext/xinerama.py
 ${PYSITELIB}/Xlib/ext/xinerama.pyc
 ${PYSITELIB}/Xlib/ext/xinerama.pyo
+${PYSITELIB}/Xlib/ext/xinput.py
+${PYSITELIB}/Xlib/ext/xinput.pyc
+${PYSITELIB}/Xlib/ext/xinput.pyo
 ${PYSITELIB}/Xlib/ext/xtest.py
 ${PYSITELIB}/Xlib/ext/xtest.pyc
 ${PYSITELIB}/Xlib/ext/xtest.pyo
@@ -89,6 +115,9 @@ ${PYSITELIB}/Xlib/keysymdef/technical.py
 ${PYSITELIB}/Xlib/keysymdef/thai.py
 ${PYSITELIB}/Xlib/keysymdef/thai.pyc
 ${PYSITELIB}/Xlib/keysymdef/thai.pyo
+${PYSITELIB}/Xlib/keysymdef/xf86.py
+${PYSITELIB}/Xlib/keysymdef/xf86.pyc
+${PYSITELIB}/Xlib/keysymdef/xf86.pyo
 ${PYSITELIB}/Xlib/keysymdef/xk3270.py
 ${PYSITELIB}/Xlib/keysymdef/xk3270.pyc
 ${PYSITELIB}/Xlib/keysymdef/xk3270.pyo
@@ -158,4 +187,3 @@ ${PYSITELIB}/Xlib/xobject/icccm.pyo
 ${PYSITELIB}/Xlib/xobject/resource.py
 ${PYSITELIB}/Xlib/xobject/resource.pyc
 ${PYSITELIB}/Xlib/xobject/resource.pyo
-${PYSITELIB}/${EGG_FILE}

Index: pkgsrc/x11/py-Xlib/distinfo
diff -u pkgsrc/x11/py-Xlib/distinfo:1.7 pkgsrc/x11/py-Xlib/distinfo:1.8
--- pkgsrc/x11/py-Xlib/distinfo:1.7     Wed Nov  4 03:28:51 2015
+++ pkgsrc/x11/py-Xlib/distinfo Mon Aug  5 12:26:15 2019
@@ -1,16 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 03:28:51 agc Exp $
+$NetBSD: distinfo,v 1.8 2019/08/05 12:26:15 prlw1 Exp $
 
-SHA1 (python-xlib-0.14.tar.gz) = e25e3c1284e768d3f84eaebbea4ed3e647c2a05b
-RMD160 (python-xlib-0.14.tar.gz) = be5610035fb1aee36a55e3e276582e3e31ba1cfc
-SHA512 (python-xlib-0.14.tar.gz) = 37d237a9924284c9917a4a7ede2f6cc3f57baec73db229f45b296e923bc69493322cf288b8638a8594afa68e7359994b12a1bfad2fb9421e2a42084622e064ae
-Size (python-xlib-0.14.tar.gz) = 200223 bytes
-SHA1 (patch-Xlib_____init____.py) = 201d4855b03534204723d88522d6af3529e5bd6c
-SHA1 (patch-Xlib_protocol_display.py) = e6943531a5e2ae1164e5faab2824f8e90b3d2493
-SHA1 (patch-Xlib_protocol_rq.py) = 08909f1bf14bc76f61ac186ba980ab44bc8ed3f8
-SHA1 (patch-Xlib_rdb.py) = 34e5be7f62577b4eb887288eea4be9a509be9414
-SHA1 (patch-Xlib_support_unix__connect.py) = 529d31935bf0aee30a628c1b80c6bee6874888d3
-SHA1 (patch-Xlib_support_vms__connect.py) = 8acb059239059f2b943fdc2a20231c7d9f79bb1d
-SHA1 (patch-Xlib_xauth.py) = 6e7444789a17f5e4264ba8a70f1c2ff1bb812850
-SHA1 (patch-Xlib_xobject_cursor.py) = c45c11b4cd5589cdd88c14c8f3029f93fc0bc18f
-SHA1 (patch-Xlib_xobject_drawable.py) = 590206bf0d83fa639a871d303c6bf9845ee9bf7f
-SHA1 (patch-Xlib_xobject_fontable.py) = 3a6cb416d9a81932657e2bd7db2fc6430d54d766
+SHA1 (python-xlib-0.25.tar.bz2) = 5f51029348fac5d8cebefa7da9dfb53fb14bdb33
+RMD160 (python-xlib-0.25.tar.bz2) = fa5e7efdaddcf90e0b887a5b4d26671866350212
+SHA512 (python-xlib-0.25.tar.bz2) = 616020b740ec80c1c33e1b2934674c14b6c4c9eef5d217b4b89b0316d0bf2d90e604f22269fd7b24882f27f010ff39ec530c262897fcd6b481451002956e38ce
+Size (python-xlib-0.25.tar.bz2) = 204578 bytes



Home | Main Index | Thread Index | Old Index