Compare commits
No commits in common. "rawhide" and "f32" have entirely different histories.
6 changed files with 148 additions and 128 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1 +1,7 @@
|
|||
/waffle-*.tar.xz
|
||||
/waffle-1.2.3.tar.xz
|
||||
/waffle-1.3.0.tar.xz
|
||||
/waffle-1.4.0.tar.xz
|
||||
/waffle-1.4.2.tar.xz
|
||||
/waffle-1.5.0.tar.xz
|
||||
/waffle-1.5.2.tar.xz
|
||||
/waffle-1.6.1.tar.xz
|
||||
|
|
|
|||
19
.packit.yaml
19
.packit.yaml
|
|
@ -1,19 +0,0 @@
|
|||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
specfile_path: waffle.spec
|
||||
|
||||
copy_upstream_release_description: false
|
||||
|
||||
jobs:
|
||||
- job: pull_from_upstream
|
||||
trigger: release
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_committers: ['packit','all_admins']
|
||||
dist_git_branches:
|
||||
- fedora-rawhide
|
||||
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
From 2c33597245bb74f19104f0a858cd40e80b26991d Mon Sep 17 00:00:00 2001
|
||||
From: Philipp Zabel <p.zabel@pengutronix.de>
|
||||
Date: Fri, 17 Dec 2021 13:46:40 +0100
|
||||
Subject: [PATCH] wayland: fix build against version 1.20
|
||||
|
||||
Wayland 1.20 introduces two new symbols wl_proxy_marshal_flags and
|
||||
wl_proxy_marshal_array_flags, which need to be wrapped as well.
|
||||
|
||||
Closes: https://gitlab.freedesktop.org/mesa/waffle/-/issues/76
|
||||
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
||||
---
|
||||
src/waffle/wayland/wayland_sym.h | 18 ++++++++++++++++++
|
||||
src/waffle/wayland/wayland_wrapper.h | 2 ++
|
||||
2 files changed, 20 insertions(+)
|
||||
|
||||
diff --git a/src/waffle/wayland/wayland_sym.h b/src/waffle/wayland/wayland_sym.h
|
||||
index 3d48625..4c6ac8d 100644
|
||||
--- a/src/waffle/wayland/wayland_sym.h
|
||||
+++ b/src/waffle/wayland/wayland_sym.h
|
||||
@@ -26,3 +26,21 @@ WAFFLE_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor,
|
||||
WAFFLE_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor_versioned,
|
||||
(struct wl_proxy *proxy, uint32_t opcode,
|
||||
const struct wl_interface *interface, uint32_t version, ...))
|
||||
+
|
||||
+WAFFLE_WAYLAND_SYM(struct wl_proxy *,
|
||||
+ wl_proxy_marshal_flags,
|
||||
+ (struct wl_proxy * p,
|
||||
+ uint32_t opcode,
|
||||
+ const struct wl_interface *interface,
|
||||
+ uint32_t version,
|
||||
+ uint32_t flags,
|
||||
+ ...))
|
||||
+
|
||||
+WAFFLE_WAYLAND_SYM(struct wl_proxy *,
|
||||
+ wl_proxy_marshal_array_flags,
|
||||
+ (struct wl_proxy * p,
|
||||
+ uint32_t opcode,
|
||||
+ const struct wl_interface *interface,
|
||||
+ uint32_t version,
|
||||
+ uint32_t flags,
|
||||
+ union wl_argument *args))
|
||||
diff --git a/src/waffle/wayland/wayland_wrapper.h b/src/waffle/wayland/wayland_wrapper.h
|
||||
index 4af2f64..6addf4f 100644
|
||||
--- a/src/waffle/wayland/wayland_wrapper.h
|
||||
+++ b/src/waffle/wayland/wayland_wrapper.h
|
||||
@@ -65,5 +65,7 @@ struct wl_display;
|
||||
#define wl_proxy_marshal (*wfl_wl_proxy_marshal)
|
||||
#define wl_proxy_marshal_constructor (*wfl_wl_proxy_marshal_constructor)
|
||||
#define wl_proxy_marshal_constructor_versioned (*wfl_wl_proxy_marshal_constructor_versioned)
|
||||
+#define wl_proxy_marshal_flags (*wfl_wl_proxy_marshal_flags)
|
||||
+#define wl_proxy_marshal_array_flags (*wfl_wl_proxy_marshal_array_flags)
|
||||
|
||||
#include <wayland-client-protocol.h>
|
||||
--
|
||||
2.39.1
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff -up waffle-v1.7.0-905c6c10f2483adf0cbfa024e2d3c2ed541fb300/CMakeLists.txt.dma waffle-v1.7.0-905c6c10f2483adf0cbfa024e2d3c2ed541fb300/CMakeLists.txt
|
||||
--- waffle-v1.7.0-905c6c10f2483adf0cbfa024e2d3c2ed541fb300/CMakeLists.txt.dma 2023-02-02 11:51:13.882733065 +1000
|
||||
+++ waffle-v1.7.0-905c6c10f2483adf0cbfa024e2d3c2ed541fb300/CMakeLists.txt 2023-02-02 11:51:17.724792923 +1000
|
||||
@@ -195,7 +195,7 @@ endif()
|
||||
|
||||
install(
|
||||
FILES "shell-completion/bash/wflinfo"
|
||||
- DESTINATION "${CMAKE_INSTALL_PREFIX}/${BASH_COMPLETION_COMPLETIONSDIR}"
|
||||
+ DESTINATION "${BASH_COMPLETION_COMPLETIONSDIR}"
|
||||
COMPONENT shell-completion
|
||||
)
|
||||
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (waffle-1.8.3.tar.xz) = 6c320e3bab223075da8c4b1a32a24ad857143481f58ab1a39c4e6ace869c5e802cd768cd6186b28abe47c273994188be2b943e5c9fa156941dc5695316859d05
|
||||
SHA512 (waffle-1.6.1.tar.xz) = 1d5839d517d1067efea163ffd76c05f32f30c3ef0f42dfa1b3a9830d4377829cce368d28889ec5a3be639a5e81db2fb4833d98eafc5ffa5e27578ff11977258f
|
||||
|
|
|
|||
177
waffle.spec
177
waffle.spec
|
|
@ -1,27 +1,31 @@
|
|||
%if 0%{?fedora} >= 20 && 0%{?rhel} > 7
|
||||
%bcond_with wayland
|
||||
%else
|
||||
%bcond_without wayland
|
||||
%endif
|
||||
|
||||
Name: waffle
|
||||
Version: 1.8.3
|
||||
Release: %autorelease
|
||||
Version: 1.6.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Platform independent GL API layer
|
||||
|
||||
License: MIT
|
||||
URL: http://www.waffle-gl.org/releases.html
|
||||
Source0: https://gitlab.freedesktop.org/mesa/waffle/-/archive/v%{version}/waffle-%{version}.tar.xz
|
||||
Source0: https://gitlab.freedesktop.org/mesa/waffle/-/raw/website/files/release/waffle-%{version}/waffle-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: mesa-libEGL-devel
|
||||
BuildRequires: mesa-libGL-devel
|
||||
BuildRequires: mesa-libGLES-devel
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
BuildRequires: meson
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: wayland-protocols-devel
|
||||
BuildRequires: cmake libxslt docbook-style-xsl libxcb-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libX11-devel mesa-libGL-devel mesa-libGLU-devel
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: mesa-libEGL-devel
|
||||
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
||||
BuildRequires: mesa-libGLES-devel
|
||||
BuildRequires: systemd-devel
|
||||
%endif
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
%if %{with wayland}
|
||||
BuildRequires: wayland-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Waffle is a cross-platform C library that allows one to defer
|
||||
|
|
@ -42,7 +46,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||
|
||||
%description doc
|
||||
Contains HTML version of the developer documentation for development of
|
||||
%{name}-related software (man pages are in the -devel package).
|
||||
%{name}-related software (manpages are in the -devel package).
|
||||
|
||||
|
||||
%package examples
|
||||
|
|
@ -54,46 +58,50 @@ Example programs using %{name}.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
ln -sf waffle-1.5.0.txt doc/release-notes/waffle-1.5.0-rc2.txt
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%meson -Dbuild-manpages=true
|
||||
%meson_build
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name}-%{version} \
|
||||
-DCMAKE_BUILD_STRIP=FALSE \
|
||||
-Dwaffle_has_glx=1 -Dwaffle_has_gbm=1 \
|
||||
%if %{with wayland}
|
||||
-Dwaffle_has_wayland=1 \
|
||||
%endif
|
||||
-Dwaffle_build_manpages=1 -Dwaffle_build_htmldocs=1 .
|
||||
|
||||
make VERBOSE=1 %{?_smp_mflags}
|
||||
|
||||
# We don’t want to install binary files in %%docdir
|
||||
rm -rf examples/CMakeFiles
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
# Fedora now uses unversioned doc dirs, make install shouldn't try to
|
||||
make install DESTDIR=%{buildroot}
|
||||
# Fedora now uses unversioned doc dirs, make install shouldn’t try to
|
||||
# install there anyway.
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}*
|
||||
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}*.so.*
|
||||
%{_bindir}/wflinfo
|
||||
%{_libdir}/lib%{name}-1.so.0*
|
||||
%{_datadir}/bash-completion/completions/wflinfo
|
||||
%{_datadir}/zsh/site-functions/_wflinfo
|
||||
%{_mandir}/man1/wflinfo.1*
|
||||
|
||||
%files doc
|
||||
%doc doc/html/
|
||||
|
||||
%files devel
|
||||
%doc doc/release-notes/
|
||||
%{_includedir}/waffle-1/
|
||||
%{_libdir}/lib%{name}-1.so
|
||||
%{_libdir}/pkgconfig/%{name}-1.pc
|
||||
%{_libdir}/cmake/Waffle/
|
||||
%{_mandir}/man3/waffle*.3*
|
||||
%{_mandir}/man7/waffle*.7*
|
||||
%{_includedir}/waffle*
|
||||
%{_libdir}/lib%{name}*.so
|
||||
%{_libdir}/pkgconfig/%{name}*
|
||||
%{_libdir}/cmake/Waffle/*
|
||||
%{_mandir}/man*/*
|
||||
|
||||
|
||||
%files examples
|
||||
|
|
@ -101,4 +109,97 @@ rm -rf %{buildroot}%{_docdir}/%{name}*
|
|||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Wed Apr 01 2020 Kalev Lember <klember@redhat.com> - 1.6.1-1
|
||||
- Update to 1.6.1
|
||||
- Use license macro for LICENSE.txt
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Feb 20 2018 Matěj Cepl <mcepl@redhat.com> - 1.5.2-8
|
||||
- Add BuildRequires gcc per new PG.
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Feb 29 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.2-3
|
||||
- Fix Wayland conditionals so it's enabled in Fedora
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Sep 09 2015 Dave Airlie <airlied@redhat.com> 1.5.2-1
|
||||
- 1.5.2 release
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Jan 5 2015 Matěj Cepl <mcepl@redhat.com> - 1.5.0-3
|
||||
- Make package building on RHEL-6.
|
||||
|
||||
* Mon Jan 05 2015 Matej Cepl <mcepl@redhat.com> - 1.5.0-2
|
||||
- Package examples again.
|
||||
|
||||
* Tue Dec 16 2014 Dave Airlie <airlied@redhat.com> 1.5.0-1
|
||||
- 1.5.0 release
|
||||
|
||||
* Thu Dec 04 2014 Matej Cepl <mcepl@redhat.com> - 1.4.2-2
|
||||
- Merge with master.
|
||||
- Patch out commit 92116dae to make building possible on cmake < 2.8.12.
|
||||
|
||||
* Thu Dec 04 2014 Matej Cepl <mcepl@redhat.com> - 1.4.2-1
|
||||
- Upstream release (#1161826)
|
||||
|
||||
* Tue Sep 23 2014 Matěj Cepl <mcepl@redhat.com> - 1.4.0-1
|
||||
- Upgreade to the latest upstream release (RHBZ# 1145481)
|
||||
|
||||
* Tue Sep 23 2014 Matej Cepl <mcepl@redhat.com> - 1.3.0-5
|
||||
- Apply patch to make GBM work on f21 as well.
|
||||
|
||||
* Tue Sep 23 2014 Matěj Cepl <mcepl@redhat.com> - 1.3.0-4
|
||||
- Enable GBM and Wayland options as well.
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue Oct 01 2013 Matěj Cepl <mcepl@redhat.com> - 1.3.0-1
|
||||
- Upstream release.
|
||||
|
||||
* Fri Sep 27 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-4
|
||||
- And even more fixes (switch on man and HTML doc generation).
|
||||
|
||||
* Thu Sep 26 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-3
|
||||
- Fix even more errors indicated by the package review.
|
||||
|
||||
* Mon Aug 26 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-2
|
||||
- Fix errors indicated by the package review.
|
||||
|
||||
* Sat Aug 24 2013 Matěj Cepl <mcepl@redhat.com> - 1.2.3-1
|
||||
- New upstream release.
|
||||
|
||||
* Thu Nov 15 2012 Matěj Cepl <mcepl@redhat.com> - 1.2.0-1
|
||||
- Upstream upgrade.
|
||||
|
||||
* Fri Oct 19 2012 Matěj Cepl <mcepl@redhat.com> - 1.1.1-1
|
||||
- First experimental build.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue