Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/atk/, dev-libs/atk/files/
Date: Mon, 18 Feb 2019 19:00:36
Message-Id: 1550516254.697d1b58cdea610ab8cfc6c88cff37462946c5f2.leio@gentoo
1 commit: 697d1b58cdea610ab8cfc6c88cff37462946c5f2
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 7 07:19:14 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 18 18:57:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697d1b58
7
8 dev-libs/atk: Version bump to 2.30.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/atk/Manifest | 1 +
14 dev-libs/atk/atk-2.30.0.ebuild | 48 +++++++++++++++++
15 ...k-2.30.0-use-basename-instead-of-filename.patch | 63 ++++++++++++++++++++++
16 3 files changed, 112 insertions(+)
17
18 diff --git a/dev-libs/atk/Manifest b/dev-libs/atk/Manifest
19 index 721e42b4f2a..eeb577790df 100644
20 --- a/dev-libs/atk/Manifest
21 +++ b/dev-libs/atk/Manifest
22 @@ -1 +1,2 @@
23 DIST atk-2.28.1.tar.xz 712508 BLAKE2B 71aee8bc937e1e37d40e6a9820d0002bcc763dbf87385ede2484ec6fe17a9924d5753d74dc3a769602746c915d0c46da8eea78cc80c706e3c38faca2e5050364 SHA512 aa61e7718b3f4d9c33ec2b4747e35f894a51550ef39ecc4a7af5705811c029645bd3c728071f446b075a0b7aef0c35c1b73406a210cd30171838f24a8dfc0abb
24 +DIST atk-2.30.0.tar.xz 290264 BLAKE2B dec44abf3bd4937f417cd0b75bee32fdd073ccca1e44d883293d060afbbc30909aac483007e293231fafe0c5481df94d1113d287a0002a823f4e9c8e7bd647c2 SHA512 03f311378fdb91442f27ed542fa36edd2c9c036837c9f25ff37468bf7f743277d0b9253621563d15894e0da9d37e8df0a0e2c0e47e6aae33a38b13744c3b8b8e
25
26 diff --git a/dev-libs/atk/atk-2.30.0.ebuild b/dev-libs/atk/atk-2.30.0.ebuild
27 new file mode 100644
28 index 00000000000..496cdb291e5
29 --- /dev/null
30 +++ b/dev-libs/atk/atk-2.30.0.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit gnome.org meson multilib-minimal
37 +
38 +DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
39 +HOMEPAGE="https://wiki.gnome.org/Accessibility"
40 +
41 +LICENSE="LGPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
44 +IUSE="gtk-doc +introspection test"
45 +
46 +RDEPEND="
47 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
48 + introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-util/glib-utils
52 + gtk-doc? ( >=dev-util/gtk-doc-1.25 )
53 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
54 + >=sys-devel/gettext-0.19.8
55 +"
56 +
57 +PATCHES=(
58 + "${FILESDIR}"/${P}-use-basename-instead-of-filename.patch
59 +)
60 +
61 +multilib_src_configure() {
62 + local emesonargs=(
63 + -Ddocs=$(multilib_native_usex gtk-doc true false)
64 + -Dintrospection=$(multilib_native_usex introspection true false)
65 + )
66 + meson_src_configure
67 +}
68 +
69 +multilib_src_compile() {
70 + meson_src_compile
71 +}
72 +
73 +multilib_src_test() {
74 + meson_src_test
75 +}
76 +
77 +multilib_src_install() {
78 + meson_src_install
79 +}
80
81 diff --git a/dev-libs/atk/files/atk-2.30.0-use-basename-instead-of-filename.patch b/dev-libs/atk/files/atk-2.30.0-use-basename-instead-of-filename.patch
82 new file mode 100644
83 index 00000000000..763a1505670
84 --- /dev/null
85 +++ b/dev-libs/atk/files/atk-2.30.0-use-basename-instead-of-filename.patch
86 @@ -0,0 +1,63 @@
87 +From 14115cc94086fb2a0a5cd32e67c70f623847df64 Mon Sep 17 00:00:00 2001
88 +From: Samuel Thibault <samuel.thibault@××××××××.org>
89 +Date: Thu, 30 Aug 2018 11:39:25 +0200
90 +Subject: [PATCH] build: use @basename instead of @filename
91 +
92 +Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=789619
93 +---
94 + atk/atk-enum-types.c.template | 2 +-
95 + atk/atk-enum-types.h.template | 2 +-
96 + atk/makefile.msc | 4 ++--
97 + 3 files changed, 4 insertions(+), 4 deletions(-)
98 +
99 +diff --git a/atk/atk-enum-types.c.template b/atk/atk-enum-types.c.template
100 +index df2f546..b3c0b13 100644
101 +--- a/atk/atk-enum-types.c.template
102 ++++ b/atk/atk-enum-types.c.template
103 +@@ -7,7 +7,7 @@
104 +
105 + /*** BEGIN file-production ***/
106 +
107 +-/* enumerations from "@filename@" */
108 ++/* enumerations from "@basename@" */
109 + /*** END file-production ***/
110 +
111 + /*** BEGIN value-header ***/
112 +diff --git a/atk/atk-enum-types.h.template b/atk/atk-enum-types.h.template
113 +index 7b4cec4..8321c24 100644
114 +--- a/atk/atk-enum-types.h.template
115 ++++ b/atk/atk-enum-types.h.template
116 +@@ -14,7 +14,7 @@ G_BEGIN_DECLS
117 +
118 + /*** BEGIN file-production ***/
119 +
120 +-/* enumerations from "@filename@" */
121 ++/* enumerations from "@basename@" */
122 + /*** END file-production ***/
123 +
124 + /*** BEGIN value-header ***/
125 +diff --git a/atk/makefile.msc b/atk/makefile.msc
126 +index f407b7d..ed4656b 100644
127 +--- a/atk/makefile.msc
128 ++++ b/atk/makefile.msc
129 +@@ -104,7 +104,7 @@ atkmarshal.c : atkmarshal.list
130 + atk-enum-types.h : $(atk_headers) makefile.msc
131 + $(PERL) $(GLIB)\gobject\glib-mkenums \
132 + --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n" \
133 +- --fprod "/* enumerations from \"@filename@\" */\n" \
134 ++ --fprod "/* enumerations from \"@basename@\" */\n" \
135 + --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
136 + --ftail "#endif /* __ATK_ENUM_TYPES_H__ */" \
137 + $(atk_headers) > atk-enum-types.h
138 +@@ -115,7 +115,7 @@ atk-enum-types.h : $(atk_headers) makefile.msc
139 + atk-enum-types.c: $(atk_headers) makefile.msc
140 + $(PERL) $(GLIB)\gobject\glib-mkenums \
141 + --fhead "#include <atk.h>" \
142 +- --fprod "\n/* enumerations from \"@filename@\" */" \
143 ++ --fprod "\n/* enumerations from \"@basename@\" */" \
144 + --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
145 + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
146 + --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
147 +--
148 +2.19.2
149 +