summaryrefslogtreecommitdiff
path: root/x11-libs/gtksourceview
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-10 11:05:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-10 11:05:14 +0100
commitfbbf0ee3d56a6fd27adf182c6907dc745623aeaa (patch)
tree2c2869a78e5e3b6af9391df951ca217cced4608d /x11-libs/gtksourceview
parent43297a4ed0a3760bbdd0b8c286b779f174ca5368 (diff)
gentoo auto-resync : 10:08:2024 - 11:05:14
Diffstat (limited to 'x11-libs/gtksourceview')
-rw-r--r--x11-libs/gtksourceview/Manifest2
-rw-r--r--x11-libs/gtksourceview/files/3.24.11-gcc14.patch62
-rw-r--r--x11-libs/gtksourceview/gtksourceview-3.24.11-r2.ebuild54
3 files changed, 118 insertions, 0 deletions
diff --git a/x11-libs/gtksourceview/Manifest b/x11-libs/gtksourceview/Manifest
index 9e1a40a5a542..80fab5776740 100644
--- a/x11-libs/gtksourceview/Manifest
+++ b/x11-libs/gtksourceview/Manifest
@@ -1,4 +1,5 @@
AUX 2.0/gentoo.lang 3901 BLAKE2B 774a8c7c01e8188339d1ae4b10df39b58ef78015cc2eb7cd3a723d025c1ae9ff2567dd84e56a2d9f2fd47d78b9ef26517dd76cb6e114aaab8eca452c8097712c SHA512 62c3257663eb684c1eeddb8393d8529e63c2535aa2c2839c76cac2a75f0c059025aa22db5e1bb569242526f1f2ee53708c7339e81eb37843f876be498762f9fc
+AUX 3.24.11-gcc14.patch 2157 BLAKE2B 3ad0dbafb78355160353893e1026e8e19f07ff172b6689d6314efc1a444bcd503677a3ca9a7310ecca811c4f8dd8b88aba4c7a213cb3f35dd12d63fa016ee52b SHA512 88e7b6c90977d7a799e24f1d83b8d9de183bc318bf6a313c3f5e808851e1102311a77469bc33994ff67f7c16bc7273b580fbb7c9bd29f6147efdbcb65e43f4ea
AUX 4.6-gentoo.lang 3889 BLAKE2B 1797c9e3ef615b36f3098104295fbadee18b8434d299bbab9603c5a00abdfb51c3a7db2f937885d8aa191067fd6e2ffbc1cf278b0d9333c67bcb07e24be5a7ba SHA512 a4ca3f24df56556c5d42aac19d36608d20466287b9e364154b1877c2a5aeab82a374fdf7dc64afbabbf9269d5a8fa88e1dd59d8a24a52fab219db09ec29a3d98
AUX gtksourceview-2.10.5-G_CONST_RETURN.patch 6799 BLAKE2B e3276c433d2bb6286ea8f6d5b45fc602a798c0261d12e065e8c5e1ed132f686bba93e450db7aa13a155f09841939733208dbcff9d2517f698536df1b7099b1ac SHA512 1a36c45a067cf999494b14f30d3322aa596343b5f77e54e337a382f6fc9857803cdf2f97a44433e4c055a0dc235fa270d335b6536fc682f0d952f06a2ce44546
DIST gtksourceview-2.10.5.tar.bz2 1253321 BLAKE2B 810a3eeca69bab4356b21c64129bb852e00d02c7937ad4a2ce3af9e48700da943d8d6834efcce9810dd49a54f39d4a074dc086a557128da51a593b2f23e58d48 SHA512 6f64acef6196bfc5953e0b148d7e460d366073b5e21367c01b01fc4d1c86ffe8aca71ecd77cf0814e47d8fc3085495f25bbbdc69e746987b02fd02fcda64886d
@@ -6,5 +7,6 @@ DIST gtksourceview-3.24.11.tar.xz 1438232 BLAKE2B a25762255a12887c8151465689e3ac
DIST gtksourceview-4.8.4.tar.xz 1159636 BLAKE2B 0fb649522ff904993b7673c380b8ffb6458c0727b6af906e5328d972fb5385a2a668c2ca45b7dd3533f9f00b2ed9eaade55ee7b20a0b75fb1c031b917c27af2d SHA512 9e4262e52a92b3a052f33b799622d4fd4dcc7cc5355df12f160d0e60a6d6c135bc52f07eb40c06b357d5d74bec7228d4ec545a69ee5af69429d4170cc1e2243d
EBUILD gtksourceview-2.10.5-r3.ebuild 1305 BLAKE2B d6d6830436119a7550be63b44b4737fb745ed6e4fdf4a6d68a6872cb0fa96d2cdbb7585c98cc0876431a390f945aa30a2122062681a9b2f98105c156596b6f60 SHA512 db11a86746c23457d021ea518f31eb8efca6333231d4365c9a4fdfbb1154940786dd86db9cb26a1c140e2012ad2f4100fd6cceb41c93fb379e56c684a2fffdbb
EBUILD gtksourceview-3.24.11-r1.ebuild 1209 BLAKE2B e697e419c583f0c0d284dc0c8b20dd1e73bcc87285c14187c4927626ffacae8de6893f477f3a450fdf56d0e63e9330b0fec7321a5c5e362f92c83553225956c3 SHA512 d3e8d711d16a1b5ab40748ec753309b5ea02707aa50d87da63b5399bb9acb48da8e2eea3cfd9205ff63a1982077288f2c077d3ff440d7825bac0c926256c1525
+EBUILD gtksourceview-3.24.11-r2.ebuild 1263 BLAKE2B 2efa23714d539e9fe757624bfad57ad861ed3d4790d0af93df0683e66cb19f95a3a629b6aa2fa8fef2708f1d773bfeafd6d2c6077825abbd35526610cbba79a0 SHA512 497eb88c2d413896a6ea10863317e59cee2fb2042902f1a0bba27115f1e8231f1e5e5407fb6513323438d8f9001ebae907859f3a665ca898f684be8c7ddc764c
EBUILD gtksourceview-4.8.4.ebuild 1745 BLAKE2B 9ee0364e2e94ff4f4488c6121399029168d9e7313fd3cac388bc5d4e5903b4e22a9fa0fae79d9459d69625b52d9b45bf5270e9cf72b22d2bc035daedee822af6 SHA512 75e72c9cf96f145e68d8fae62885d5c034c816eba58ba57f1c601d28508d53aaca6eaadca5c9eb84f4856c8db15964009198e68e9e011dbfadc72ee19d79896e
MISC metadata.xml 430 BLAKE2B 97632c64552f8f8414314de16a73981465cdce4c553d550618ebaf6fdfd1ef100e32c008b6442cbbea68ad1f97ca0631f332ed9bc4fc1884fbf4ecc608b70ec0 SHA512 3c8df69407d401080882427ca5d135a462d246fc29878dbef7b0614e1ab150cb0c9349f5398397cb7c94adc854271066000a0d4ac118f8be342e2a02464e8ff9
diff --git a/x11-libs/gtksourceview/files/3.24.11-gcc14.patch b/x11-libs/gtksourceview/files/3.24.11-gcc14.patch
new file mode 100644
index 000000000000..161d060183fe
--- /dev/null
+++ b/x11-libs/gtksourceview/files/3.24.11-gcc14.patch
@@ -0,0 +1,62 @@
+
+Patch from:
+https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/16db686c0b3170d9ec4d7c7eda4a8e9c0fb1c544
+
+From 16db686c0b3170d9ec4d7c7eda4a8e9c0fb1c544 Mon Sep 17 00:00:00 2001
+From: Martin Blanchard <martin.blanchard@codethink.co.uk>
+Date: Mon, 26 Feb 2018 14:26:59 +0000
+Subject: [PATCH] View: fix includes (implicit declarations)
+
+https://bugzilla.gnome.org/show_bug.cgi?id=793842
+---
+ gtksourceview/gtksourceview.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
+index 7d567157c..4e086464f 100644
+--- a/gtksourceview/gtksourceview.c
++++ b/gtksourceview/gtksourceview.c
+@@ -40,8 +40,9 @@
+ #include "gtksourcemark.h"
+ #include "gtksourcemarkattributes.h"
+ #include "gtksourcestylescheme.h"
+-#include "gtksourcecompletionprovider.h"
++#include "gtksourcecompletion.h"
+ #include "gtksourcecompletion-private.h"
++#include "gtksourcecompletionprovider.h"
+ #include "gtksourcegutter.h"
+ #include "gtksourcegutter-private.h"
+ #include "gtksourcegutterrendererlines.h"
+
+Patch from:
+https://gitlab.gnome.org/GNOME/gtksourceview/-/commit/b25e71c57fc934a7ce36e51826af9fa7c2cf9a80
+
+From b25e71c57fc934a7ce36e51826af9fa7c2cf9a80 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= <swilmet@gnome.org>
+Date: Thu, 14 Dec 2017 13:03:15 +0100
+Subject: [PATCH] View: fix assignment from incompatible pointer type
+
+GLib now propagates types with g_object_ref().
+
+At that code path we are sure that buffer is a GtkSourceBuffer since
+there is a condition if (GTK_SOURCE_IS_BUFFER (buffer)).
+---
+ gtksourceview/gtksourceview.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
+index 21424be97..e642ce360 100644
+--- a/gtksourceview/gtksourceview.c
++++ b/gtksourceview/gtksourceview.c
+@@ -1531,7 +1531,7 @@ set_source_buffer (GtkSourceView *view,
+ {
+ GtkSourceBufferInternal *buffer_internal;
+
+- view->priv->source_buffer = g_object_ref (buffer);
++ view->priv->source_buffer = g_object_ref (GTK_SOURCE_BUFFER (buffer));
+
+ g_signal_connect (buffer,
+ "highlight-updated",
+--
+GitLab
+
diff --git a/x11-libs/gtksourceview/gtksourceview-3.24.11-r2.ebuild b/x11-libs/gtksourceview/gtksourceview-3.24.11-r2.ebuild
new file mode 100644
index 000000000000..3ba07b75a29d
--- /dev/null
+++ b/x11-libs/gtksourceview/gtksourceview-3.24.11-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VALA_USE_DEPEND="vapigen"
+inherit gnome2 vala virtualx
+
+DESCRIPTION="A text widget implementing syntax highlighting and other features"
+HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="3.0/3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="glade +introspection +vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.48:2
+ >=dev-libs/libxml2-2.6:2
+ >=x11-libs/gtk+-3.20:3[introspection?]
+ glade? ( >=dev-util/glade-3.9:3.10 )
+ introspection? ( >=dev-libs/gobject-introspection-1.42:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ >=dev-build/gtk-doc-am-1.25
+ >=sys-devel/gettext-0.19.4
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+PATCHES=( "${FILESDIR}/3.24.11-gcc14.patch" )
+
+src_configure() {
+ use vala && vala_setup
+
+ gnome2_src_configure \
+ $(use_enable glade glade-catalog) \
+ $(use_enable introspection) \
+ $(use_enable vala)
+}
+
+src_test() {
+ virtx emake check
+}
+
+src_install() {
+ gnome2_src_install
+
+ insinto /usr/share/${PN}-3.0/language-specs
+ doins "${FILESDIR}"/2.0/gentoo.lang
+}