File: maps-Switch-to-geocode-glib-2.0.patch

package info (click to toggle)
gramps 6.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 102,968 kB
  • sloc: python: 220,782; xml: 1,452; sh: 462; makefile: 183; javascript: 24
file content (23 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Switch to geocode-glib-2.0
 The latest releases of Debian and Ubuntu no longer include
 gir1.2-geocodeglib-1.0. Therefore it is necessary for applications
 to transition to the latest version of geocode-glib.
Author: Jeremy Bicha <jeremy.bicha@canonical.com>
Forwarded: https://gramps-project.org/bugs/view.php?id=13255
Last-Update: 2024-04-08

---
 gramps/plugins/lib/maps/placeselection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/gramps/plugins/lib/maps/placeselection.py
+++ b/gramps/plugins/lib/maps/placeselection.py
@@ -52,7 +52,7 @@
 #
 # -------------------------------------------------------------------------
 try:
-    gi.require_version("GeocodeGlib", "1.0")
+    gi.require_version("GeocodeGlib", "2.0")
     from gi.repository import GeocodeGlib
 
     GEOCODEGLIB = True