Skip to content

Commit 91a4a3f

Browse files
AsciiWolfcsete
authored andcommitted
Desktop fixes
- Add svg icon installed into a standard icons dir instead of the non-standard dimensions png in pixmaps - Rename the desktop icon to just "gpredict" to match desktop file name - Add AppStream metainfo file - Fix Makefile formatting
1 parent 098e376 commit 91a4a3f

File tree

13 files changed

+154
-20
lines changed

13 files changed

+154
-20
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ACLOCAL_AMFLAGS = -I m4
2-
SUBDIRS = src doc pixmaps data po
2+
SUBDIRS = src doc icons pixmaps data po
33

44
BUILT_SOURCES = $(top_srcdir)/.version
55
$(top_srcdir)/.version:

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,14 @@ doc/man/Makefile
126126
src/Makefile
127127
src/sgpsdp/Makefile
128128
src/sgpsdp/TR/Makefile
129+
icons/Makefile
129130
pixmaps/Makefile
130131
pixmaps/maps/Makefile
131132
pixmaps/logos/Makefile
132133
pixmaps/icons/Makefile
133134
data/Makefile
134135
data/desktop/Makefile
136+
data/metainfo/Makefile
135137
data/satdata/Makefile
136138
po/Makefile.in
137139
])

data/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = satdata desktop
1+
SUBDIRS = satdata desktop metainfo
22

33
gpredict_datdir = $(pkgdatadir)/data
44

data/desktop/gpredict.desktop.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Name=Gpredict
33
Comment=Satellite tracker
44
Exec=gpredict
5-
Icon=gpredict-icon
5+
Icon=gpredict
66
Terminal=false
77
Type=Application
88
Categories=HamRadio;Science;Astronomy;Education;Network;

data/metainfo/Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
gpredict_metainfodir = $(datadir)/metainfo
2+
3+
gpredict_metainfo_DATA = dk.oz9aec.Gpredict.metainfo.xml
4+
5+
EXTRA_DIST = $(gpredict_metainfo_DATA)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>dk.oz9aec.Gpredict</id>
4+
<name>Gpredict</name>
5+
<developer_name>Alexandru Csete</developer_name>
6+
<summary>Real-time satellite tracking and orbit prediction program</summary>
7+
<description>
8+
<p>Gpredict is a real time satellite tracking and orbit prediction program written using the Gtk+ widgets.</p>
9+
<p>Gpredict is targeted mainly towards ham radio operators but others interested in satellite tracking may find it useful as well.</p>
10+
</description>
11+
<categories>
12+
<category>Astronomy</category>
13+
<category>Education</category>
14+
<category>HamRadio</category>
15+
<category>Network</category>
16+
<category>Science</category>
17+
</categories>
18+
<metadata_license>CC-BY-SA-3.0</metadata_license>
19+
<project_license>GPL-2.0+</project_license>
20+
<provides>
21+
<id>gpredict.desktop</id>
22+
</provides>
23+
<url type="homepage">https://oz9aec.dk/gpredict/</url>
24+
<screenshots>
25+
<screenshot type="default">
26+
<image>https://live.staticflickr.com/8089/28902144392_8cd36d57fe_b.jpg</image>
27+
</screenshot>
28+
</screenshots>
29+
<launchable type="desktop-id">gpredict.desktop</launchable>
30+
<content_rating type="oars-1.1" />
31+
</component>

data/satdata/Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
21
gpredict_satdir = $(pkgdatadir)/data/satdata
32

43
gpredict_sat_DATA = satellites.dat *.cat
54

65
EXTRA_DIST = $(gpredict_sat_DATA)
7-

icons/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Makefile
2+
Makefile.in

icons/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gpredict_iconsdir = $(datadir)/icons/hicolor/scalable/apps
2+
gpredict_icons_DATA = gpredict.svg
3+
4+
EXTRA_DIST = $(gpredict_icons_DATA)

icons/gpredict.svg

Lines changed: 98 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)