Re: rpmbuild error in F22 (looking for desktop file)

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

 



On Wed, 15 Jul 2015 16:01:25 +0200 Michael Schwendt <mschwendt@xxxxxxxxx> 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


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux