[gnome-control-center/remove-libhandy-as-subproject] Remove libhandy subproject




commit 62c3321143779dab10fc72cc0dc39c2b58b5f5bf
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Sep 27 10:32:31 2021 +0200

    Remove libhandy subproject
    
    At this point libhandy is available in most of the popular and
    enterprise distros. We no longer need to bundle it as a submodule.
    
    Fixes #1470

 .gitmodules          |  3 ---
 meson.build          | 16 +---------------
 subprojects/libhandy |  1 -
 3 files changed, 1 insertion(+), 19 deletions(-)
---
diff --git a/.gitmodules b/.gitmodules
index 60b7a8dba..5ab4a386d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
 [submodule "subprojects/gvc"]
        path = subprojects/gvc
        url = https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
-[submodule "subprojects/libhandy"]
-       path = subprojects/libhandy
-       url = https://gitlab.gnome.org/GNOME/libhandy.git
diff --git a/meson.build b/meson.build
index ec91bcc40..504b73998 100644
--- a/meson.build
+++ b/meson.build
@@ -99,21 +99,6 @@ libgvc = subproject(
 )
 libgvc_dep = libgvc.get_variable('libgvc_dep')
 
-libhandy_dep = dependency('libhandy-1', version: '>= 1.2.0', required: false)
-if not libhandy_dep.found()
-  libhandy = subproject(
-    'libhandy',
-    default_options: [
-      'examples=false',
-      'glade_catalog=disabled',
-      'introspection=disabled',
-      'tests=false',
-      'vapi=false',
-    ]
-  )
-  libhandy_dep = libhandy.get_variable('libhandy_dep')
-endif
-
 goa_req_version = '>= 3.25.3'
 pulse_req_version = '>= 2.0'
 
@@ -126,6 +111,7 @@ gnome_desktop_dep = dependency('gnome-desktop-3.0', version: '>= 3.33.4')
 gnome_settings_dep = dependency('gnome-settings-daemon', version: '>= 3.27.90')
 goa_dep = dependency('goa-1.0', version: goa_req_version)
 gsettings_desktop_dep = dependency('gsettings-desktop-schemas', version: '>= 40.alpha')
+libhandy_dep = dependency('libhandy-1', version: '>= 1.2.0')
 libxml_dep = dependency('libxml-2.0')
 polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.114')
 pulse_dep = dependency('libpulse', version: pulse_req_version)


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