From a9d0d321ad16f25be0c4fad86f2a2e04c0242f9c2c38002b1d4f90c0db56d803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:50:45 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main wayland revision c21afa8345355d3244fbc7ca1b06fbbb --- .gitattributes | 23 ++ baselibs.conf | 12 + wayland-1.22.0.tar.xz | 3 + wayland-1.22.0.tar.xz.sig | Bin 0 -> 566 bytes wayland.changes | 480 ++++++++++++++++++++++++++++++++++++++ wayland.keyring | 79 +++++++ wayland.spec | 209 +++++++++++++++++ 7 files changed, 806 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 wayland-1.22.0.tar.xz create mode 100644 wayland-1.22.0.tar.xz.sig create mode 100644 wayland.changes create mode 100644 wayland.keyring create mode 100644 wayland.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..af96cb3 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,12 @@ +libwayland-client0 +libwayland-cursor0 +libwayland-egl1 +libwayland-server0 +wayland-devel + requires -wayland- + requires "libwayland-client0- = " + requires "libwayland-cursor0- = " + requires "libwayland-egl1- = " + requires "libwayland-server0- = " + provides "libwayland-egl-devel- = 18.1.5" + obsoletes "libwayland-egl-devel- < 18.1.5" diff --git a/wayland-1.22.0.tar.xz b/wayland-1.22.0.tar.xz new file mode 100644 index 0000000..fabcb45 --- /dev/null +++ b/wayland-1.22.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842 +size 229544 diff --git a/wayland-1.22.0.tar.xz.sig b/wayland-1.22.0.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..7f0c67e7d119faee59fe22d42cda451d34c1f0f0b494d33f8bb0df3946631527 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*Q|CJ`s?+%xvK;q;N-h1Hak6uUx0%R-NYyb)g5D(sa z;OLKDNLvpN|9Av2O7o?rs(S9(dc5Ph2*Nweq_1x>tz_nBaDC||XrXnE?fpW-i&gMOExTirf8P$kfD}F7n)x(4BjcG?SbyW$ zw*>v`4Mj8mzI>xP=U*=u@D_W4&QONDFWAQ+6<$}8#3vuFjGqJ^e`vfOICc{*cEoXV zvoYAVsbE198gaW_AhLHwU<6`*jfsl|^OcRxC7kVxo+HeoUfrY(6Vrc#b^xD6rdlCm zh6K)Cc5tQP0xW{ZqbPR*@*mxd%#adJG%F!z6H?IYj?T8N0j4j(NvBb(A5_>`KHc#3 z872$;CYadd=uC0=Wqa2tSc~GOo{PQny+0%#+Bp1J)#k(no?nljQu0UMU5g7; zmFX|rlf!<=Hc<*X?_}xp4ebdbW0Wp)rz6hn6$_oFWM*E?tC@Y2DTJGQTV)GdGjbYU{!1jyF{u;7n0^RhcD>z!p{b`L_#`Y>R3L0U( + +- Update to release 1.22.0 + * This new release adds explicit events for the preferred buffer scale + and transform, adds an event to indicate the pointer's physical scroll + direction, adds a few new convenience functions, and includes various + spec clarifications and bug fixes. + +------------------------------------------------------------------- +Thu Jun 30 22:07:21 UTC 2022 - Jan Engelhardt + +- Update to release 1.21 + * This new release adds a new wl_pointer high-resolution scroll + event, adds a few new convenience functions, and contains a + collection of bug fixes. +- Drop wayland-shm-Close-file-descriptors-not-needed.patch + +------------------------------------------------------------------- +Tue May 24 19:27:57 UTC 2022 - Dirk Müller + +- modernize spec file + * use licensedir + * use bcond + * use https:// urls + * spec-cleaner + +------------------------------------------------------------------- +Tue Jan 25 15:37:00 UTC 2022 - Stefan Dirsch + +- There is a file conflict in current wayland-devel-32bit and + prvevious libwayland-egl-devel-32bit package; therefore add + a conflicts to baselibs.conf + +------------------------------------------------------------------- +Tue Jan 11 08:29:19 UTC 2022 - Alynx Zhou + +- Add wayland-shm-Close-file-descriptors-not-needed.patch: For + platforms that support mremap(), we don't need to hold file + descriptors all the time, because programs like Xwayland will + hold a lot of file descriptors and may crash, this patch close + file descriptors earlier for those platforms (bsc#1194190). + +------------------------------------------------------------------- +Mon Jan 10 18:09:27 UTC 2022 - Stefan Dirsch + +- obsolete/provide libwayland-egl-devel 18.0.2 also on sle15-sp4 + +------------------------------------------------------------------- +Thu Dec 9 18:08:16 UTC 2021 - Jan Engelhardt + +- Update to release 1.20 + * A few protocol additions: wl_surface.offset allows clients to + update a surface's buffer offset independently from the + buffer, wl_output.name and description allow clients to + identify outputs without depending on xdg-output-unstable-v1. + * In protocol definitions, events have a new "type" attribute + and can now be marked as destructors. + * A number of bug fixes, including a race condition when + destroying proxies in multi-threaded clients. + +------------------------------------------------------------------- +Fri Nov 12 20:08:09 UTC 2021 - Bjørn Lie + +- Switch to meson buildsystem: Add meson BuildRequires and macros. +- Add generic c_compiler and c++_compiler BuildRequires, needed now + with the meson buildsystem. +- Use ldconfig_scriptlets macro for post(un) handling for + Tumbleweed and newer. + +------------------------------------------------------------------- +Wed Jan 27 18:19:56 UTC 2021 - Jan Engelhardt + +- Update to release 1.19 + * This release mostly contains bug fixes and minor + protocol updates. + +------------------------------------------------------------------- +Thu Feb 20 15:02:56 UTC 2020 - Antonio Larrosa + +- Replace public key in keyring with + 34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48 + (Simon Ser ). + +------------------------------------------------------------------- +Wed Feb 12 08:20:40 UTC 2020 - Jan Engelhardt + +- Update to release 1.18 + * Add API to tag proxy objects to allow applications and + toolkits to share the same Wayland connection + * Track wayland-server timers in user-space to prevent creating + too many FDs + * Add wl_global_remove, a new function to mitigate race + conditions with globals + +------------------------------------------------------------------- +Thu Mar 21 09:14:59 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 1.17 + * There is now a protocol to express an internal server error + message, and a new version of the wl_seat protocol with no + changes other than keymaps must be private. + +------------------------------------------------------------------- +Tue Nov 20 12:57:23 UTC 2018 - sndirsch@suse.com + +- Downgrades do not work in SLES service packs, because the SP0 + repo remains enabled for SP1. (This is unlike Leap, where a 15.1 + system will have no 15.0 directories.) As such, to force the + upgrade from Mesa:libwayland-egl1 to wayland:libwayland-egl1, + the number in wayland is bumped to >18 for those distros. + +------------------------------------------------------------------- +Mon Nov 19 17:12:57 UTC 2018 - sndirsch@suse.com + +- add Provides/Obsoletes for libwayland-egl-devel for the devel + files, which were previously built by Mesa, also on + sle15-sp1/Leap 15.1 due to wayland update on these products + (boo#1116042) + +------------------------------------------------------------------- +Sat Aug 25 17:24:13 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 1.16 + * The client definition of wl_global is removed. + * Some long standing oddness has been fixed with destroy signals. + * The code generator now supports referencing foreign enums. + +------------------------------------------------------------------- +Mon Aug 13 15:36:12 UTC 2018 - sndirsch@suse.com + +- devel package: add Provides/Obsoletes for libwayland-egl-devel + for the devel files, which were previously built by Mesa; see also + https://build.opensuse.org/request/show/613048 + +------------------------------------------------------------------- +Wed May 23 14:57:15 UTC 2018 - bjorn.lie@gmail.com + +- Update wayland.keyring to contain Derek Foreman + derekf@osg.samsung.com public key. + +------------------------------------------------------------------- +Mon Apr 9 18:05:05 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 1.15 + * wl_subcompositor.get_subsurface is now documented to be + double buffered. + * wayland-scanner can now generate either public or private + symbols. + * libwayland-egl is now part of libwayland (and will presumably + be removed Mesa soon) + * The WAYLAND_DISPLAY environment variable can now contain + absolute paths (where previously it was prefixed by + XDG_RUNTIME_DIR) - anything that reads WAYLAND_DISPLAY + outside of libwayland will have to deal with that change + independently. + +------------------------------------------------------------------- +Tue Feb 27 14:00:52 UTC 2018 - emil.l.velikov@gmail.com + +- Remove unneeded fdupes dependency/handling + +------------------------------------------------------------------- +Fri Oct 13 09:06:18 UTC 2017 - jengelh@inai.de + +- Add COPYING + +------------------------------------------------------------------- +Wed Aug 9 08:11:16 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 1.14 + * wayland-util: do not export the wl_map_* API + * wayland-server: Remove unused members from struct wl_client +- Drop 0001-tests-Fix-new-ID-type-handling-in-argument_from_va_l.patch + (integrated) + +------------------------------------------------------------------- +Mon Apr 10 11:00:59 UTC 2017 - sndirsch@suse.com + +- wayland support in Mesa 17 requires wayland >= 1.11 [fate#321223] + +------------------------------------------------------------------- +Wed Mar 15 11:53:21 UTC 2017 - jengelh@inai.de + +- Add 0001-tests-Fix-new-ID-type-handling-in-argument_from_va_l.patch + to resolve testsuite failure on s390x [boo#1029452] + +------------------------------------------------------------------- +Tue Feb 21 22:33:07 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 1.13.0 + * Add some API for controlling the visibility of globals. +- Drop wayland-wl_array_Set_data_to_invalid_address_after_free.patch + (no longer needed) + +------------------------------------------------------------------- +Sat Nov 5 21:51:01 UTC 2016 - zaitor@opensuse.org + +- Add + wayland-wl_array_Set_data_to_invalid_address_after_free.patch: + Crash fix patch from upstream git. + +------------------------------------------------------------------- +Wed Sep 21 05:11:07 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 1.12.0 +* The core protocol documentation has received numerous + refinements to improve its clarity and consistency. Along with + this, many blank areas of the protocol documentation have been + fleshed out. +* A new wl_display_add_protocol logger API provides a new + interactive way to debug requests; along with this are new APIs + for examining clients and their resources. This is analogous to + using WAYLAND_DEBUG=1, but more powerful since it allows run + time review of log data such as through a UI view. +* There have been improvements to how the protocol XML scanner + handles version identification in protocol headers. This + enables better detection and fallback handling when compositors + and clients support differing versions of their protocols. + +------------------------------------------------------------------- +Wed Jun 1 07:54:58 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 1.11.0 +* Final version bump. + +------------------------------------------------------------------- +Tue May 24 22:55:09 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 1.10.93 +* Proxy wrappers were introduced, which help avoid race + conditions in multi-threaded clients. A new "proxy wrapper" API + is added for the client to use when sending requests which does + not proxy events. This helps avoid one thread causing events to + be dropped before they can be handled by other threads. +* shm: When undergoing a resize operation while external users + are holding references to it, the resize is deferred to prevent + leading to a crash; Wayland now counts external and internal + users differently to permit tracking this. +* Support for cross-interface enum attributes is added. + +------------------------------------------------------------------- +Thu Feb 18 21:44:50 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 1.10.0 +* Drag and drop actions are now added to the Wayland API +* Frame events group pointer events together +* A buffer damage request, wl_surface.damage_buffer, allows + applications a more convenient way to communicate portions of a + surface needing to be re-rendered. +* Shared memory buffers now do reference counting to allow + compositors to delay releasing the memory pools. +* New APIs are provided for getting and setting the socket file + descriptor Wayland servers use to communicate with their clients. + +------------------------------------------------------------------- +Tue Sep 22 15:44:02 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.9.0 +* This release brings fixes and modest refactoring. +- License was changed from MIT X11 to MIT Expat upstream. + +------------------------------------------------------------------- +Wed Aug 26 09:32:30 UTC 2015 - zaitor@opensuse.org + +- Update to new upstream release 1.8.1 +* This is just a brown paper bag release. In rolling the wayland + 1.8.0 distribution tarball some files were set to read-only. This + rectifies that. There are no file content changes. + +------------------------------------------------------------------- +Wed Jun 3 15:38:20 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.8.0 +* Wayland 1.8 splits the client and server header files into core + and generated protocol. The core headers can be included as + wayland-client-core.h and wayland-server-core.h. The scanner + also now supports a --include-core-only option, which causes + generated code to use only these core headers. + +------------------------------------------------------------------- +Wed Mar 4 14:33:17 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.7.0 +* Documentation updates + +------------------------------------------------------------------- +Mon Feb 2 10:20:12 UTC 2015 - jengelh@inai.de + +- Update to new upstream prerelease 1.6.92 +* More documentation updates + +------------------------------------------------------------------- +Tue Jan 27 21:19:36 UTC 2015 - jengelh@inai.de + +- Update to new upstream prerelease 1.6.91 +* The codebase's doxygen documentation was revamped + +------------------------------------------------------------------- +Sun Jan 25 15:37:03 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 1.6.1 +* Maintenance release for Wayland 1.6, with a handful of fixes + pulled from the 1.7 tree that improve handling of several error + situations between server and clients. + +------------------------------------------------------------------- +Fri Sep 19 20:35:43 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.6 +* Add error enums to wl_surface. +* Add keyboard repeat information to wl_keyboard protocol. +* Error handling additions in libwayland-client: when a protocol + error happens, the program can query more detailed information + about the error. +* New wl_display_add_socket_auto() in libwayland-server: + automatically find a free socket name. +* Add wl_display_roundtrip_queue(): blocking round-trip on a + custom queue. +* Stop exposing wl_display global. Turns out binding to the + global would have triggered bugs, and there was no proper use + for it. + +------------------------------------------------------------------- +Fri Sep 12 11:00:08 UTC 2014 - jengelh@inai.de + +- Update to version 1.5.93 +* Bug fixes + +------------------------------------------------------------------- +Mon Sep 8 11:22:09 UTC 2014 - dimstar@opensuse.org + +- Update to version 1.5.92: +* wayland-client: Initialize newly created wl_proxys to zero. +* client: add display_wakeup_threads function. +* Doc and test updates / fixes. + +------------------------------------------------------------------- +Wed May 21 10:19:01 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.5.0 +* Use an internal event queue for wl_display events. This allows + the client library to dispatch delete_id and error events + immediately, even if the default queue is not dispatched. + +------------------------------------------------------------------- +Fri Jan 24 11:59:47 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.4.0 +* SHM Buffer SIBGUS protection +* Subsurfaces protocol moved to wayland +- Remove wayland-1.3.93-resourcestest.patch + +------------------------------------------------------------------- +Tue Jan 21 11:10:29 UTC 2014 - tchvatal@suse.com + +- Version bump to 1.3.93: + * Various bugfixes to another RC release +- Add patch wayland-1.3.93-resourcestest.patch fixing tests from + upstream git +- Cleanup the spec with spec-cleaner +- Always run tests do not conditionalize them. They wether fail or + not +- Add missing dep on xsltproc as per configure + +------------------------------------------------------------------- +Tue Dec 24 21:15:33 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.3.91 +* protocol: add sub-surfaces to the core + +------------------------------------------------------------------- +Thu Oct 17 22:10:02 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 1.3.0: +* More pixel formats for wl_shm, such as RGB565 +* Multi resource support. +* Support for language bindings +* Release requests for wl_pointer, wl_keyboard and wl_touch + +------------------------------------------------------------------- +Tue Oct 15 20:29:24 UTC 2013 - dmueller@suse.com + +- skip testsuite on QEMU Userspace build (fixes hang on ARMv6 build) + +------------------------------------------------------------------- +Thu Sep 19 21:58:52 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to new upstream release 1.2.1 +* Bug fixes and documentation tweaks +* Touch support for toytoolkit and other clients. + +------------------------------------------------------------------- +Mon Jul 15 08:38:47 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.2.0 +* This release provides a stable wayland-server API and improved + thread safety and relaxed thread-model assumptions in + libwayland-client. +* New features include color management, a subsurface protocol, + output scaling (HiDPI), Rasperry Pi backend and renderer, + and multi-seat support. + +------------------------------------------------------------------- +Wed Apr 17 05:41:15 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 1.1.0 +* Optimize damage handling when moving surfaces in and out of planes +* Touch screen calibration feature and client +* Proper support for popup surfaces +- Use a header location that does not change with every release + +------------------------------------------------------------------- +Sun Mar 24 15:46:12 UTC 2013 - hrvoje.senjan@gmail.com + +- Update to new upstream release 1.0.6 +* protocol: remove implicit attach semantics +* client: Invoke new_id closure arguments as pointers instead of integers +* client: Check reference count only for destroyed proxies +* client: add wl_proxy_get_class() +* scanner: Fix 'destroy)' typo in check for destroy request presence +* scanner: remove list_length in favor of wl_list_length +* connection.c: Align pointer extra storage correctly + +------------------------------------------------------------------- +Tue Dec 18 12:46:10 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.0.3 +* a couple of documentation fixes +* the test suite now cleans up its temporary files + +------------------------------------------------------------------- +Sat Dec 1 06:18:11 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.0.2 +* new wl_display_dispatch_queue_pending() entry point that allows + avoiding triple buffering in Mesa +* avoid premature exit and potential memory corruption in + wl_display_roundtrip() +- Put all include files in a separate directory so that we see + when downstream users forget to use pkgconfig + +------------------------------------------------------------------- +Mon Nov 26 20:45:44 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Add initial baselibs.conf + With this we can provide 32bit x86_64.rpm + +------------------------------------------------------------------- +Tue Nov 20 10:28:39 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.0.1 +* Supply a fix for out-of-order delete_id events, which allows + to fix a crash that happens during EGLSurface destruction. + +------------------------------------------------------------------- +Fri Nov 2 11:08:51 UTC 2012 - cfarrell@suse.com + +- license update: HPND + http://spdx.org/licenses/HPND#licenseText + +------------------------------------------------------------------- +Tue Oct 23 12:17:02 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 1.0 +* more consistent error checking + +------------------------------------------------------------------- +Fri Oct 19 21:33:55 UTC 2012 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 0.99.0 +* responsible error handling +* well-defined atomic update mechanism and event dispatching + (thread safe) +* Some API breakage + +------------------------------------------------------------------- +Sat Feb 11 15:55:16 UTC 2012 - jengelh@inai.de + +- Initial package for build.opensuse.org (0.85) diff --git a/wayland.keyring b/wayland.keyring new file mode 100644 index 0000000..5ff5ac2 --- /dev/null +++ b/wayland.keyring @@ -0,0 +1,79 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFb+7ZIBEADKchyt5QILvWeM/fi5Jf9SQ+2f4ltU7DVtC9Y2pWrG/Bua6Yoc +wWMEo/XeT7yu/4cMDTH2aRR+9mSir3sVTIjfX+Pnfxdds3/zKZgrMrK0jvBRoWxi +RTIkFw0L7FqEj0D1LkzXqysLQshRn11AbijoYPaqksr9g6Zk1RgA1p/51mEMLL9v +AOULKbRoxhTNcfQQwnzhNRygocOJ3QF4ZyVUBkxOfxun7aZQz0OfW8YskincoUGk +piaQH08VPU6aZQsA8g2xEZLOTAGE9O7ffkDlCH40jp7KmRwutnXiJpGNN4dzUtHg +R/7LGqQJgxpf0FboM/TATRCEPTfPOkzEGaw6j3q9FN2+OVz4yxFR1FlVr6Klcua1 +jxNWXQ2MmhrArUmNN8mcLKKSLc+deURgX8IsCEi66lmV74YBc2MXr2XfIgOyzimc +tY2C2VGJDo3albvlOHFJbCT5AVLPnX3wl+5Q2tV6Jd+1806iW1Cl/RQ1DYUzVAQ6 +atFCOl0auNQpCjvFay6k775IxjUPGjTJ+m24SiQbwwxl7JANrgiPSRdqdY7r2IaF +O1B0gZ+qW9+yb7LzfU1gvhibrIXSsipHDwZE31bv2v8xaLe3PgjBNv5cNb2bHE0s +V1LQKU0R4EaaACFXS1zEcZol+sivnanbLCTq5kr1VSR6FFAnDtpQh1v5uQARAQAB +tB5lbWVyc2lvbiA8Y29udGFjdEBlbWVyc2lvbi5mcj6JAlUEEwECAD8CGwMGCwkI +BwMCBhUIAgkKCwQWAgMBAh4BAheAFiEENP+VJs/vDpejQOLkD9574OiPXk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GJAjwEGAECACYCGwwWIQQ0/5Umz+8Ol6NA4uQP3nvg6I9e +SAUCXKuV8QUJB43b3wAKCRAP3nvg6I9eSJGeD/42XEQZnACwn/rxlNBe5d4C5RaT +4yv7L/PgJ4+zLjle0f/DeQ/lfa3yHpWFfxF+HfTvhUa4Tl4ZYFuTU+iyDXpfFlqf +XXvpaCDjJ3nf1azil2N+MNOUyxT4f1BNf5khhoLwxFSpuLVaLq0B9NtMPbHXRnEZ +k8yZVV/O/wzddHPb4jiIozC1Y1qA2g0R9hDVOAQBGkCYM44uBA9/GQP9KMfTLV0d +PlT4t9pZogCTza4PBLX3p3tlQ1z8dNIg+y4ADcjU8Kml9uzItmU3IPMs+MF1/m95 +o52hSH3NfxPieiqp6eQDrSnnPZGb6eGEI4AXolqFS0EWWbOyfML0ccxAm6DP7ZVp +NgVFpd9o7Xqy4WufViQUVqbLmXkh6IJQxbYrgpBQk/uR+IHFZzKBr38+e49+YKjS +2Ht0QouiKALWagwtxPZlINFZTT5Bd5GJyygccxpdLLNLWULJJFxdOT/U+Ln1vhTs +THkvWXFLgedWHXr8bej+4hZiPX40e3t3xT9LbyDNZ/ZdxwixKtRakZRRbFKNeg/k +vFYYjZKPiUpOo6Pyg4zswwYQS3rcVzlG5wx4ekE9xIZO0qfzcXz/3fcBxbHPrnNX +QCQpcnYYD4O8UvslD7QMftZOyc14XPtKfyoLUxsj+0+nUEHYm6KpE1dYmH4GonAV +QjuKfNn1nGx1/7h1cQ== +=5hxA +-----END PGP PUBLIC KEY BLOCK----- diff --git a/wayland.spec b/wayland.spec new file mode 100644 index 0000000..1b9cab0 --- /dev/null +++ b/wayland.spec @@ -0,0 +1,209 @@ +# +# spec file for package wayland +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _version 1.22.0 +%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550 +%define eglversion 99~%_version +%else +%define eglversion %_version +%endif +%define lname libwayland0 +%bcond_with doc +Name: wayland +Version: %_version +Release: 0 +Summary: Wayland Compositor Infrastructure +License: MIT +Group: Development/Libraries/C and C++ +URL: https://wayland.freedesktop.org/ +#Git-Clone: git://anongit.freedesktop.org/wayland/wayland +#Git-Web: http://cgit.freedesktop.org/wayland/wayland/ +Source: https://gitlab.freedesktop.org/wayland/wayland/-/releases/%version/downloads/wayland-%version.tar.xz +Source2: https://gitlab.freedesktop.org/wayland/wayland/-/releases/%version/downloads/wayland-%version.tar.xz.sig +Source3: %name.keyring +Source4: baselibs.conf +BuildRequires: c++_compiler +BuildRequires: c_compiler +BuildRequires: libxml2-tools +BuildRequires: libxslt-tools +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: xz +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(libxml-2.0) +%if %{with doc} +BuildRequires: doxygen +BuildRequires: graphviz-gnome +BuildRequires: xmlto +%endif + +%description +Wayland is a protocol for a compositor to talk to its clients as well +as a C library implementation of that protocol. The compositor can be +a standalone display server running on Linux kernel modesetting and +evdev input devices, an X application, or a wayland client itself. +The clients can be traditional applications, X servers (rootless or +fullscreen) or other display servers. + +%package -n libwayland-client0 +Summary: Wayland core client library +Group: System/Libraries + +%description -n libwayland-client0 +Wayland is a protocol for a compositor to talk to its clients as well +as a C library implementation of that protocol. The compositor can be +a standalone display server running on Linux kernel modesetting and +evdev input devices, an X application, or a wayland client itself. +The clients can be traditional applications, X servers (rootless or +fullscreen) or other display servers. + +%package -n libwayland-cursor0 +Summary: Wayland cursor library +Group: System/Libraries + +%description -n libwayland-cursor0 +The purpose of this library is to be the equivalent of libXcursor in +the X world. This library is compatible with X cursor themes and +loads them directly into an shm pool making it easy for the clients +to get buffer for each cursor image. + +%package -n libwayland-egl1 +Version: %eglversion +Summary: Additional egl functions for wayland +Group: System/Libraries + +%description -n libwayland-egl1 +This package provides additional functions for EGL-using programs +that run within the Wayland framework. This allows for applications +that need not run full-screen and cooperate with a compositor. + +%package -n libwayland-server0 +Summary: Wayland core server library +Group: System/Libraries + +%description -n libwayland-server0 +Wayland is a protocol for a compositor to talk to its clients as well +as a C library implementation of that protocol. The compositor can be +a standalone display server running on Linux kernel modesetting and +evdev input devices, an X application, or a wayland client itself. +The clients can be traditional applications, X servers (rootless or +fullscreen) or other display servers. + +%package devel +Summary: Development files for the Wayland Compositor Infrastructure +Group: Development/Libraries/C and C++ +Requires: libwayland-client0 = %_version +Requires: libwayland-cursor0 = %_version +Requires: libwayland-egl1 = %eglversion +Requires: libwayland-server0 = %_version +%if 0%{?suse_version} >= 1500 +# egl1 was once provided by Mesa 17.x. +%if (0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400) +Provides: libwayland-egl-devel = 18.1.5 +Obsoletes: libwayland-egl-devel < 18.1.5 +%else +Provides: libwayland-egl-devel = 18.0.2 +Obsoletes: libwayland-egl-devel < 18.0.2 +%endif +%endif + +%description devel +Wayland is a protocol for a compositor to talk to its clients as well +as a C library implementation of that protocol. The compositor can be +a standalone display server running on Linux kernel modesetting and +evdev input devices, an X application, or a wayland client itself. +The clients can be traditional applications, X servers (rootless or +fullscreen) or other display servers. + +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package doc +Summary: Wayland development documentation +Group: Documentation/HTML +BuildArch: noarch + +%description doc +This subpackage contains the documentation to Wayland. + +%prep +%autosetup -p1 +sed -i 's//%eglversion/' "%_sourcedir/baselibs.conf" + +%build +# includedir intentional, cf. bugzilla.opensuse.org/795968 +%meson \ + --includedir="%_includedir/%name" \ +%if %{with doc} + --docdir="%_defaultdocdir/%name" +%else + -D documentation=false +%endif +%meson_build + +%install +%meson_install + +%check +%meson_test + +%if 0%{?suse_version} >= 1550 +%ldconfig_scriptlets -n libwayland-client0 +%ldconfig_scriptlets -n libwayland-cursor0 +%ldconfig_scriptlets -n libwayland-egl1 +%ldconfig_scriptlets -n libwayland-server0 +%else +%post -n libwayland-client0 -p /sbin/ldconfig +%postun -n libwayland-client0 -p /sbin/ldconfig +%post -n libwayland-cursor0 -p /sbin/ldconfig +%postun -n libwayland-cursor0 -p /sbin/ldconfig +%post -n libwayland-egl1 -p /sbin/ldconfig +%postun -n libwayland-egl1 -p /sbin/ldconfig +%post -n libwayland-server0 -p /sbin/ldconfig +%postun -n libwayland-server0 -p /sbin/ldconfig +%endif + +%files -n libwayland-client0 +%_libdir/libwayland-client.so.0* +%license COPYING + +%files -n libwayland-cursor0 +%_libdir/libwayland-cursor.so.0* + +%files -n libwayland-egl1 +%_libdir/libwayland-egl.so.1* + +%files -n libwayland-server0 +%_libdir/libwayland-server.so.0* + +%files devel +%_bindir/wayland-scanner +%_includedir/%name/ +%_libdir/libwayland-*.so +%_libdir/pkgconfig/wayland-*.pc +%_datadir/aclocal/ +%_datadir/wayland/ + +%if %{with doc} +%files doc +%_mandir/man3/wl*.3* +%_docdir/%name/ +%endif + +%changelog