View Issue Details

IDProjectCategoryView StatusLast Update
0001188SkyChart1-Softwarepublic14-03-29 17:55
ReporterMattia Verga Assigned ToPatrick Chevalley  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Platformx86OSLinuxOS Version3
Product Version3.9 SVN 
Target Version3.10Fixed in Version3.9 SVN 
Summary0001188: Patch to add appdata file
DescriptionAttached patch add appdata file for skychart as described at http://people.freedesktop.org/~hughsient/appdata/
Please note that I added the contact email found on skychart website. Also, a better and updated screenshot can be used instead of that I specified in the appdata file (but it should be added somewhere on the site).
TagsNo tags attached.
Attached Files
appdata.patch (2,902 bytes)   
--- a/install.sh	2012-02-02 10:34:34.000000000 +0100
+++ b/install.sh	2013-09-27 19:16:43.581411907 +0200
@@ -33,6 +33,7 @@
 install -v -m 644 -s skychart/library/plan404/libplan404.so  $destdir/lib/libplan404.so
 install -v -m 644 -s skychart/library/wcs/libcdcwcs.so  $destdir/lib/libcdcwcs.so
 install -v -m 644 system_integration/Linux/share/applications/skychart.desktop $destdir/share/applications/skychart.desktop
+install -v -m 644 system_integration/Linux/share/appdata/skychart.appdata.xml $destdir/share/appdata/skychart.appdata.xml
 install -v -m 644 system_integration/Linux/share/doc/skychart/changelog $destdir/share/doc/skychart/changelog
 install -v -m 644 system_integration/Linux/share/doc/skychart/copyright $destdir/share/doc/skychart/copyright
 install -v -m 644 system_integration/Linux/share/pixmaps/skychart.png $destdir/share/pixmaps/skychart.png

--- a/system_integration/Linux/rpm/SPECS/skychart.spec	2012-03-06 13:35:01.000000000 +0100
+++ b/system_integration/Linux/rpm/SPECS/skychart.spec	2013-09-28 09:35:23.065108324 +0200
@@ -24,6 +24,7 @@
 /usr/lib/libplan404.so
 /usr/lib/libgetdss.so
 /usr/lib/libcdcwcs.so
+/usr/share/appdata/skychart.appdata.xml
 /usr/share/applications/skychart.desktop
 /usr/share/pixmaps/skychart.png
 /usr/share/icons/hicolor/48x48/apps/skychart.png

--- a/system_integration/Linux/rpm/SPECS/skychart64.spec	2012-02-02 10:34:34.000000000 +0100
+++ b/system_integration/Linux/rpm/SPECS/skychart64.spec	2013-09-28 09:35:44.170977882 +0200
@@ -24,6 +24,7 @@
 /usr/lib64/libplan404.so
 /usr/lib64/libgetdss.so
 /usr/lib64/libcdcwcs.so
+/usr/share/appdata/skychart.appdata.xml
 /usr/share/applications/skychart.desktop
 /usr/share/pixmaps/skychart.png
 /usr/share/icons/hicolor/48x48/apps/skychart.png

--- a/system_integration/Linux/share/appdata/skychart.appdata.xml	1970-01-01 01:00:00.000000000 +0100
+++ b/system_integration/Linux/share/appdata/skychart.appdata.xml	2013-09-28 09:34:31.213427134 +0200
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">skychart.desktop</id>
+ <licence>CC0</licence>
+ <description>
+  <p>
+   Skychart is a free and advanced planetarium software for drawing sky charts
+   for specific places and times with nicely graphic and for controlling
+   telescopes by connecting them to pc.
+   It can also calculate Solar System objects visibility and data, like planets,
+   comets and asteroids, and display moon and planets in realistic mode.
+   Skychart also includes VarObs, a software to help astronomers to get data
+   for variable stars observation.
+  </p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="800" height="600">http://www.ap-i.net/skychart/_media/en/screenshot/vo_m101.jpg</screenshot>
+ </screenshots>
+ <url type="homepage">http://www.ap-i.net/skychart/</url>
+ <updatecontact>pch@freesurf.ch</updatecontact>
+</application>
appdata.patch (2,902 bytes)   

Activities

Patrick Chevalley

13-09-28 17:38

administrator   ~0002582

Hi Mattia,

Thank you to point to this new installer system.
I am OK to add the skychart.appdata.xml file to my source repository.

But I just have a problem with the /usr/share/appdata directory.
This directory do not exist on most of the system right now and I am reluctant to the idea to have the skychart package to create this directory.

What do you think about that?

Mattia Verga

13-09-29 15:19

reporter   ~0002586

I don't think this is a big concern: as soon as filesystem layout will be updated to include the new directory it will take the ownership of that.
For example, on Fedora 19 the filesystem layout has not yet been updated to include /usr/share/appdata, but I found that the directory has already been created by another app (gnome-abrt).

Regarding my patch, I found an error: in install.sh should be created another new line for installing the appdata directory.

Patrick Chevalley

13-09-29 18:26

administrator   ~0002587

Thank you for the explanation.
I have added the install for appdata directory and changed the email to the current one.
I applied the patch in two time because I am a bit tired today :)
http://sourceforge.net/p/skychart/code/2608/
http://sourceforge.net/p/skychart/code/2609/

Issue History

Date Modified Username Field Change
13-09-28 09:39 Mattia Verga New Issue
13-09-28 09:39 Mattia Verga File Added: appdata.patch
13-09-28 17:38 Patrick Chevalley Note Added: 0002582
13-09-28 17:38 Patrick Chevalley Assigned To => Patrick Chevalley
13-09-28 17:38 Patrick Chevalley Status new => feedback
13-09-29 15:19 Mattia Verga Note Added: 0002586
13-09-29 15:19 Mattia Verga Status feedback => assigned
13-09-29 18:26 Patrick Chevalley Note Added: 0002587
13-09-29 18:26 Patrick Chevalley Status assigned => resolved
13-09-29 18:26 Patrick Chevalley Resolution open => fixed
13-09-29 18:26 Patrick Chevalley Fixed in Version 0.3.0 => 3.9 SVN
13-09-29 18:26 Patrick Chevalley Target Version 0.3.0 => 3.10
14-03-29 17:55 Patrick Chevalley Status resolved => closed