commit 4a309facc6e1f9d740a027e9fc3a37fa61ef1b4b
parent a7d8dad81b1a57fbb19720c1a6d4a3d29e910323
Author: parazyd <parazyd@dyne.org>
Date: Tue, 10 Nov 2020 02:17:39 +0100
dev-util/gtk-doc: Add necessary patches.
Diffstat:
3 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/dev-util/gtk-doc/files/61gtk-doc-gentoo.el b/dev-util/gtk-doc/files/61gtk-doc-gentoo.el
@@ -0,0 +1,9 @@
+
+;;; gtk-doc site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'gtk-doc-insert "gtk-doc"
+ "Add a documentation header to the current function." t)
+(autoload 'gtk-doc-insert-section "gtk-doc"
+ "Add a section documentation header at the current position." t)
diff --git a/dev-util/gtk-doc/files/gtk-doc-1.8-emacs-keybindings.patch b/dev-util/gtk-doc/files/gtk-doc-1.8-emacs-keybindings.patch
@@ -0,0 +1,19 @@
+diff --git a/tools/gtk-doc.el b/tools/gtk-doc.el
+index b038671..aeb7f9e 100644
+--- a/tools/gtk-doc.el
++++ b/tools/gtk-doc.el
+@@ -273,7 +273,7 @@ Only C/C++ function types are properly supported currently."
+
+ ;; set global binding for this key (follows the format for
+ ;; creating a changelog entry ...)
+-(global-set-key "\C-x4h" 'gtk-doc-insert)
++;;(global-set-key "\C-x4h" 'gtk-doc-insert)
+
+
+ ;; Define another function for inserting a section header.
+@@ -291,4 +291,4 @@ Only C/C++ function types are properly supported currently."
+ " */\n"))
+
+ ;; Set the key binding.
+-(global-set-key "\C-x4s" 'gtk-doc-insert-section)
++;;(global-set-key "\C-x4s" 'gtk-doc-insert-section)
diff --git a/dev-util/gtk-doc/gtk-doc-1.33.0.ebuild b/dev-util/gtk-doc/gtk-doc-1.33.0.ebuild
@@ -50,9 +50,6 @@ pkg_setup() {
src_prepare() {
# Remove global Emacs keybindings, bug #184588
eapply "${FILESDIR}"/${PN}-1.8-emacs-keybindings.patch
- # Fix dev-libs/glib[gtk-doc] doc generation tests by fixing stuff surrounding deprecations
- # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1488
- eapply "${FILESDIR}"/${PV}-deprecation-parse-fixes.patch
gnome2_src_prepare
}