[Github-comments] [geany/geany] Add appdata file and make it known to Makefile.am (#1142)
Colomban Wendling
notifications at xxxxx
Wed Jul 20 17:36:00 UTC 2016
> + </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. -->
> + <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>
> + <translation type="gettext">@GETTEXT_PACKAGE@</translation>
That won't work just like that, it need to be replaced. Something like that would work:
```diff
diff --git a/Makefile.am b/Makefile.am
index 1e65e44..351afb8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@ WIN32_BUILD_FILES = \
EXTRA_DIST = \
autogen.sh \
scripts/gen-api-gtkdoc.py \
- geany.appdata.xml.in \
+ geany.appdata.xml.in.in \
geany.desktop.in \
geany.pc.in \
geany.spec \
diff --git a/configure.ac b/configure.ac
index d921e95..6407bda 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,6 +162,7 @@ AC_CONFIG_FILES([
geany.spec
geany.pc
geany.nsi
+ geany.appdata.xml.in
doc/Doxyfile
tests/Makefile
tests/ctags/Makefile
diff --git a/geany.appdata.xml.in b/geany.appdata.xml.in.in
similarity index 100%
rename from geany.appdata.xml.in
rename to geany.appdata.xml.in.in
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1142/files/32c4f451695b330b5b74be23a93d02f4218908e6#r71570822
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160720/d27b63f4/attachment.html>
More information about the Github-comments
mailing list