The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: martinkg on 2014-12-07, 21:15:50

Title: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-07, 21:15:50
Hi,

can someone help me to write a otter-browser.appdata.xml file for Gnome, because i want to create a rpm package for Fedora.
(https://fedoraproject.org/wiki/User:Rhughes/DraftAppDataGuidelines )
so far I have created the following file:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<application>
  <id type="desktop">otter-browser.desktop</id>
  <metadata_license>CC0</metadata_license>
  <project_license>GPLv3+</project_license>
  <name>otter-browser</name>
  <summary>Web browser controlled by the user, not vice-versa</summary>
  <description>
    <p>
      Otter Browser, project aiming to recreate classic Opera (12.x) UI using Qt5.
    </p>
  </description>
  <screenshots>
    <screenshot type="default">http://t.im9.eu/1497.jpg</screenshot>
    <screenshot>http://t.im9.eu/826.jpg</screenshot>
    <screenshot>http://t.im9.eu/725.jpg</screenshot>
    <screenshot>http://t.im9.eu/635.jpg</screenshot>
    <screenshot>http://t.im9.eu/596.jpg</screenshot>
    <screenshot>http://t.im9.eu/4121.jpg</screenshot>
    <screenshot>http://t.im9.eu/3146.jpg</screenshot>
    <screenshot>http://t.im9.eu/2176.jpg</screenshot>
  </screenshots>
  <url type="homepage">http://otter-browser.org/</url>
  <updatecontact>email@address</updatecontact>
</application>


which contact Adress should i use ?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-08, 08:51:35
I imagine it's supposed to be the package maintainer? (That means you! :) )
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-08, 09:09:33

I imagine it's supposed to be the package maintainer? (That means you! :) )


where can i upload this file (otter-browser.appdata.xml)  for upstream ?
please rename the file to otter-browser.appdata.xml
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-08, 09:19:50
The general course of action is you fork the Git repository (https://github.com/Emdek/otter), you make your changes, and then you submit a pull request.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-08, 09:37:08

The general course of action is you fork the Git repository (https://github.com/Emdek/otter), you make your changes, and then you submit a pull request.


can you please do this just once for me ?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-08, 09:52:47
Is it supposed to go in the root?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-08, 09:53:31

Is it supposed to go in the root?


yes, thanks
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-08, 10:08:08
Alright, I submitted a PR (#566 (https://github.com/Emdek/otter/pull/566)). Now we wait to see what Emdek says. ;)
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Emdek on 2014-12-09, 09:45:52
@martinkg, shouldn't it have own entry in spec file (then it should be fine to put it into subdirectory) or it is added automatically?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-09, 12:16:53

@martinkg, shouldn't it have own entry in spec file (then it should be fine to put it into subdirectory) or it is added automatically?


please have a look in to rpm spec file for Fedora, the xml file will be copied.
https://martinkg.fedorapeople.org/Review/SPECS/otter-browser.spec
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Emdek on 2014-12-09, 21:19:02
@martinkg, so it can be moved to packaging/, right?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-10, 07:10:03

@martinkg, so it can be moved to packaging/, right?


yes of course, many thanks.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-10, 10:17:59
I'll rebase my PR. Does that mean packaging/otter-browser.appdata.xml or another subdirectory in there?
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Emdek on 2014-12-10, 19:34:38
@Frenzie, yes, it's fine.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-10, 21:17:16
Alright, rebased and should be good to go.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: martinkg on 2014-12-12, 17:30:26

Alright, rebased and should be good to go.


@Frenzie,

could you please push the file otter-browser.appdata.xml in to git, i've made a few changes.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Emdek on 2014-12-12, 18:32:36
@martinkg, done.
Title: Re: otter-browser.appdata.xml AppData files for GNOME-Software
Post by: Frenzie on 2014-12-12, 19:18:23
 :up: