[packages/grim] up to 1.4.1

atler atler at pld-linux.org
Mon Jul 3 18:54:21 CEST 2023


commit 32c0489b2f8b698a24b634de515b505bc940573c
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 3 18:26:59 2023 +0200

    up to 1.4.1
    
    - project moved to sr.ht

 grim.spec           | 12 +++++-------
 printf_format.patch | 22 ----------------------
 2 files changed, 5 insertions(+), 29 deletions(-)
---
diff --git a/grim.spec b/grim.spec
index f346513..05bcbe4 100644
--- a/grim.spec
+++ b/grim.spec
@@ -1,12 +1,11 @@
 Summary:	Grab images from a Wayland compositor
 Name:		grim
-Version:	1.4.0
-Release:	3
+Version:	1.4.1
+Release:	1
 License:	MIT
 Group:		Applications
-Source0:	https://github.com/emersion/grim/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	003f029dd7b6ce5c994ed19ce46b82a3
-Patch0:		printf_format.patch
+Source0:	https://git.sr.ht/~emersion/grim/archive/v%{version}.tar.gz
+# Source0-md5:	41f163e0d386cf57581af28f02e3deaa
 URL:		https://wayland.emersion.fr/grim
 BuildRequires:	bash-completion-devel
 BuildRequires:	fish-devel
@@ -48,8 +47,7 @@ BuildArch:	noarch
 Fish completion for grim command.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-v%{version}
 
 %build
 %meson build \
diff --git a/printf_format.patch b/printf_format.patch
deleted file mode 100644
index fe4aab0..0000000
--- a/printf_format.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 89e02e663fabc534b7e7039514f60a8c5d70070d Mon Sep 17 00:00:00 2001
-From: Simon Ser <contact at emersion.fr>
-Date: Wed, 9 Feb 2022 01:24:11 +0100
-Subject: [PATCH] write_jpg: fix printf format specifier
-
----
- write_jpg.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/write_jpg.c b/write_jpg.c
-index 4476f5f..0cb57d3 100644
---- a/write_jpg.c
-+++ b/write_jpg.c
-@@ -54,7 +54,7 @@ int write_to_jpeg_stream(pixman_image_t *image, FILE *stream, int quality) {
- 	size_t written = fwrite(data, 1, len, stream);
- 	if (written < len) {
- 		free(data);
--		fprintf(stderr, "Failed to write jpg; only %zu of %zu bytes written\n",
-+		fprintf(stderr, "Failed to write jpg; only %zu of %lu bytes written\n",
- 			written, len);
- 		return -1;
- 	}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grim.git/commitdiff/32c0489b2f8b698a24b634de515b505bc940573c



More information about the pld-cvs-commit mailing list