Compare commits
10 Commits
8467a8eee5
...
5515fefa97
Author | SHA256 | Date | |
---|---|---|---|
5515fefa97 | |||
d73ee04509 | |||
72f38fa50d | |||
|
de2ed9a4ed | ||
|
c8f8511c4b | ||
b56d776fdd | |||
|
6583d73f7f | ||
|
cae6bdc0a6 | ||
|
186305ab85 | ||
|
696542adf4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5382234b095f069f31148373fb8e65982f5b583859253e584bef178928d9ab58
|
||||
size 5492
|
3
X11-Xlib-0.25.tar.gz
Normal file
3
X11-Xlib-0.25.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67270b96a9220e06ee768cf4b28be8cb2bff469ef7ec8344dcf7bd898809fa14
|
||||
size 229181
|
@@ -9,7 +9,8 @@
|
||||
# bar.patch:
|
||||
preamble: |-
|
||||
BuildRequires: gcc glibc-devel pkgconfig
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: xvfb-run
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
|
@@ -1,3 +1,185 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 23:11:37 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Fix disabling of __perllib_provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 2 23:02:33 UTC 2023 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Add libX11-devel, libXtst-devel dependencies, remove xorg-x11-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 03:08:58 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.25
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.25 - 2023-08-21
|
||||
- Resolve naming conflict with perl CORE (issue #8)
|
||||
- Implement XGetKeyboardControl and struct XKeyboardState
|
||||
- Allow C-style API for XTranslateCoordinates, XQueryPointer, and
|
||||
XGetGeometry that return values into params, while also allowing
|
||||
perl-style API that returns a list.
|
||||
- Many documentation updates (full method coverage)
|
||||
- Numerous tooling improvements and author tests
|
||||
- Update to Devel::PPPort-3.71
|
||||
|
||||
0.24 - 2023-08-16
|
||||
- Add function XWarpPointer, and Display->warp_pointer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 22 03:12:39 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.23
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.23 - 2021-10-21
|
||||
- Fix bugs when compiled for threaded perl
|
||||
|
||||
0.22 - 2021-10-09
|
||||
- New Atom API $conn->atom(@list), $conn->mkatom(@list) returns dualvars
|
||||
that are both the number and the atom name.
|
||||
- Fix bug in XGetWindowProperty/XChangeProperty on 64-bit platforms
|
||||
(thanks to Mark Davies)
|
||||
- Enhanced window property API can now encode and decode common property
|
||||
types, and uses duavar Atoms.
|
||||
- New PerlXlib C-level API with better support for managing lifecycle of
|
||||
Xlib objects and dependencies.
|
||||
- Numerous documentation improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 03:16:35 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
updated to 0.20
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.20 - 2020-05-25
|
||||
- Fix XS double-free in unpacking ::Screen objects from Screen*
|
||||
(affected XWindowAttributes->unpack)
|
||||
- Improved XS API for unpacking structs to be able to find the
|
||||
Display* ptr, in order to return cached objects more often.
|
||||
(affects whether XWindowAttributes can return a cached ::Visual)
|
||||
- Embed literal version into every module, not just set at runtime.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 03:11:46 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
updated to 0.19
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.19 - 2020-05-17
|
||||
- Detect lib paths needed for MacOS and OpenBSD
|
||||
- Fix warnings in XS code
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 06:16:14 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.18
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.18 - 2018-06-05
|
||||
- In Display->get_cached_xobj, allow constructor args to be hashref
|
||||
- Include version number on every object
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 11 06:06:19 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.17
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.17 - 2018-04-10
|
||||
- If Xrender.h is not available, fall back to local definitions
|
||||
(allows XRenderPictFormat module even if header isn't installed)
|
||||
- Another tweak for window properties
|
||||
- Doc improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 06:26:18 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.16
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.16 - 2017-07-16
|
||||
- Tweak testcases for window properties, which failed on some systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 06:34:17 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.15
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.15 - 2017-07-03
|
||||
- Fix bug in XEvent member XErrorEvent, which has different field
|
||||
order than other XEvent "subclass" structs
|
||||
- Fix timeout bug in Display->wait_event, and add loop option
|
||||
- New X11 API: error functions, atom functions, few XRender functions,
|
||||
window property functions
|
||||
- Add missing XMapRequest event type
|
||||
- Convenience method XEvent->summarize can pretty-print an event
|
||||
- Wrapper object (and typemap) for XserverRegion
|
||||
- All ::Struct and ::Opaque subclasses now have ->display attribute
|
||||
- More flexible caching of wrapper objects in Display
|
||||
- Convenience methods in Window wrapper for manipulating event mask,
|
||||
and for reading/writing attributes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 16 06:56:42 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.14
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.14 - 2017-04-15
|
||||
- Fix bug in XEvent->window that was using the incorrect field for
|
||||
any struct that renames 'xany.window' to i.e. 'parent' or 'event'
|
||||
- New Xcomposite test attempts to use Xephyr if it is installed
|
||||
- Fix API of XCompositeQueryVersion, which takes in/out arguments
|
||||
- Only run X11-connected test cases when DISPLAY is set
|
||||
- Add configuration for Travis-CI
|
||||
- Doc updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 14 06:55:08 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.13
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.13 - 2017-04-13
|
||||
- Many new window attribute and window placement functions/constants
|
||||
- Several new Input and Event functions
|
||||
- New structs XRectangle, XWindowAttributes, XWindowChanges
|
||||
- Xcomposite API, conditionally detected by makefile
|
||||
- A little bit of undocumented Xfixes API
|
||||
- Changed API for XGetGeometry, but still backward compatible
|
||||
- Fix prereq lists in Makefile.PL and META files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 9 07:00:24 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.12
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.12 - 2017-04-07
|
||||
- Unicode handling compatibility for perl 5.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 7 07:14:37 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 0.11
|
||||
see /usr/share/doc/packages/perl-X11-Xlib/Changes
|
||||
|
||||
0.11 - 2017-04-06
|
||||
- Include ppport.h in MANIFEST
|
||||
|
||||
0.10 - 2017-04-06
|
||||
- implement Xlib API for screens, events, windows, pixmaps, colormaps,
|
||||
visual/visualinfo, keymaps, keysyms, input, and error handling.
|
||||
- more distinct separation between C-style API and object layer.
|
||||
- caching support for objects wrapping connections or XIDs
|
||||
- typemap handling for all the new supported objects
|
||||
- use ExtUtils::Depends to share C API and typemap with derived modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 8 12:16:21 UTC 2016 - bwiedemann@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-X11-Xlib
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,45 +12,80 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-X11-Xlib
|
||||
Version: 0.03
|
||||
Release: 0
|
||||
%define cpan_name X11-Xlib
|
||||
Name: perl-X11-Xlib
|
||||
Version: 0.250.0
|
||||
Release: 0
|
||||
%define cpan_version 0.25
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Low-level access to the X11 library
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/X11-Xlib/
|
||||
Source0: http://www.cpan.org/authors/id/M/MA/MARKELLIS/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/N/NE/NERDVANA/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Devel::CheckLib) >= 1.03
|
||||
BuildRequires: perl(ExtUtils::Depends) >= 0.405
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
Requires: perl(Try::Tiny)
|
||||
Provides: perl(X11::Xlib) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Colormap) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Display) = 0.250.0
|
||||
Provides: perl(X11::Xlib::GC)
|
||||
Provides: perl(X11::Xlib::Keymap) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Opaque) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Pixmap) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Screen) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Struct) = 0.250.0
|
||||
Provides: perl(X11::Xlib::Visual)
|
||||
Provides: perl(X11::Xlib::Window) = 0.250.0
|
||||
Provides: perl(X11::Xlib::XEvent) = 0.250.0
|
||||
Provides: perl(X11::Xlib::XID) = 0.250.0
|
||||
Provides: perl(X11::Xlib::XKeyboardState)
|
||||
Provides: perl(X11::Xlib::XRectangle)
|
||||
Provides: perl(X11::Xlib::XRenderPictFormat)
|
||||
Provides: perl(X11::Xlib::XSetWindowAttributes)
|
||||
Provides: perl(X11::Xlib::XSizeHints)
|
||||
Provides: perl(X11::Xlib::XVisualInfo)
|
||||
Provides: perl(X11::Xlib::XWindowAttributes)
|
||||
Provides: perl(X11::Xlib::XWindowChanges)
|
||||
Provides: perl(X11::Xlib::XserverRegion) = 0.250.0
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xorg-x11-devel
|
||||
BuildRequires: gcc glibc-devel pkgconfig
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: xvfb-run
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
This module provides low-level access to X11 libary functions.
|
||||
This module provides low-level access to Xlib functions.
|
||||
|
||||
This includes access to some X11 extensions like the X11 test library
|
||||
(Xtst).
|
||||
|
||||
If you import the Xlib functions directly, or call them as methods on an
|
||||
instance of X11::Xlib, you get a near-C experience where you are required
|
||||
to manage the lifespan of resources, XIDs are integers instead of objects,
|
||||
and the library does not make any attempt to keep you from passing bad data
|
||||
to Xlib.
|
||||
|
||||
If you instead create a X11::Xlib::Display object and call all your methods
|
||||
on that, you get a more friendly wrapper around Xlib that helps you manage
|
||||
resource lifespan, wraps XIDs with perl objects, and does some sanity
|
||||
checking on the state of the library when you call methods.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
xvfb-run -a %{__make} test
|
||||
@@ -61,7 +96,6 @@ xvfb-run -a %{__make} test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user