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




commit b4f70a8872ca2b243a4b44ed4396e7bb6bbd0c05
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 4626fa0bb..c8f28ccb3 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 d7fb76d53..4e4fe96e5 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -282,7 +282,6 @@ nautilus_deps = [
   gmodule,
   gnome_autoar,
   gnome_desktop,
-  libgd_dep,
   libhandy,
   libportal,
   libportal_gtk3,


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