rpmbuild error in F22 (looking for desktop file)
Ranjan Maitra
maitra.mbox.ignored at inbox.com
Wed Jul 15 14:41:18 UTC 2015
On Wed, 15 Jul 2015 16:01:25 +0200 Michael Schwendt <mschwendt at gmail.com> wrote:
> On Wed, 15 Jul 2015 07:59:39 -0500, Ranjan Maitra wrote:
>
> > So, now with this modified spec file, I am in this predicament now (files not packaged but installed) -- how do I get rid of this problem?
> >
>
> > error: Installed (but unpackaged) file(s) found:
>
> Well, obviously you need to edit the %files section of the spec file
> and add as many entries as necessary to include (or exclude) in the
> package what is found in the buildroot. That's:
>
> http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list.html
> and
> https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership
> --
OK, thanks! Your response made sense to me, and I went back and looked at what I have also done in the past. (I never understood it at that point, but now I have a better sense of what it was doing.)
So, now things work (and here is the spec file):
$ fpaste typhoon.spec
Uploading (1.5KiB)...
http://ur1.ca/n4qq5 -> http://paste.fedoraproject.org/244635/70759143
However, there appears to be some errors in the actual application. Upon installing, I get:
/usr/lib/python2.7/site-packages/typhoon_lib/Builder.py:81: Warning: The property GtkWindow:has-resize-grip is deprecated and shouldn't be used anymore. It will be removed in a future version.
Gtk.Builder.add_from_file(self, filename)
/usr/lib64/python2.7/site-packages/gi/overrides/__init__.py:313: Warning: The property GSettings:schema is deprecated and shouldn't be used anymore. It will be removed in a future version.
return super_init_func(self, **new_kwargs)
(typhoon:1076): GLib-GIO-ERROR **: Settings schema 'net.launchpad.typhoon' is not installed
The last is perhaps a consequence of this application having been written in/for Ubuntu. Here is the offending file:
$ more /usr/share/glib-2.0/schemas/net.launchpad.typhoon.gschema.xml
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="typhoon">
<schema id="net.launchpad.typhoon" path="/net/launchpad/typhoon/">
<key name="example" type="s">
<default>''</default>
<summary>Sample setting</summary>
<description>Longer description of this sample setting. Talk about allowe
d values and what it does.</description>
</key>
</schema>
</schemalist>
But how do I get around it? Is there a similar schemas for Fedora also?
I guess trying to package this was not a very smart idea: issues here are getting to be beyond me.
Many thanks and best wishes,
Ranjan
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
More information about the users
mailing list