Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

gschema.xml error while installing #13

Open
cyberpunkrocker-zero opened this issue Feb 6, 2024 · 5 comments
Open

gschema.xml error while installing #13

cyberpunkrocker-zero opened this issue Feb 6, 2024 · 5 comments

Comments

@cyberpunkrocker-zero
Copy link

I'm in the process of making an Arch Linux package of skiff-desktop-0.2.0.

No other issues, but I get this weird error message while installing the resulting package:

(2/4) Compiling GSettings XML schema files...
/usr/share/glib-2.0/schemas/com.fyralabs.SkiffDesktop.gschema.xml:4:1  Error on line 4 char 1: A path, if given, must begin and end with a slash.  This entire file has been ignored.

The xml file in question looks like this

<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
  <schema path="/com/fyralabs/SkiffDesktop" id="com.fyralabs.SkiffDesktop">
  </schema>
</schemalist>

How do I fix this?

@korewaChino
Copy link

Oh...

 <schema path="/com/fyralabs/SkiffDesktop" id="com.fyralabs.SkiffDesktop">

I think GSettings is a little fussy over the path name? But honestly, should not affect builds since it's a blank schema

@cyberpunkrocker-zero
Copy link
Author

So it seems. So, I could modify the package so it doesn't even install the xml file, right? Having that kind of useless error while installing the package would create lots of bogus bug reports...

@korewaChino
Copy link

Nope, it is definitely a bug. Will check out further

@lainsce
Copy link
Collaborator

lainsce commented Feb 6, 2024

That line should be:
<schema path="/com/fyralabs/SkiffDesktop/" id="com.fyralabs.SkiffDesktop">
instead.

@lleyton
Copy link
Contributor

lleyton commented Feb 6, 2024

Just pushed a commit which adds that trailing slash, could you test building your package against the latest commit, and let me know if it works now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants