Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-engines-murrine/files/, x11-themes/gtk-engines-murrine/
Date: Sun, 28 Nov 2021 00:42:32
Message-Id: 1638060139.c2930bb91abdab5a74f5f188321fc00d9feff321.marecki@gentoo
1 commit: c2930bb91abdab5a74f5f188321fc00d9feff321
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 28 00:16:59 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 28 00:42:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2930bb9
7
8 x11-themes/gtk-engines-murrine: fix implicit-function QA warnings
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 .../files/0.98.2-implicit-functions.patch | 29 ++++++++++++++++++++++
13 ...ebuild => gtk-engines-murrine-0.98.2-r3.ebuild} | 4 +++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/x11-themes/gtk-engines-murrine/files/0.98.2-implicit-functions.patch b/x11-themes/gtk-engines-murrine/files/0.98.2-implicit-functions.patch
17 new file mode 100644
18 index 000000000000..cb0db5b67c1d
19 --- /dev/null
20 +++ b/x11-themes/gtk-engines-murrine/files/0.98.2-implicit-functions.patch
21 @@ -0,0 +1,29 @@
22 +--- a/src/murrine_rc_style.h
23 ++++ b/src/murrine_rc_style.h
24 +@@ -154,5 +154,6 @@
25 + };
26 +
27 + GType murrine_rc_style_get_type (void);
28 ++void murrine_rc_style_register_types (GTypeModule *);
29 +
30 + #endif /* MURRINE_RC_STYLE_H */
31 +--- a/src/murrine_style.h
32 ++++ b/src/murrine_style.h
33 +@@ -102,5 +102,6 @@
34 + };
35 +
36 + GType murrine_style_get_type (void);
37 ++void murrine_style_register_types (GTypeModule *);
38 +
39 + #endif /* MURRINE_STYLE_H */
40 +--- a/src/support.h 2012-01-17 18:46:01.000000000 +0100
41 ++++ b/src/support.h 2021-11-28 01:08:50.868702336 +0100
42 +@@ -148,5 +148,8 @@
43 + G_GNUC_INTERNAL void murrine_get_notebook_tab_position (GtkWidget *widget,
44 + gboolean *start,
45 + gboolean *end);
46 ++G_GNUC_INTERNAL gboolean murrine_object_is_a (const GObject *object,
47 ++ const gchar *type_name);
48 ++G_GNUC_INTERNAL gboolean murrine_widget_is_ltr (GtkWidget *widget);
49 +
50 + #endif /* SUPPORT_H */
51
52 diff --git a/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild b/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r3.ebuild
53 similarity index 95%
54 rename from x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild
55 rename to x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r3.ebuild
56 index dd124f302e19..1c5274f04bf3 100644
57 --- a/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r2.ebuild
58 +++ b/x11-themes/gtk-engines-murrine/gtk-engines-murrine-0.98.2-r3.ebuild
59 @@ -27,6 +27,10 @@ BDEPEND=">=dev-util/intltool-0.37.1
60 sys-devel/gettext
61 virtual/pkgconfig"
62
63 +PATCHES=(
64 + "${FILESDIR}"/0.98.2-implicit-functions.patch
65 +)
66 +
67 DOCS=( AUTHORS ChangeLog NEWS TODO )
68
69 src_prepare() {