[gnome-builder] resources: move resources up to libide/
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] resources: move resources up to libide/
- Date: Sun, 18 Jun 2017 05:57:01 +0000 (UTC)
commit 0323a089eb7b9984064e24175fc58f918e34e831
Author: Christian Hergert <chergert redhat com>
Date: Sat Jun 17 22:56:49 2017 -0700
resources: move resources up to libide/
These are sort of annoying to have in a subdirectory, so just move things
up to libide/ now.
libide/application/ide-application.c | 2 +-
libide/libide.gresource.xml | 103 +++++++++++++++++++++++++++++++++
libide/meson.build | 5 +-
libide/resources/.gitignore | 2 -
libide/resources/libide.gresource.xml | 103 ---------------------------------
libide/resources/meson.build | 5 --
6 files changed, 108 insertions(+), 112 deletions(-)
---
diff --git a/libide/application/ide-application.c b/libide/application/ide-application.c
index cc8d60d..ade0349 100644
--- a/libide/application/ide-application.c
+++ b/libide/application/ide-application.c
@@ -34,6 +34,7 @@
#include "ide-global.h"
#include "ide-internal.h"
#include "ide-macros.h"
+#include "ide-resources.h"
#include "application/ide-application.h"
#include "application/ide-application-actions.h"
@@ -41,7 +42,6 @@
#include "application/ide-application-tests.h"
#include "application/ide-application-tool.h"
#include "modelines/modeline-parser.h"
-#include "resources/ide-resources.h"
#include "util/ide-flatpak.h"
#include "workbench/ide-workbench.h"
#include "workers/ide-worker.h"
diff --git a/libide/libide.gresource.xml b/libide/libide.gresource.xml
new file mode 100644
index 0000000..9f49993
--- /dev/null
+++ b/libide/libide.gresource.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnome/builder/snippets">
+ <file alias="c.snippets">../data/snippets/c.snippets</file>
+ <file alias="chdr.snippets">../data/snippets/chdr.snippets</file>
+ <file alias="gobject.snippets">../data/snippets/gobject.snippets</file>
+ <file alias="js.snippets">../data/snippets/js.snippets</file>
+ <file alias="licenses.snippets">../data/snippets/licenses.snippets</file>
+ <file alias="main.snippets">../data/snippets/main.snippets</file>
+ <file alias="python.snippets">../data/snippets/python.snippets</file>
+ <file alias="rpmspec.snippets">../data/snippets/rpmspec.snippets</file>
+ <file alias="shebang.snippets">../data/snippets/shebang.snippets</file>
+ <file alias="vala.snippets">../data/snippets/vala.snippets</file>
+ <file alias="xml.snippets">../data/snippets/xml.snippets</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/gtk">
+ <file compressed="true" alias="menus.ui">../data/gtk/menus.ui</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/themes">
+ <file compressed="true" alias="Adwaita.css">../data/themes/Adwaita.css</file>
+ <file compressed="true" alias="Adwaita-dark.css">../data/themes/Adwaita-dark.css</file>
+ <file compressed="true" alias="Adwaita-shared.css">../data/themes/Adwaita-shared.css</file>
+
+ <file compressed="true" alias="Arc.css">../data/themes/Arc.css</file>
+ <file compressed="true" alias="Arc-Dark.css">../data/themes/Arc-Dark.css</file>
+ <file compressed="true" alias="Arc-Darker.css">../data/themes/Arc-Darker.css</file>
+ <file compressed="true" alias="Arc-dark.css">../data/themes/Arc-Dark.css</file>
+ <file compressed="true" alias="Arc-Dark-dark.css">../data/themes/Arc-Dark.css</file>
+ <file compressed="true" alias="Arc-Darker-dark.css">../data/themes/Arc-Dark.css</file>
+ <file compressed="true" alias="Arc-shared.css">../data/themes/Arc-shared.css</file>
+
+ <file compressed="true" alias="shared.css">../data/themes/shared.css</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/modelines">
+ <file alias="language-mappings">modelines/language-mappings</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/file-settings">
+ <file compressed="true" alias="defaults.ini">../data/file-settings/defaults.ini</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/keybindings">
+ <file compressed="true" alias="default.css">../data/keybindings/default.css</file>
+ <file compressed="true" alias="emacs.css">../data/keybindings/emacs.css</file>
+ <file compressed="true" alias="shared.css">../data/keybindings/shared.css</file>
+ <file compressed="true" alias="vim.css">../data/keybindings/vim.css</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/ui">
+ <file compressed="true" alias="ide-editor-frame.ui">editor/ide-editor-frame.ui</file>
+ <file compressed="true"
alias="ide-editor-layout-stack-controls.ui">editor/ide-editor-layout-stack-controls.ui</file>
+ <file compressed="true" alias="ide-editor-perspective.ui">editor/ide-editor-perspective.ui</file>
+ <file compressed="true" alias="ide-editor-spell-widget.ui">editor/ide-editor-spell-widget.ui</file>
+ <file compressed="true" alias="ide-editor-tweak-widget.ui">editor/ide-editor-tweak-widget.ui</file>
+ <file compressed="true" alias="ide-editor-view.ui">editor/ide-editor-view.ui</file>
+ <file compressed="true" alias="ide-greeter-perspective.ui">greeter/ide-greeter-perspective.ui</file>
+ <file compressed="true" alias="ide-greeter-project-row.ui">greeter/ide-greeter-project-row.ui</file>
+ <file compressed="true" alias="ide-layout-tab.ui">workbench/ide-layout-tab.ui</file>
+ <file compressed="true" alias="ide-layout-tab-bar.ui">workbench/ide-layout-tab-bar.ui</file>
+ <file compressed="true" alias="ide-layout-pane.ui">workbench/ide-layout-pane.ui</file>
+ <file compressed="true" alias="ide-layout-stack.ui">workbench/ide-layout-stack.ui</file>
+ <file compressed="true" alias="ide-omni-bar.ui">workbench/ide-omni-bar.ui</file>
+ <file compressed="true" alias="ide-omni-bar-row.ui">workbench/ide-omni-bar-row.ui</file>
+ <file compressed="true"
alias="ide-perspective-menu-button.ui">workbench/ide-perspective-menu-button.ui</file>
+ <file compressed="true"
alias="ide-preferences-language-row.ui">preferences/ide-preferences-language-row.ui</file>
+ <file compressed="true" alias="ide-run-button.ui">runner/ide-run-button.ui</file>
+ <file compressed="true" alias="ide-transfer-row.ui">transfers/ide-transfer-row.ui</file>
+ <file compressed="true" alias="ide-transfers-button.ui">transfers/ide-transfers-button.ui</file>
+ <file compressed="true" alias="ide-shortcuts-window.ui">keybindings/ide-shortcuts-window.ui</file>
+ <file compressed="true" alias="ide-workbench-header-bar.ui">workbench/ide-workbench-header-bar.ui</file>
+ <file compressed="true" alias="ide-workbench.ui">workbench/ide-workbench.ui</file>
+ <file compressed="true" alias="ide-workbench-message.ui">workbench/ide-workbench-message.ui</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/plugins/buildconfig">
+ <file alias="buildconfig.plugin">buildconfig/buildconfig.plugin</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/plugins/editor">
+ <file alias="editor.plugin">editor/editor.plugin</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/plugins/directory">
+ <file alias="directory.plugin">directory/directory.plugin</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/plugins/webkit">
+ <file alias="webkit.plugin">webkit/webkit.plugin</file>
+ </gresource>
+
+ <gresource prefix="/org/gnome/builder/plugins/buildui">
+ <file alias="buildui.plugin">buildui/buildui.plugin</file>
+ <file compressed="true"
alias="ide-build-configuration-row.ui">buildui/ide-build-configuration-row.ui</file>
+ <file compressed="true"
alias="ide-build-configuration-view.ui">buildui/ide-build-configuration-view.ui</file>
+ <file compressed="true" alias="ide-build-log-panel.ui">buildui/ide-build-log-panel.ui</file>
+ <file compressed="true" alias="ide-build-panel.ui">buildui/ide-build-panel.ui</file>
+ <file compressed="true" alias="ide-build-perspective.ui">buildui/ide-build-perspective.ui</file>
+ <file compressed="true"
alias="ide-environment-editor-row.ui">buildui/ide-environment-editor-row.ui</file>
+ </gresource>
+</gresources>
diff --git a/libide/meson.build b/libide/meson.build
index 9943ab1..48d6699 100644
--- a/libide/meson.build
+++ b/libide/meson.build
@@ -212,7 +212,10 @@ foreach header: libide_public_headers
endif
endforeach
-subdir('resources')
+libide_resources = gnome.compile_resources('ide-resources',
+ 'libide.gresource.xml',
+ c_name: 'ide',
+)
libide_icons_resources = gnome.compile_resources('ide-icons-resources',
join_paths(meson.source_root(), 'data/icons/hicolor/icons.gresource.xml'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]