[gedit/zbrown/deteplification-src: 184/633] build: continue to simplify deps




commit e09e839fb4319ed36852132eb1959fa52ce0c6da
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 14 15:06:05 2020 +0100

    build: continue to simplify deps
    
    libpeas is pulled in by libpeas-gtk.
    
    simplify code.

 docs/reference/meson.build | 1 -
 gedit/meson.build          | 1 -
 meson.build                | 7 -------
 3 files changed, 9 deletions(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 7509fb100..f46cba944 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -11,7 +11,6 @@ gedit_doc_deps = [
   gio_dep,
   gtk_dep,
   gtksourceview_dep,
-  libpeas_dep,
   libpeas_gtk_dep,
   libxml_dep,
 ]
diff --git a/gedit/meson.build b/gedit/meson.build
index d1ec6dedc..30b0414f4 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -124,7 +124,6 @@ libgedit_deps = [
   gtk_dep,
   gtksourceview_dep,
   introspection_dep,
-  libpeas_dep,
   libpeas_gtk_dep,
   libxml_dep,
   libgd_dep,
diff --git a/meson.build b/meson.build
index df803ea59..52ed19ba3 100644
--- a/meson.build
+++ b/meson.build
@@ -61,7 +61,6 @@ vala_req = '>= 0.25.1'
 gio_dep = dependency('gio-2.0', version: glib_req)
 gtk_dep = dependency('gtk+-3.0', version: gtk_req)
 gtksourceview_dep = dependency('gtksourceview-4', version: gtksourceview_req)
-libpeas_dep = dependency('libpeas-1.0', version: libpeas_req)
 libpeas_gtk_dep = dependency('libpeas-gtk-1.0', version: libpeas_req)
 libxml_dep = dependency('libxml-2.0', version: libxml_req)
 gspell_dep = dependency('gspell-1', version: gspell_req)
@@ -78,12 +77,6 @@ if build_checkupdate_plugin
 endif
 
 # Configurations
-if ((host_machine.system() != 'darwin') and
-    (host_machine.system() != 'windows') and
-    (not x11_dep.found()))
-  error('Native dependency \'x11\' not found.')
-endif
-
 config_h = configuration_data()
 config_h.set_quoted('PACKAGE_STRING', package_string)
 config_h.set_quoted('GETTEXT_PACKAGE', meson.project_name())


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