[nautilus/wip/antoniof/gtk4-preparation-drop-libgd: 100/100] build: Drop libgd dependency and submodule




commit f1b180da3321002edaffde5092cc0209c76b2541
Author: António Fernandes <antoniof gnome org>
Date:   Tue Nov 2 23:47:05 2021 +0000

    build: Drop libgd dependency and submodule
    
    We want to use to GTK 4, but libgd depends on GTK 3 and we can't link
    against 2 API-incompatible versions of GTK due to symbol conflicts.

 .gitmodules       |  4 ----
 meson.build       | 11 -----------
 src/meson.build   |  1 -
 subprojects/libgd |  1 -
 4 files changed, 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index b52694658..6db9a8112 100644
--- a/meson.build
+++ b/meson.build
@@ -95,17 +95,6 @@ pkgconfig = import('pkgconfig')
 ################
 glib_ver = '>= 2.67.1'
 
-libgd = subproject(
-  'libgd',
-  default_options: [
-    'static=true',
-    'with-gtk-hacks=true',
-    'with-main-view=true',
-    'with-tagged-entry=true'
-  ]
-)
-libgd_dep = libgd.get_variable('libgd_dep')
-
 libm = cc.find_library('m')
 
 if get_option('extensions')
diff --git a/src/meson.build b/src/meson.build
index f1948160b..0ecdf1306 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -280,7 +280,6 @@ nautilus_deps = [
   gmodule,
   gnome_autoar,
   gnome_desktop,
-  libgd_dep,
   libhandy,
   libportal,
   nautilus_extension,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]