New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add appdata file and make it known to Makefile.am #1142
Changes from 7 commits
78dc206
4dfb964
4674d12
923ec5b
7097a9d
7f9bcab
2be68cb
ed86b5a
0eac4c6
976898a
32c4f45
fbe987a
7b6e4be
b8885f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ WIN32_BUILD_FILES = \ | |
EXTRA_DIST = \ | ||
autogen.sh \ | ||
scripts/gen-api-gtkdoc.py \ | ||
geany.appdata.xml.in \ | ||
geany.desktop.in \ | ||
geany.pc.in \ | ||
geany.spec \ | ||
|
@@ -85,3 +86,9 @@ desktopdir = $(datadir)/applications | |
desktop_in_files = geany.desktop | ||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) | ||
@INTLTOOL_DESKTOP_RULE@ | ||
|
||
appdata_in_files = geany.appdata.xml.in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be at the same place as the desktop one relative to the dir and other definitions, and the extra blank line removed. |
||
|
||
appdatadir = $(datadir)/appdata | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. generally, there is a trend toward /usr/share/metainfo - for new code I'd recommend following this move. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since its for distros why should we say where it goes? Different distributions put things in different places, it shoudlbe up to them. Since this is no use for anyone who installs geany from tarball or source it doesn't need to be installed by our build. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Indeed, that's what all linked docs state (they are unexpectedly consistent on that) |
||
nodist_appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
@INTLTOOL_XML_RULE@ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<component> | ||
<id type="desktop">geany.desktop</id> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this one file in the entire source not GPL? I suspect LICENSE needs updating. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A permissive license is required for the metadata file alone; see here |
||
<_name>Geany IDE</_name> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now pkgname is gone, maybe this should be |
||
<project_license>GPL-2.0+</project_license> | ||
<_summary>A fast and lightweight IDE</_summary> | ||
<url type="homepage">http://geany.org/</url> | ||
<description> | ||
<_p>Geany was developed to provide a small and fast IDE, which has only a | ||
few dependencies on other packages. Another goal was to be as independent | ||
as possible from a specific Desktop Environment like KDE or GNOME.</_p> | ||
|
||
<_p>Geany includes the following features:</_p> | ||
<ul> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. List probably needs a heading like "Geany includes:" |
||
<_li>Syntax highlighting</_li> | ||
<_li>Code completion</_li> | ||
<_li>Auto completion of often used constructs like if, for and while</_li> | ||
<_li>Auto completion of XML and HTML tags</_li> | ||
<_li>Call tips</_li> | ||
<_li>Code folding</_li> | ||
<_li>Many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal</_li> | ||
<_li>Symbol lists</_li> | ||
<_li>Embedded terminal emulation</_li> | ||
<_li>Extensibility through plugins.</_li> | ||
</ul> | ||
</description> | ||
<screenshots> | ||
<!-- Screenshots are recommended to be 16:9 ratio but the ones here from the main website are not. Please | ||
change the links to point to appropriate 16:9 sized screenshots. --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So additional maintenance work required to keep screenshots updated? and which distro and theme do we make them for? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only if you want to. Think of this as as advertisement for your app. You choose to put the screenshots that best shows your app off. |
||
<screenshot type="default"> | ||
<image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_main.png</image> | ||
</screenshot> | ||
<screenshot> | ||
<image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_build.png</image> | ||
</screenshot> | ||
<screenshot> | ||
<image height="808" width="942">http://www.geany.org/uploads/Gallery/geany_vte.png</image> | ||
</screenshot> | ||
</screenshots> | ||
<update_contact>https://github.com/geany/geany</update_contact> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's unfortunately unclear whether anything else than an email address is allowed. But well, I prefer that. |
||
</component> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I am probably wrong, but I don't see it. Everything lines up just well:
https://github.com/badshah400/geany/blob/master/Makefile.am
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, because GitHub uses tab stops of 8 and doesn't display tabs or spaces themselves, so it alignes,but it should be exactly one tab like the other lines, not 4 spaces. And you can see in the diff that it's not aligned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, thanks!