Fix permissions on cairo-trace

This commit is contained in:
David King 2022-02-25 00:09:09 +00:00
parent cf8a21ba47
commit ea7ecbc05d
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From ca478e03270868d9380f7372df25a0f3357430a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
Date: Tue, 9 Mar 2021 10:59:57 +0000
Subject: [PATCH] meson: make cairo-trace executable
Install with exec flag set and make sure tool is
executable in build directory as well (by making
the input file in the source directory executable).
Fixes #462
---
util/cairo-trace/cairo-trace.in | 0
util/cairo-trace/meson.build | 1 +
2 files changed, 1 insertion(+)
mode change 100644 => 100755 util/cairo-trace/cairo-trace.in
diff --git a/util/cairo-trace/cairo-trace.in b/util/cairo-trace/cairo-trace.in
old mode 100644
new mode 100755
diff --git a/util/cairo-trace/meson.build b/util/cairo-trace/meson.build
index e836f98cf..7048786eb 100644
--- a/util/cairo-trace/meson.build
+++ b/util/cairo-trace/meson.build
@@ -31,4 +31,5 @@ configure_file(input: 'cairo-trace.in',
configuration: trace_conf,
install: true,
install_dir: join_paths(get_option('prefix'), get_option('bindir')),
+ install_mode: 'rwxr-xr-x',
)
--
2.35.1

View File

@ -4,7 +4,7 @@
Name: cairo Name: cairo
Version: 1.17.4 Version: 1.17.4
Release: 6%{?dist} Release: 7%{?dist}
Summary: A 2D graphics library Summary: A 2D graphics library
License: LGPLv2 or MPLv1.1 License: LGPLv2 or MPLv1.1
@ -24,6 +24,8 @@ Patch4: cairo-1.17.4-meson-xcb.patch
# https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/275 # https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/275
Patch5: cairo-1.17.4-meson-xml.patch Patch5: cairo-1.17.4-meson-xml.patch
Patch6: cairo-1.17.4-meson-trace.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gtk-doc BuildRequires: gtk-doc
@ -165,6 +167,9 @@ This package contains tools for working with the cairo graphics library.
%{_libdir}/cairo/ %{_libdir}/cairo/
%changelog %changelog
* Fri Feb 25 2022 David King <amigadave@amigadave.com> - 1.17.4-7
- Fix permissions on cairo-trace
* Tue Feb 15 2022 David King <amigadave@amigadave.com> - 1.17.4-6 * Tue Feb 15 2022 David King <amigadave@amigadave.com> - 1.17.4-6
- Switch to meson - Switch to meson
- Use pkgconfig for BuildRequires - Use pkgconfig for BuildRequires