[gnome-notes/136-implement-the-list-row-pattern-in-main-view: 16/24] Libgd removal
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes/136-implement-the-list-row-pattern-in-main-view: 16/24] Libgd removal
- Date: Tue, 21 Jul 2020 14:58:00 +0000 (UTC)
commit 07eb99d4e38fabe1270abf73f68157ee713581fc
Author: Isaque Galdino <igaldino gmail com>
Date: Sun Feb 16 21:29:10 2020 -0300
Libgd removal
.gitmodules | 3 ---
data/meson.build | 17 -----------------
data/org.gnome.Notes.gschema.xml | 5 -----
meson.build | 13 -------------
src/bjb-note-view.c | 1 -
src/bjb-window-base.c | 1 -
src/libbiji/provider/biji-memo-provider.c | 2 --
subprojects/libgd | 1 -
8 files changed, 43 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 4867ab8f..3732cecf 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -62,23 +62,6 @@ install_data(
install_dir: bijiben_pkgdatadir
)
-# https://github.com/mesonbuild/meson/issues/1687
-custom_target('gsettings-enums',
- input: '../subprojects/libgd/libgd/gd-main-view.h',
- output: 'org.gnome.bijiben.enums.xml',
- install: true,
- install_dir: join_paths(bijiben_datadir, 'glib-2.0', 'schemas'),
- capture: true,
- command: ['glib-mkenums',
- '--comments', '<!-- @comment@ -->',
- '--fhead', '<schemalist>',
- '--vhead', ' <@type@ id="org.gnome.bijiben.@EnumName@">',
- '--vprod', ' <value nick="@valuenick@" value="@valuenum@"/>',
- '--vtail', ' </@type@>',
- '--ftail', '</schemalist>',
- '@INPUT@'
- ]
-)
install_data(
'org.gnome.Notes.gschema.xml',
install_dir: join_paths(bijiben_datadir, 'glib-2.0', 'schemas')
diff --git a/data/org.gnome.Notes.gschema.xml b/data/org.gnome.Notes.gschema.xml
index 0e8f466e..08f864fd 100644
--- a/data/org.gnome.Notes.gschema.xml
+++ b/data/org.gnome.Notes.gschema.xml
@@ -39,11 +39,6 @@
<summary>Window position</summary>
<description>Window position (x and y).</description>
</key>
- <key name="view-type" enum="org.gnome.bijiben.GdMainViewType">
- <summary>How to show note items</summary>
- <description>Whether to show note items in icon view or list view.</description>
- <default>'icon'</default>
- </key>
<key name="text-size" enum="org.gnome.bijiben.BjbTextSizeType">
<summary>Text size used by note editor.</summary>
<description>There are three text sizes available: small, medium (default) and large.</description>
diff --git a/meson.build b/meson.build
index 44a42c7b..ea3aa112 100644
--- a/meson.build
+++ b/meson.build
@@ -84,18 +84,6 @@ endif
add_project_arguments(common_flags, language: 'c')
-libgd = subproject(
- 'libgd',
- default_options: [
- 'static=true',
- 'with-view-common=true',
- 'with-gtk-hacks=true',
- 'with-main-view=true',
- 'with-tagged-entry=true'
- ]
-)
-libgd_dep = libgd.get_variable('libgd_dep')
-
tracker_sparql_dep = dependency('tracker-sparql-3.0', required: false)
has_tracker3 = tracker_sparql_dep.found()
config_h.set10('HAVE_TRACKER3', has_tracker3)
@@ -115,7 +103,6 @@ private_store = get_option('private_store') or has_tracker3
config_h.set('TRACKER_PRIVATE_STORE', private_store)
bijiben_deps = [
- libgd_dep,
tracker_sparql_dep,
dependency('gio-unix-2.0'),
dependency('glib-2.0', version: '>= 2.53.4'),
diff --git a/src/bjb-note-view.c b/src/bjb-note-view.c
index 7c4f35ce..a0eec675 100644
--- a/src/bjb-note-view.c
+++ b/src/bjb-note-view.c
@@ -19,7 +19,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <libbiji/libbiji.h>
-#include <libgd/gd.h>
#include "bjb-application.h"
#include "bjb-editor-toolbar.h"
diff --git a/src/bjb-window-base.c b/src/bjb-window-base.c
index 91cf26a1..3ad1682e 100644
--- a/src/bjb-window-base.c
+++ b/src/bjb-window-base.c
@@ -4,7 +4,6 @@
#include <stdlib.h>
#include <libbiji/libbiji.h>
-#include <libgd/gd.h>
#include "bjb-application.h"
#include "bjb-empty-results-box.h"
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
index f4d00316..6e36a934 100644
--- a/src/libbiji/provider/biji-memo-provider.c
+++ b/src/libbiji/provider/biji-memo-provider.c
@@ -26,8 +26,6 @@
#include <libecal/libecal.h> /* ECalClient */
-#include <libgd/gd.h> /* Embed in frame */
-
#include "biji-memo-provider.h"
#include "biji-memo-note.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]