Accepting request 540466 from X11:Wayland

- Update to version 1.11:
  * This version includes a new unstable version of the xdg-foreign
    protocol. The new version fixes C++ incompatibility issues
    while making the interface request naming a bit more
    descriptive.
  * Use sysroot prefix for pkgdatadir variable.
- Drop wayland-protocols-sysroot-prefix-fix.patch: Fixed upstream.
- Cleanup with spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/540466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wayland-protocols?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2017-11-14 13:18:10 +00:00 committed by Git OBS Bridge
commit 0db75e437b
7 changed files with 18 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5719c51d7354864983171c5083e93a72ac99229e2b460c4bb10513de08839c0a
size 117652

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3afcee1d51c5b1d70b59da790c9830b354236324b19b2b7af9683bd3b7be6804
size 117852

Binary file not shown.

View File

@ -1,25 +0,0 @@
From 875130ee3cbcf62266901ef4b91b9a0fb6adad43 Mon Sep 17 00:00:00 2001
From: Tomek Bury <tomek.bury@broadcom.com>
Date: Fri, 4 Aug 2017 16:16:38 +0100
Subject: Use sysroot prefix for pkgdatadir variable
The pc_sysroot is automatically added to cflags and libs but not
to 'pkg-config --variable'
Reviewed-by: Daniel Stone <daniels@collabora.com>
diff --git a/wayland-protocols.pc.in b/wayland-protocols.pc.in
index a26744c..379be06 100644
--- a/wayland-protocols.pc.in
+++ b/wayland-protocols.pc.in
@@ -1,6 +1,6 @@
prefix=@prefix@
datarootdir=@datarootdir@
-pkgdatadir=@datadir@/@PACKAGE@
+pkgdatadir=${pc_sysrootdir}@datadir@/@PACKAGE@
Name: Wayland Protocols
Description: Wayland protocol files
--
cgit v0.10.2

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Nov 9 19:30:23 UTC 2017 - aavindraa@gmail.com
- Update to version 1.11:
* This version includes a new unstable version of the xdg-foreign
protocol. The new version fixes C++ incompatibility issues
while making the interface request naming a bit more
descriptive.
* Use sysroot prefix for pkgdatadir variable.
- Drop wayland-protocols-sysroot-prefix-fix.patch: Fixed upstream.
- Cleanup with spec-cleaner.
-------------------------------------------------------------------
Sat Sep 9 18:34:47 UTC 2017 - zaitor@opensuse.org

View File

@ -18,7 +18,7 @@
Name: wayland-protocols
Version: 1.10
Version: 1.11
Release: 0
Summary: Wayland protocols that adds functionality not available in the core protocol
License: MIT
@ -26,13 +26,10 @@ Group: Development/Libraries/C and C++
Url: http://wayland.freedesktop.org/
Source: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source2: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz.sig
Source3: %name.keyring
# PATCH-FIX-UPSTREAM wayland-protocols-sysroot-prefix-fix.patch zaitor@opensuse.org -- Use sysroot prefix for pkgdatadir variable
Patch0: wayland-protocols-sysroot-prefix-fix.patch
BuildRequires: pkg-config
Source3: %{name}.keyring
BuildRequires: pkgconfig
BuildRequires: pkgconfig(wayland-scanner)
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains Wayland protocols that adds functionality not
@ -54,7 +51,6 @@ wayland-protocols.
%prep
%setup -q
%patch0 -p1
%build
%configure
@ -64,7 +60,6 @@ make %{?_smp_mflags}
%make_install
%files devel
%defattr(-,root,root)
%doc README COPYING
%{_datadir}/pkgconfig/%{name}.pc
%{_datadir}/%{name}/