diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/linux-nvidia-libs-devel/Makefile | 2 | ||||
-rw-r--r-- | x11/linux-nvidia-libs-devel/distinfo | 6 | ||||
-rw-r--r-- | x11/nvidia-driver-devel/Makefile | 2 | ||||
-rw-r--r-- | x11/nvidia-driver-devel/distinfo | 6 | ||||
-rw-r--r-- | x11/p5-X11-XCB/Makefile | 19 | ||||
-rw-r--r-- | x11/p5-X11-XCB/distinfo | 6 | ||||
-rw-r--r-- | x11/p5-X11-XCB/pkg-descr | 4 | ||||
-rw-r--r-- | x11/py-mouseinfo/Makefile | 2 | ||||
-rw-r--r-- | x11/py-mouseinfo/files/patch-src_mouseinfo_____init____.py | 66 | ||||
-rw-r--r-- | x11/py-pyautogui/Makefile | 7 | ||||
-rw-r--r-- | x11/py-pyautogui/distinfo | 6 | ||||
-rw-r--r-- | x11/py-pyautogui/files/patch-pyautogui_____init____.py | 40 | ||||
-rw-r--r-- | x11/py-pyscreeze/Makefile | 4 | ||||
-rw-r--r-- | x11/py-pyscreeze/distinfo | 6 | ||||
-rw-r--r-- | x11/py-pyscreeze/files/patch-pyscreeze_____init____.py | 52 | ||||
-rw-r--r-- | x11/wl-kbptr/Makefile | 7 | ||||
-rw-r--r-- | x11/wl-kbptr/distinfo | 6 |
17 files changed, 198 insertions, 43 deletions
diff --git a/x11/linux-nvidia-libs-devel/Makefile b/x11/linux-nvidia-libs-devel/Makefile index f0dfe2201ec7..89d730f3a4c8 100644 --- a/x11/linux-nvidia-libs-devel/Makefile +++ b/x11/linux-nvidia-libs-devel/Makefile @@ -1,4 +1,4 @@ -DISTVERSION= 575.64 +DISTVERSION= 575.64.03 # Explicitly set PORTREVISION as it can be overridden by the master port PORTREVISION= 0 diff --git a/x11/linux-nvidia-libs-devel/distinfo b/x11/linux-nvidia-libs-devel/distinfo index 8fd4df607603..fd5f4aac32a3 100644 --- a/x11/linux-nvidia-libs-devel/distinfo +++ b/x11/linux-nvidia-libs-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750496375 -SHA256 (NVIDIA-Linux-x86_64-575.64.run) = eb01bcfe73b06c7d24b6083c27e6414f6979542f06e65601421b64ccc0ad68b1 -SIZE (NVIDIA-Linux-x86_64-575.64.run) = 387052180 +TIMESTAMP = 1751449830 +SHA256 (NVIDIA-Linux-x86_64-575.64.03.run) = 4bb7aa86004b2ed299c7d430a0622c5c90327ce3aca4f6e9a531d4c41d3a0ca0 +SIZE (NVIDIA-Linux-x86_64-575.64.03.run) = 387655074 diff --git a/x11/nvidia-driver-devel/Makefile b/x11/nvidia-driver-devel/Makefile index d3e7258c8852..82483c12030b 100644 --- a/x11/nvidia-driver-devel/Makefile +++ b/x11/nvidia-driver-devel/Makefile @@ -1,4 +1,4 @@ -DISTVERSION= 575.64 +DISTVERSION= 575.64.03 # Explicitly set PORTREVISION as it can be overridden by the master port PORTREVISION= 0 diff --git a/x11/nvidia-driver-devel/distinfo b/x11/nvidia-driver-devel/distinfo index 28b3f5dc73eb..8f130be3a8e0 100644 --- a/x11/nvidia-driver-devel/distinfo +++ b/x11/nvidia-driver-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750495890 -SHA256 (NVIDIA-FreeBSD-x86_64-575.64.tar.xz) = 8b1392a796ac04738b11d8f74713d1c8be3ecbd1af8363ba8ba3599204b56057 -SIZE (NVIDIA-FreeBSD-x86_64-575.64.tar.xz) = 287791452 +TIMESTAMP = 1751449665 +SHA256 (NVIDIA-FreeBSD-x86_64-575.64.03.tar.xz) = 1fa676e43bb2da5f4458ad8feb969d7dac3438adb2f3294ca15b2c3e95522363 +SIZE (NVIDIA-FreeBSD-x86_64-575.64.03.tar.xz) = 287548092 diff --git a/x11/p5-X11-XCB/Makefile b/x11/p5-X11-XCB/Makefile index 83e109467c12..2a3e6ca68931 100644 --- a/x11/p5-X11-XCB/Makefile +++ b/x11/p5-X11-XCB/Makefile @@ -1,5 +1,5 @@ PORTNAME= X11-XCB -PORTVERSION= 0.23 +DISTVERSION= 0.24 CATEGORIES= x11 perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,28 +11,25 @@ WWW= https://metacpan.org/release/X11-XCB LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -LIB_DEPENDS= libxcb.so:x11/libxcb \ - libxcb-util.so:x11/xcb-util \ - libxcb-icccm.so:x11/xcb-util-wm -BUILD_DEPENDS= \ - ${LOCALBASE}/share/xcb/xcb.xsd:x11/xcb-proto \ +BUILD_DEPENDS= ${LOCALBASE}/share/xcb/xcb.xsd:x11/xcb-proto \ p5-Data-Dump>=0:devel/p5-Data-Dump \ p5-ExtUtils-Depends>=0:devel/p5-ExtUtils-Depends \ p5-ExtUtils-PkgConfig>=0:devel/p5-ExtUtils-PkgConfig \ p5-XML-Descent>=0:textproc/p5-XML-Descent \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-XS-Object-Magic>=0:devel/p5-XS-Object-Magic -RUN_DEPENDS= \ - p5-Mouse>=0:devel/p5-Mouse \ +LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm \ + libxcb-util.so:x11/xcb-util \ + libxcb.so:x11/libxcb +RUN_DEPENDS= p5-Mouse>=0:devel/p5-Mouse \ p5-Try-Tiny>=0:lang/p5-Try-Tiny \ p5-XS-Object-Magic>=0:devel/p5-XS-Object-Magic -TEST_DEPENDS= \ - p5-Test-Deep>=0:devel/p5-Test-Deep \ +TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ p5-Test-Exception>=0:devel/p5-Test-Exception USES= localbase perl5 xorg USE_PERL5= configure -USE_XORG= x11 xcb xorgproto xinerama +USE_XORG= x11 xcb xinerama xorgproto MAKE_JOBS_UNSAFE= yes post-install: diff --git a/x11/p5-X11-XCB/distinfo b/x11/p5-X11-XCB/distinfo index a8c9e920d192..1a1d12ffcbed 100644 --- a/x11/p5-X11-XCB/distinfo +++ b/x11/p5-X11-XCB/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1728130534 -SHA256 (X11-XCB-0.23.tar.gz) = 70aecd338e0a75cbb1272bde181c10343f2aa700fa0dd9d5375f4b006a8b7b5b -SIZE (X11-XCB-0.23.tar.gz) = 170952 +TIMESTAMP = 1751647413 +SHA256 (X11-XCB-0.24.tar.gz) = 788519673a43c4751e73061a8821b658fc95f06d5c19c9f1debb605fb20ba045 +SIZE (X11-XCB-0.24.tar.gz) = 170844 diff --git a/x11/p5-X11-XCB/pkg-descr b/x11/p5-X11-XCB/pkg-descr index acd4cffef805..b2f102e37600 100644 --- a/x11/p5-X11-XCB/pkg-descr +++ b/x11/p5-X11-XCB/pkg-descr @@ -1,2 +1,2 @@ -The modul bindings wrap libxcb, a C library to speak with X11. It -provides an object oriented interface to the libxcb methods using Mouse. +Perl bindings around libxcb, a C library for X11 interaction. It provides +an object oriented interface to the libxcb methods. diff --git a/x11/py-mouseinfo/Makefile b/x11/py-mouseinfo/Makefile index ebdbd7903321..6ba851ef24cc 100644 --- a/x11/py-mouseinfo/Makefile +++ b/x11/py-mouseinfo/Makefile @@ -1,6 +1,6 @@ PORTNAME= mouseinfo DISTVERSION= 0.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/x11/py-mouseinfo/files/patch-src_mouseinfo_____init____.py b/x11/py-mouseinfo/files/patch-src_mouseinfo_____init____.py new file mode 100644 index 000000000000..a778e04c1f3e --- /dev/null +++ b/x11/py-mouseinfo/files/patch-src_mouseinfo_____init____.py @@ -0,0 +1,66 @@ +--- src/mouseinfo/__init__.py.orig 2025-07-05 20:10:22 UTC ++++ src/mouseinfo/__init__.py +@@ -203,7 +203,7 @@ elif sys.platform == 'darwin': + getPixel = _macGetPixel + + +-elif platform.system() == 'Linux': ++elif platform.system() == 'Linux' or platform.system() == 'FreeBSD': + from Xlib.display import Display + import errno + +@@ -229,7 +229,7 @@ elif platform.system() == 'Linux': + + def _linuxScreenshot(filename=None): + if not scrotExists: +- raise NotImplementedError('"scrot" must be installed to use screenshot functions in Linux. Run: sudo apt-get install scrot') ++ raise NotImplementedError('"scrot" must be installed to use screenshot functions in FreeBSD/Linux.') + + if filename is not None: + tmpFilename = filename +@@ -247,7 +247,7 @@ elif platform.system() == 'Linux': + os.unlink(tmpFilename) + return im + else: +- raise Exception('The scrot program must be installed to take a screenshot with PyScreeze on Linux. Run: sudo apt-get install scrot') ++ raise Exception('The scrot program must be installed to take a screenshot with PyScreeze on FreeBSD/Linux') + screenshot = _linuxScreenshot + + def _linuxSize(): +@@ -262,14 +262,14 @@ RUNNING_PYTHON_2 = sys.version_info[0] == 2 + + RUNNING_PYTHON_2 = sys.version_info[0] == 2 + +-if platform.system() == 'Linux': ++if platform.system() == 'Linux' or platform.system() == 'FreeBSD': + if RUNNING_PYTHON_2: + try: + import Tkinter as tkinter + ttk = tkinter + from Tkinter import Event + except ImportError: +- sys.exit('NOTE: You must install tkinter on Linux to use MouseInfo. Run the following: sudo apt-get install python-tk python-dev') ++ sys.exit('NOTE: You must install tkinter on FreeBSD/Linux to use MouseInfo.') + else: + # Running Python 3+: + try: +@@ -277,7 +277,7 @@ if platform.system() == 'Linux': + from tkinter import ttk + from tkinter import Event + except ImportError: +- sys.exit('NOTE: You must install tkinter on Linux to use MouseInfo. Run the following: sudo apt-get install python3-tk python3-dev') ++ sys.exit('NOTE: You must install tkinter on FreeBSD/Linux to use MouseInfo.') + else: + # Running Windows or macOS: + if RUNNING_PYTHON_2: +@@ -358,8 +358,8 @@ class MouseInfoWindow: + pyperclip.copy(textToCopy) + self.statusbarSV.set('Copied ' + textToCopy) + except pyperclip.PyperclipException as e: +- if platform.system() == 'Linux': +- self.statusbarSV.set('Copy failed. Run "sudo apt-get install xsel".') ++ if platform.system() == 'Linux' or platform.system() == 'FreeBSD': ++ self.statusbarSV.set('Copy failed. You must nstall xsel".') + else: + self.statusbarSV.set('Clipboard error: ' + str(e)) + diff --git a/x11/py-pyautogui/Makefile b/x11/py-pyautogui/Makefile index 8329e82f0b21..ec994a2535f6 100644 --- a/x11/py-pyautogui/Makefile +++ b/x11/py-pyautogui/Makefile @@ -1,6 +1,5 @@ PORTNAME= pyautogui -DISTVERSION= 0.9.53 -PORTREVISION= 2 +DISTVERSION= 0.9.54 CATEGORIES= x11 python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,9 +18,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-xlib>0:x11-toolkits/py-python-xlib@${ ${PYTHON_PKGNAMEPREFIX}pyscreeze>0:x11/py-pyscreeze@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mouseinfo>0:x11/py-mouseinfo@${PY_FLAVOR} -USES= python +USES= python dos2unix USE_PYTHON= distutils autoplist NO_ARCH= yes +DOS2UNIX_GLOB= *.py + .include <bsd.port.mk> diff --git a/x11/py-pyautogui/distinfo b/x11/py-pyautogui/distinfo index ef262012272a..4befb41ec0ab 100644 --- a/x11/py-pyautogui/distinfo +++ b/x11/py-pyautogui/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682517697 -SHA256 (PyAutoGUI-0.9.53.tar.gz) = d31de8f712218d90be7fc98091fce1a12a3e9196e0c814eb9afd73bb2ec97035 -SIZE (PyAutoGUI-0.9.53.tar.gz) = 59031 +TIMESTAMP = 1751744669 +SHA256 (PyAutoGUI-0.9.54.tar.gz) = dd1d29e8fd118941cb193f74df57e5c6ff8e9253b99c7b04f39cfc69f3ae04b2 +SIZE (PyAutoGUI-0.9.54.tar.gz) = 61236 diff --git a/x11/py-pyautogui/files/patch-pyautogui_____init____.py b/x11/py-pyautogui/files/patch-pyautogui_____init____.py new file mode 100644 index 000000000000..451541f36524 --- /dev/null +++ b/x11/py-pyautogui/files/patch-pyautogui_____init____.py @@ -0,0 +1,40 @@ +--- pyautogui/__init__.py.orig 2025-07-05 19:46:17 UTC ++++ pyautogui/__init__.py +@@ -540,7 +540,7 @@ elif sys.platform == "win32": + from . import _pyautogui_osx as platformModule + elif sys.platform == "win32": + from . import _pyautogui_win as platformModule +-elif platform.system() == "Linux": ++elif platform.system() == "Linux" or platform.system() == "FreeBSD": + from . import _pyautogui_x11 as platformModule + else: + raise NotImplementedError("Your platform (%s) is not supported by PyAutoGUI." % (platform.system())) +@@ -848,8 +848,8 @@ def _normalizeButton(button): + + # Check that `button` has a valid value: + button = button.lower() +- if platform.system() == "Linux": +- # Check for valid button arg on Linux: ++ if platform.system() == "Linux" or platform.system() == "FreeBSD": ++ # Check for valid button arg on FreeBSD/Linux: + if button not in (LEFT, MIDDLE, RIGHT, PRIMARY, SECONDARY, 1, 2, 3, 4, 5, 6, 7): + raise PyAutoGUIException( + "button argument must be one of ('left', 'middle', 'right', 'primary', 'secondary', 1, 2, 3, 4, 5, 6, 7)" +@@ -1125,7 +1125,7 @@ def doubleClick(x=None, y=None, interval=0.0, button=L + platformModule._multiClick(x, y, button, 2) + _logScreenshot(logScreenshot, 'click', '%s,%s,%s,2' % (x, y, button), folder='.') + else: +- # Click for Windows or Linux: ++ # Click for Windows, FreeBSD or Linux: + click(x, y, 2, interval, button, duration, tween, logScreenshot, _pause=False) + + +@@ -1167,7 +1167,7 @@ def tripleClick(x=None, y=None, interval=0.0, button=L + _logScreenshot(logScreenshot, "click", "%s,%s,%s,3" % (x, y, button), folder=".") + platformModule._multiClick(x, y, button, 3) + else: +- # Click for Windows or Linux: ++ # Click for Windows, FreeBSD or Linux: + click(x, y, 3, interval, button, duration, tween, logScreenshot, _pause=False) + + diff --git a/x11/py-pyscreeze/Makefile b/x11/py-pyscreeze/Makefile index 799c74f467ce..55004a3a918b 100644 --- a/x11/py-pyscreeze/Makefile +++ b/x11/py-pyscreeze/Makefile @@ -1,10 +1,8 @@ PORTNAME= pyscreeze -DISTVERSION= 0.1.28 -PORTREVISION= 1 +DISTVERSION= 1.0.1 CATEGORIES= x11 python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= PyScreeze-${DISTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= cross-platform screenshot module for python diff --git a/x11/py-pyscreeze/distinfo b/x11/py-pyscreeze/distinfo index 42a1959fc685..f153f14d5a29 100644 --- a/x11/py-pyscreeze/distinfo +++ b/x11/py-pyscreeze/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682524999 -SHA256 (PyScreeze-0.1.28.tar.gz) = 4428600ed19b30cd3f4b5d83767d198fc1dbae7439eecf9bd795445c009b67ae -SIZE (PyScreeze-0.1.28.tar.gz) = 25547 +TIMESTAMP = 1751745551 +SHA256 (pyscreeze-1.0.1.tar.gz) = cf1662710f1b46aa5ff229ee23f367da9e20af4a78e6e365bee973cad0ead4be +SIZE (pyscreeze-1.0.1.tar.gz) = 27826 diff --git a/x11/py-pyscreeze/files/patch-pyscreeze_____init____.py b/x11/py-pyscreeze/files/patch-pyscreeze_____init____.py new file mode 100644 index 000000000000..0c981964cf72 --- /dev/null +++ b/x11/py-pyscreeze/files/patch-pyscreeze_____init____.py @@ -0,0 +1,52 @@ +--- pyscreeze/__init__.py.orig 2025-07-05 20:35:11 UTC ++++ pyscreeze/__init__.py +@@ -64,7 +64,7 @@ try: + + GNOMESCREENSHOT_EXISTS = False + try: +- if sys.platform.startswith('linux'): ++ if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): + whichProc = subprocess.Popen(['which', 'gnome-screenshot'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + GNOMESCREENSHOT_EXISTS = whichProc.wait() == 0 + except OSError as ex: +@@ -77,7 +77,7 @@ try: + + SCROT_EXISTS = False + try: +- if sys.platform.startswith('linux'): ++ if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): + whichProc = subprocess.Popen(['which', 'scrot'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + SCROT_EXISTS = whichProc.wait() == 0 + except OSError as ex: +@@ -89,7 +89,7 @@ except OSError as ex: + raise + + # On Linux, figure out which window system is being used. +-if sys.platform.startswith('linux'): ++if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): + RUNNING_X11 = False + RUNNING_WAYLAND = False + if os.environ.get('XDG_SESSION_TYPE') == 'x11': +@@ -622,11 +622,11 @@ def _screenshot_linux(imageFilename=None, region=None) + subprocess.call(['gnome-screenshot', '-f', tmpFilename]) + elif RUNNING_WAYLAND and SCROT_EXISTS and not GNOMESCREENSHOT_EXISTS: + raise PyScreezeException( +- 'Your computer uses the Wayland window system. Scrot works on the X11 window system but not Wayland. You must install gnome-screenshot by running `sudo apt install gnome-screenshot`' # noqa ++ 'Your computer uses the Wayland window system. Scrot works on the X11 window system but not Wayland. You must install gnome-screenshot' # noqa + ) + else: + raise Exception( +- 'To take screenshots, you must install Pillow version 9.2.0 or greater and gnome-screenshot by running `sudo apt install gnome-screenshot`' # noqa ++ 'To take screenshots, you must install Pillow version 9.2.0 or greater and gnome-screenshot' # noqa + ) + + im = Image.open(tmpFilename) +@@ -772,7 +772,7 @@ elif sys.platform == 'win32': + screenshot = _screenshot_osx + elif sys.platform == 'win32': + screenshot = _screenshot_win32 +-elif sys.platform.startswith('linux'): ++elif sys.platform.startswith('linux') or sys.platform.startswith('freebsd'): + # Everything else is considered to be Linux. + screenshot = _screenshot_linux + else: diff --git a/x11/wl-kbptr/Makefile b/x11/wl-kbptr/Makefile index beb2f07fb3df..e0b62a0888c5 100644 --- a/x11/wl-kbptr/Makefile +++ b/x11/wl-kbptr/Makefile @@ -1,9 +1,9 @@ PORTNAME= wl-kbptr DISTVERSIONPREFIX= v -DISTVERSION= 0.3.0 +DISTVERSION= 0.4.0 CATEGORIES= x11 wayland -MAINTAINER= jbeich@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Control the mouse pointer with the keyboard on Wayland WWW= https://github.com/moverest/wl-kbptr @@ -24,7 +24,8 @@ USES= compiler:c11 gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= cairo GH_ACCOUNT= moverest -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/applications/${PORTNAME}.desktop OPTIONS_DEFINE= OPENCV OPTIONS_SLAVE= ${${FLAVOR}_OPTIONS_SLAVE} diff --git a/x11/wl-kbptr/distinfo b/x11/wl-kbptr/distinfo index 2bc7e41b3a58..49b7dbb21521 100644 --- a/x11/wl-kbptr/distinfo +++ b/x11/wl-kbptr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1743703239 -SHA256 (moverest-wl-kbptr-v0.3.0_GH0.tar.gz) = 69775029acb8ff7d814a2868afe22e72b8c9c99cbb35b0acf57eccd3609b089c -SIZE (moverest-wl-kbptr-v0.3.0_GH0.tar.gz) = 53657 +TIMESTAMP = 1751561797 +SHA256 (moverest-wl-kbptr-v0.4.0_GH0.tar.gz) = e3655f5305987dbac389a25e64c2f5a028c1651db70ea757024c4efa55c24338 +SIZE (moverest-wl-kbptr-v0.4.0_GH0.tar.gz) = 57749 |