[easytag] README schema error documentation and examples



commit 9f5c5819f8d6dbf5b8b107064d1f0658114a95a9
Author: Tristan Scott <tristan yvts co uk>
Date:   Fri Mar 25 20:03:24 2016 +0000

    README schema error documentation and examples
    
    In the event of a schema failure (EasyTAG schema not in cache results in
    assert crash otherwise) - so this is which files need to be in the
    system schema cache, and how to add them in to it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764207

 README |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/README b/README
index 7b4388d..92710c0 100644
--- a/README
+++ b/README
@@ -77,11 +77,24 @@ Installation
 
 See INSTALL.
 
-When running, if you get a warning about a settings schema that is not
-installed, make sure that the GSettings schemas can be found in
-$XDG_DATA_DIRS/glib-2.0/schemas and that the schema cache has been updated with
-glib-compile-schemas.
+When running, if you get the following warning about the EasyTAG settings
+schema that is not installed:
 
+(easytag:19122): GLib-GIO-ERROR **: Settings schema 'org.gnome.EasyTAG' is not installed
+
+make sure that the GSettings schema and enums files can be found somewhere in
+$XDG_DATA_DIRS/glib-2.0/schemas (for example /usr/share/glib-2.0/schemas) and
+that the schema cache has been updated with glib-compile-schemas.
+
+There are two files to copy to the schema path, and the glib-compile-schemas
+command must run on the directories which have been updated. Example commands
+follow:
+
+sudo cp org.gnome.EasyTAG.enums.xml /usr/share/glib-2.0/schemas
+sudo cp data/org.gnome.EasyTAG.gschema.xml /usr/share/glib-2.0/schemas
+sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
+
+If uninstalling, the files should be removed and the schema cache updated.
 
 License
 -------
@@ -96,4 +109,4 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 General Public License for more details.
 
-(It sould be included in this package in the file COPYING)
+(It should be included in this package in the file COPYING)


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