all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 6150def97bf1b70571b58bff5ef1baae0dbc2af5 1689 bytes (raw)
name: gnu/packages/patches/gcolor3-update-libportal-usage.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
 
Fix gcolor3 to work with libportal-0.5

This patch is extracted from upstream, see here
https://gitlab.gnome.org/World/gcolor3/-/commit/1750369a3fd922aa9db6916207dc460c6f885e14

From 1750369a3fd922aa9db6916207dc460c6f885e14 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 27 Dec 2021 13:47:14 +0100
Subject: [PATCH] Update to libportal 0.5

---
 meson.build | 2 ++
 src/gcolor3-color-selection.c | 2 +-
 src/meson.build | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6453679..7d6dc50 100644
--- a/meson.build
+++ b/meson.build
@@ -7,9 +7,11 @@ dep_gtk = dependency('gtk+-3.0', version: '>= 3.20.0', required: true)
 dep_libportal = dependency(
 'libportal',
 required: true,
+ version: '>= 0.5',
 fallback: ['libportal', 'libportal_dep'],
 default_options: ['gtk_doc=false'],
 )
+dep_libportal_gtk3 = dependency('libportal-gtk3', version: '>= 0.5', required: true)
 cc = meson.get_compiler('c')
 dep_lm = cc.find_library('m', required: true)

diff --git a/src/gcolor3-color-selection.c b/src/gcolor3-color-selection.c
index 7413850..5df9d54 100644
--- a/src/gcolor3-color-selection.c
+++ b/src/gcolor3-color-selection.c
@@ -41,7 +41,7 @@
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <libportal/portal.h>
-#include <libportal/portal-gtk3.h>
+#include <libportal-gtk3/portal-gtk3.h>

 #ifdef ENABLE_NLS
 #define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
diff --git a/src/meson.build b/src/meson.build
index 3998f68..d488e51 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -42,6 +42,7 @@ executable(
 dependencies: [
 dep_gtk,
 dep_libportal,
+ dep_libportal_gtk3,
 dep_lm

debug log:

solving 0d19b124fd ...
found 0d19b124fd in https://yhetil.org/guix/ETBPhbzkNoNifWdaGcDmwcyQ6PytX2l9VGqLtYRvDYX1Oq5azLfGnRgw1ay5oFzoKYTdUdY5iZzZpEBfRV7YDCtIid5jXf4gguMIIXOXfcc=@proton.me/ ||
	https://yhetil.org/guix/3x0UR1PjJhbOj9nmgJBzCZ3h6GpydLeDXehH_EPG3Hbw-icJk3bFHpgv9spXH1Q4DNlH2ngTU0_EJaCb9wmBsZnMPUJDdM6_2f9mKiCrrQ0=@proton.me/

applying [1/1] https://yhetil.org/guix/ETBPhbzkNoNifWdaGcDmwcyQ6PytX2l9VGqLtYRvDYX1Oq5azLfGnRgw1ay5oFzoKYTdUdY5iZzZpEBfRV7YDCtIid5jXf4gguMIIXOXfcc=@proton.me/
diff --git a/gnu/packages/patches/gcolor3-update-libportal-usage.patch b/gnu/packages/patches/gcolor3-update-libportal-usage.patch
new file mode 100644
index 0000000000..0d19b124fd

Checking patch gnu/packages/patches/gcolor3-update-libportal-usage.patch...
Applied patch gnu/packages/patches/gcolor3-update-libportal-usage.patch cleanly.

skipping https://yhetil.org/guix/3x0UR1PjJhbOj9nmgJBzCZ3h6GpydLeDXehH_EPG3Hbw-icJk3bFHpgv9spXH1Q4DNlH2ngTU0_EJaCb9wmBsZnMPUJDdM6_2f9mKiCrrQ0=@proton.me/ for 0d19b124fd
index at:
100644 6150def97bf1b70571b58bff5ef1baae0dbc2af5	gnu/packages/patches/gcolor3-update-libportal-usage.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.