File: port-to-gtksourceview4.patch

package info (click to toggle)
gtranscribe 0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: python: 745; xml: 51; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 821 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Philip Rinn <rinni@inventati.org>
Subject: Port to gtksourceview4
Forwarded: https://github.com/innir/gtranscribe/commit/331a80c6fe139cfcf27ce2e34ebbf3ac610ac787
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ Homepage: https://github.com/innir/gtranscribe
  - python3-gi
  - python3-dbus
  - gir1.2-gtk-3.0
- - gir1.2-gtksource-3.0
+ - gir1.2-gtksource-4
  - gir1.2-glib-2.0
  - gir1.2-gspell-1
  - gir1.2-gstreamer-1.0
--- a/bin/gtranscribe
+++ b/bin/gtranscribe
@@ -32,7 +32,7 @@ from dbus.mainloop.glib import DBusGMainLoop
 import gi
 gi.require_version('Gtk', '3.0')
 from gi.repository import GLib, Gtk, Gdk, GdkPixbuf, GObject
-gi.require_version('GtkSource', '3.0')
+gi.require_version('GtkSource', '4')
 from gi.repository import GtkSource
 gi.require_version('Gspell', '1')
 from gi.repository import Gspell