[gnome-photos/bilelmoussaoui/soup2-less: 1/3] Disable Google item & drop Facebook one




commit 085c2da34279e68f6a97c1d3db1a239d3a78d1cb
Author: Bilal Elmoussaoui <belmouss redhat com>
Date:   Tue Aug 2 12:51:32 2022 +0200

    Disable Google item & drop Facebook one
    
    As they pull in two dependencies that sitll depend on soup2 / librest
    0.7
    if those dependencies ever get updated to soup3, we can re-enable those
    features again

 flatpak/org.gnome.Photos.json |  36 -----
 meson.build                   |   5 +-
 src/meson.build               |   8 +-
 src/photos-facebook-item.c    | 339 ------------------------------------------
 src/photos-facebook-item.h    |  36 -----
 src/photos-utils.c            |   6 +-
 6 files changed, 7 insertions(+), 423 deletions(-)
---
diff --git a/flatpak/org.gnome.Photos.json b/flatpak/org.gnome.Photos.json
index f83ea8f5..11ad71c8 100644
--- a/flatpak/org.gnome.Photos.json
+++ b/flatpak/org.gnome.Photos.json
@@ -132,42 +132,6 @@
                 }
             ]
         },
-        {
-            "name": "libgfbgraph",
-            "cleanup": [
-                "/doc"
-            ],
-            "config-opts": [
-                "--disable-introspection"
-            ],
-            "sources": [
-                {
-                    "type": "git",
-                    "branch": "stable-0.2.x",
-                    "url": "https://gitlab.gnome.org/GNOME/libgfbgraph.git";
-                }
-            ]
-        },
-        {
-            "name": "libgdata",
-            "buildsystem": "meson",
-            "config-opts": [
-                "-Dalways_build_tests=false",
-                "-Dgtk=disabled",
-                "-Dgtk_doc=false",
-                "-Dinstalled_tests=false",
-                "-Dintrospection=false",
-                "-Doauth1=disabled",
-                "-Dvapi=false"
-            ],
-            "sources": [
-                {
-                    "type": "git",
-                    "branch": "main",
-                    "url": "https://gitlab.gnome.org/GNOME/libgdata.git";
-                }
-            ]
-        },
         {
             "name": "libraw",
             "config-opts": [
diff --git a/meson.build b/meson.build
index 539e7c71..63d480f8 100644
--- a/meson.build
+++ b/meson.build
@@ -156,7 +156,7 @@ babl_dep = dependency('babl')
 cairo_dep = dependency('cairo', version: '>= 1.14.0')
 gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0', version: '>= 2.36.8')
 gegl_dep = dependency('gegl-0.4', version: '>= 0.4.0')
-geocode_glib_dep = dependency('geocode-glib-1.0')
+geocode_glib_dep = dependency('geocode-glib-2.0')
 gexiv_dep = dependency('gexiv2', version: '>= 0.10.8')
 gio_dep = dependency('gio-2.0')
 gio_unix_dep = dependency('gio-unix-2.0')
@@ -171,8 +171,7 @@ gsettings_desktop_schemas_dep = dependency('gsettings-desktop-schemas')
 gtk_dep = dependency('gtk+-3.0', version: '>= 3.22.16')
 gtk_unix_print_dep = dependency('gtk+-unix-print-3.0')
 libdazzle_dep = dependency('libdazzle-1.0', version: '>= 3.26.0')
-libgdata_dep = dependency('libgdata', version: '>= 0.17.13')
-libgfgraph_dep = dependency('libgfbgraph-0.2', version: '>= 0.2.1')
+#libgdata_dep = dependency('libgdata', version: '>= 0.17.13')
 libhandy_dep = dependency ('libhandy-1', version: '>= 1.1.90')
 libjpeg_dep = dependency('libjpeg')
 libpng_dep = dependency('libpng16')
diff --git a/src/meson.build b/src/meson.build
index d02dd572..36ff204a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -117,7 +117,6 @@ gnome_photos_sources = files(
   'photos-embed.c',
   'photos-empty-results-box.c',
   'photos-error-box.c',
-  'photos-facebook-item.c',
   'photos-fetch-collection-state-job.c',
   'photos-fetch-collections-job.c',
   'photos-fetch-ids-job.c',
@@ -125,7 +124,7 @@ gnome_photos_sources = files(
   'photos-filterable.c',
   'photos-flickr-item.c',
   'photos-gesture-zoom.c',
-  'photos-google-item.c',
+  #'photos-google-item.c',
   'photos-image-view.c',
   'photos-image-view-helper.c',
   'photos-import-dialog.c',
@@ -175,7 +174,7 @@ gnome_photos_sources = files(
   'photos-share-notification.c',
   'photos-share-point.c',
   'photos-share-point-email.c',
-  'photos-share-point-google.c',
+  #'photos-share-point-google.c',
   'photos-share-point-manager.c',
   'photos-share-point-online.c',
   'photos-single-item-job.c',
@@ -386,8 +385,7 @@ deps = [
   gtk_unix_print_dep,
   libdazzle_dep,
   libgd_dep,
-  libgdata_dep,
-  libgfgraph_dep,
+  #libgdata_dep,
   libgnome_photos_dep,
   libhandy_dep,
   m_dep,
diff --git a/src/photos-utils.c b/src/photos-utils.c
index e637a251..a57493dc 100644
--- a/src/photos-utils.c
+++ b/src/photos-utils.c
@@ -37,7 +37,6 @@
 #include "photos-device-item.h"
 #include "photos-enums.h"
 #include "photos-error.h"
-#include "photos-facebook-item.h"
 #include "photos-flickr-item.h"
 #include "photos-gegl.h"
 #include "photos-google-item.h"
@@ -717,14 +716,13 @@ photos_utils_ensure_builtins (void)
   if (g_once_init_enter (&once_init_value))
     {
       g_type_ensure (PHOTOS_TYPE_DEVICE_ITEM);
-      g_type_ensure (PHOTOS_TYPE_FACEBOOK_ITEM);
       g_type_ensure (PHOTOS_TYPE_FLICKR_ITEM);
-      g_type_ensure (PHOTOS_TYPE_GOOGLE_ITEM);
+      //g_type_ensure (PHOTOS_TYPE_GOOGLE_ITEM);
       g_type_ensure (PHOTOS_TYPE_LOCAL_ITEM);
       g_type_ensure (PHOTOS_TYPE_MEDIA_SERVER_ITEM);
 
       g_type_ensure (PHOTOS_TYPE_SHARE_POINT_EMAIL);
-      g_type_ensure (PHOTOS_TYPE_SHARE_POINT_GOOGLE);
+      //g_type_ensure (PHOTOS_TYPE_SHARE_POINT_GOOGLE);
 
       g_type_ensure (PHOTOS_TYPE_TOOL_COLORS);
       g_type_ensure (PHOTOS_TYPE_TOOL_CROP);


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