diff options
Diffstat (limited to 'dev-libs/atk')
-rw-r--r-- | dev-libs/atk/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/atk/atk-2.30.0.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/atk/files/atk-2.30.0-use-basename-instead-of-filename.patch | 63 |
3 files changed, 116 insertions, 0 deletions
diff --git a/dev-libs/atk/Manifest b/dev-libs/atk/Manifest index be822e17cffc..9100405fa7bb 100644 --- a/dev-libs/atk/Manifest +++ b/dev-libs/atk/Manifest @@ -1,3 +1,6 @@ +AUX atk-2.30.0-use-basename-instead-of-filename.patch 2528 BLAKE2B 7a81c6ed9c73c3cdd4a674446250b34ba06bf3de0f348b3bcabfa3ebe69d556b1fd0f63a46aea9e87674028e22f48dc4be6fbd465249a998d3ce257038128e27 SHA512 ba6fed3b6da993541a3033c1dace0f9bac6ec1b1603080e2d20db0b69491c52916c7f116aa6ec614384405c7984b3db87b051a503f2eb6adc2ef173aab638d81 DIST atk-2.28.1.tar.xz 712508 BLAKE2B 71aee8bc937e1e37d40e6a9820d0002bcc763dbf87385ede2484ec6fe17a9924d5753d74dc3a769602746c915d0c46da8eea78cc80c706e3c38faca2e5050364 SHA512 aa61e7718b3f4d9c33ec2b4747e35f894a51550ef39ecc4a7af5705811c029645bd3c728071f446b075a0b7aef0c35c1b73406a210cd30171838f24a8dfc0abb +DIST atk-2.30.0.tar.xz 290264 BLAKE2B dec44abf3bd4937f417cd0b75bee32fdd073ccca1e44d883293d060afbbc30909aac483007e293231fafe0c5481df94d1113d287a0002a823f4e9c8e7bd647c2 SHA512 03f311378fdb91442f27ed542fa36edd2c9c036837c9f25ff37468bf7f743277d0b9253621563d15894e0da9d37e8df0a0e2c0e47e6aae33a38b13744c3b8b8e EBUILD atk-2.28.1.ebuild 1441 BLAKE2B c1283a8624ebc62e5bebd5d7593413be5030a7dc3206440e07630f29b0b06bcb93effe354fa52552706a557e5a965396f8c0a800322595589137ab56208d9f3e SHA512 04ffcc74623d10bf92d3401deec43395bf4cf8c3093481af7d46369df7e0e563ae91655be7fb78a6a232e76dd4fe0cc43d7330af3b3147e9aa6f12dfd8ce2513 +EBUILD atk-2.30.0.ebuild 1258 BLAKE2B 154d430bf91b38219985763eedc5a2971a672d5f72f15861a9151793bbe36edca24a90efe36167cda77100030620be95aa876b0c2895b28186c440ece798de90 SHA512 989f6b07d219bd8479cf15658b5fb4a0f3328687ecc302b74ae561b0234b028894d6fdace4412f3fd7334d778d67ac4c80234fcb1dd44ef8159c5b030c959ce0 MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/dev-libs/atk/atk-2.30.0.ebuild b/dev-libs/atk/atk-2.30.0.ebuild new file mode 100644 index 000000000000..10060bf60c88 --- /dev/null +++ b/dev-libs/atk/atk-2.30.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome.org meson multilib-minimal xdg + +DESCRIPTION="GTK+ & GNOME Accessibility Toolkit" +HOMEPAGE="https://wiki.gnome.org/Accessibility" + +LICENSE="LGPL-2+" +SLOT="0" +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" +IUSE="gtk-doc +introspection" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54.0:= ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + gtk-doc? ( + >=dev-util/gtk-doc-1.25 + app-text/docbook-xml-dtd:4.3 ) + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + >=sys-devel/gettext-0.19.8 +" + +PATCHES=( + "${FILESDIR}"/${P}-use-basename-instead-of-filename.patch +) + +multilib_src_configure() { + local emesonargs=( + -Ddocs=$(multilib_native_usex gtk-doc true false) + -Dintrospection=$(multilib_native_usex introspection true false) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} 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 new file mode 100644 index 000000000000..763a15056702 --- /dev/null +++ b/dev-libs/atk/files/atk-2.30.0-use-basename-instead-of-filename.patch @@ -0,0 +1,63 @@ +From 14115cc94086fb2a0a5cd32e67c70f623847df64 Mon Sep 17 00:00:00 2001 +From: Samuel Thibault <samuel.thibault@ens-lyon.org> +Date: Thu, 30 Aug 2018 11:39:25 +0200 +Subject: [PATCH] build: use @basename instead of @filename + +Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=789619 +--- + atk/atk-enum-types.c.template | 2 +- + atk/atk-enum-types.h.template | 2 +- + atk/makefile.msc | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/atk/atk-enum-types.c.template b/atk/atk-enum-types.c.template +index df2f546..b3c0b13 100644 +--- a/atk/atk-enum-types.c.template ++++ b/atk/atk-enum-types.c.template +@@ -7,7 +7,7 @@ + + /*** BEGIN file-production ***/ + +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/ +diff --git a/atk/atk-enum-types.h.template b/atk/atk-enum-types.h.template +index 7b4cec4..8321c24 100644 +--- a/atk/atk-enum-types.h.template ++++ b/atk/atk-enum-types.h.template +@@ -14,7 +14,7 @@ G_BEGIN_DECLS + + /*** BEGIN file-production ***/ + +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/ +diff --git a/atk/makefile.msc b/atk/makefile.msc +index f407b7d..ed4656b 100644 +--- a/atk/makefile.msc ++++ b/atk/makefile.msc +@@ -104,7 +104,7 @@ atkmarshal.c : atkmarshal.list + atk-enum-types.h : $(atk_headers) makefile.msc + $(PERL) $(GLIB)\gobject\glib-mkenums \ + --fhead "#ifndef __ATK_ENUM_TYPES_H__\n#define __ATK_ENUM_TYPES_H__\n" \ +- --fprod "/* enumerations from \"@filename@\" */\n" \ ++ --fprod "/* enumerations from \"@basename@\" */\n" \ + --vhead "GType @enum_name@_get_type (void);\n#define ATK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ + --ftail "#endif /* __ATK_ENUM_TYPES_H__ */" \ + $(atk_headers) > atk-enum-types.h +@@ -115,7 +115,7 @@ atk-enum-types.h : $(atk_headers) makefile.msc + atk-enum-types.c: $(atk_headers) makefile.msc + $(PERL) $(GLIB)\gobject\glib-mkenums \ + --fhead "#include <atk.h>" \ +- --fprod "\n/* enumerations from \"@filename@\" */" \ ++ --fprod "\n/* enumerations from \"@basename@\" */" \ + --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[] = {" \ + --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ + --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ +-- +2.19.2 + |