GNOME Bugzilla – Bug 416072
Dia is not registered as a thumbnailer in GNOME
Last modified: 2019-03-20 11:29:58 UTC
This schema file registers dia as a thumbnailer in GNOME for files with mime type application/x-dia-diagram.
Created attachment 84243 [details] [review]
Gconf schema to register dia as a thumbnailer in GNOME
Created attachment 84245 [details] [review]
New and better version of the schema.
The thumbs are not forced to be squares anymore.
Thank you for your contribution. Having not dealt with GConf schemas before, I'd like to know where they go and what is the preferred way to incorporate them in an autoconf setup.
I am really sorry but I do not have this piece of information.
For including this into the autotools build environment, I would suggest looking at some example packages: E.g., evince. You basically need to have
in autoconf.ac, and in the Makefile.am where handling the .schemas file, you take care of including the file to the tarball and have a gconftool call for registration like this:
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemafile)
Further, looking at the latest attachment, I would use "dia" instead of "totem" as <owner/>. (Copy'n'paste problem, I guess).
Just a bit of triage. Since the reporter can't provide the help that Lars would like, it seems appropriate to clear NEEDINFO and set HELPWANTED. The bug is still present in Dia 0.96.1.
Roland, would your suggestions work when Gnome is a configure-time option?
Haven't tried, but I strongly assume that AM_GCONF_SOURCE_2 would just result in disabling the respective features. Finally, this is what autoconf macros are designed for.
I looked at totem and evince, and neither has the file you mention. Can you point me to a good example or, better yet, to actual documentation? Googling around didn't help me much.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
It's still a valid bug... Dia is still not a thumbnailer. The information that's missing isn't about how to reproduce the problem (which is when NEEDINFO is appropriate), it's about how to fix it in the technical sense (which is when HELPWANTED is appropriate). Reopening.
The scheme is no patch and I'm as unknowing as Lars on this issue. So either someone provides a patch (maybe ripped out from Ubuntu?) or this needs to stay open.
I'm attaching the patch that I just added to the Debian package: The new GNOME 3.x moved from gconf to gsettings and therefore moved from gconf schema to thumbnailer files.
Created attachment 204314 [details] [review]
Add thumbnailer file
This patch adds the respective thumbnailer file
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/190.