[gnome-packagekit] Use 16:9 screenshots in the AppData files



commit 722f8767b17d6ba2cd21f2b770acb074f4af2f24
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 14 12:13:27 2013 +0100

    Use 16:9 screenshots in the AppData files

 configure.ac                                       |    1 +
 data/Makefile.am                                   |   13 +------------
 data/appdata/.gitignore                            |    1 +
 data/appdata/Makefile.am                           |   10 ++++++++++
 data/{ => appdata}/gpk-application.appdata.xml.in  |    4 ++--
 .../{ => appdata}/gpk-update-viewer.appdata.xml.in |    3 +--
 data/appdata/ss-application-details.png            |  Bin 0 -> 137541 bytes
 data/appdata/ss-application.png                    |  Bin 0 -> 99644 bytes
 data/appdata/ss-log.png                            |  Bin 0 -> 111815 bytes
 data/appdata/ss-prefs.png                          |  Bin 0 -> 33080 bytes
 data/appdata/ss-service-pack.png                   |  Bin 0 -> 32144 bytes
 data/appdata/ss-updater.png                        |  Bin 0 -> 80834 bytes
 po/POTFILES.in                                     |    4 ++--
 13 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8daeea4..13f6faf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,6 +232,7 @@ help/Makefile
 man/Makefile
 po/Makefile.in
 data/Makefile
+data/appdata/Makefile
 docs/Makefile
 docs/dbus/Makefile
 data/icons/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index fd6bd45..26d0450 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,17 +1,10 @@
 NULL =
 
-SUBDIRS = icons
+SUBDIRS = appdata icons
 
 migrationdir = $(datadir)/GConf/gsettings
 dist_migration_DATA = org.gnome.packagekit.gschema.migrate
 
- INTLTOOL_XML_RULE@
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdata_in_files =                                     \
-       gpk-application.appdata.xml.in                  \
-       gpk-update-viewer.appdata.xml.in
-
 @INTLTOOL_DESKTOP_RULE@
 desktopdir = $(datadir)/applications
 desktop_in_files =                                     \
@@ -54,7 +47,6 @@ gsettings_SCHEMAS = org.gnome.packagekit.gschema.xml
 
 EXTRA_DIST =                                           \
        $(gsettings_SCHEMAS)                            \
-       $(appdata_in_files)                             \
        $(autostart_in_files)                           \
        $(desktop_in_files)                             \
        $(pkgdata_DATA)                                 \
@@ -64,9 +56,6 @@ EXTRA_DIST =                                          \
 clean-local :
        rm -f *~
 
-CLEANFILES =                                           \
-       $(appdata_DATA)
-
 DISTCLEANFILES =                                       \
        gpk-prefs.desktop                               \
        gpk-service-pack.desktop                        \
diff --git a/data/appdata/.gitignore b/data/appdata/.gitignore
new file mode 100644
index 0000000..6722cd9
--- /dev/null
+++ b/data/appdata/.gitignore
@@ -0,0 +1 @@
+*.xml
diff --git a/data/appdata/Makefile.am b/data/appdata/Makefile.am
new file mode 100644
index 0000000..08ea553
--- /dev/null
+++ b/data/appdata/Makefile.am
@@ -0,0 +1,10 @@
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files =                                     \
+       gpk-application.appdata.xml.in                  \
+       gpk-update-viewer.appdata.xml.in
+EXTRA_DIST = $(appdata_in_files)
+CLEANFILES = $(appdata_DATA)
+
+
diff --git a/data/gpk-application.appdata.xml.in b/data/appdata/gpk-application.appdata.xml.in
similarity index 78%
rename from data/gpk-application.appdata.xml.in
rename to data/appdata/gpk-application.appdata.xml.in
index 3fabaf0..d98c0f8 100644
--- a/data/gpk-application.appdata.xml.in
+++ b/data/appdata/gpk-application.appdata.xml.in
@@ -18,8 +18,8 @@
     </_p>
   </description>
   <screenshots>
-    <screenshot 
type="default">http://www.packagekit.org/img/thumbnails/gpk-application-search.png</screenshot>
-    <screenshot>http://www.packagekit.org/img/thumbnails/gpk-run-application.png</screenshot>
+    <screenshot 
type="default">https://git.gnome.org/browse/gnome-packagekit/plain/data/appdata/ss-application.png</screenshot>
+    
<screenshot>https://git.gnome.org/browse/gnome-packagekit/plain/data/appdata/ss-application-details.png</screenshot>
   </screenshots>
   <url type="homepage">http://www.packagekit.org/</url>
   <updatecontact>richard_at_hughsie.com</updatecontact>
diff --git a/data/gpk-update-viewer.appdata.xml.in b/data/appdata/gpk-update-viewer.appdata.xml.in
similarity index 80%
rename from data/gpk-update-viewer.appdata.xml.in
rename to data/appdata/gpk-update-viewer.appdata.xml.in
index 0df57b5..1c8b6dc 100644
--- a/data/gpk-update-viewer.appdata.xml.in
+++ b/data/appdata/gpk-update-viewer.appdata.xml.in
@@ -16,8 +16,7 @@
     </_p>
   </description>
   <screenshots>
-    <screenshot type="default">http://www.packagekit.org/img/thumbnails/gpk-updates.png</screenshot>
-    <screenshot>http://www.packagekit.org/img/thumbnails/gpk-eula.png</screenshot>
+    <screenshot 
type="default">https://git.gnome.org/browse/gnome-packagekit/plain/data/appdata/ss-updater.png</screenshot>
   </screenshots>
   <url type="homepage">http://www.packagekit.org/</url>
   <updatecontact>richard_at_hughsie.com</updatecontact>
diff --git a/data/appdata/ss-application-details.png b/data/appdata/ss-application-details.png
new file mode 100644
index 0000000..7c4d2fd
Binary files /dev/null and b/data/appdata/ss-application-details.png differ
diff --git a/data/appdata/ss-application.png b/data/appdata/ss-application.png
new file mode 100644
index 0000000..14bb053
Binary files /dev/null and b/data/appdata/ss-application.png differ
diff --git a/data/appdata/ss-log.png b/data/appdata/ss-log.png
new file mode 100644
index 0000000..b54fa18
Binary files /dev/null and b/data/appdata/ss-log.png differ
diff --git a/data/appdata/ss-prefs.png b/data/appdata/ss-prefs.png
new file mode 100644
index 0000000..d0f0b24
Binary files /dev/null and b/data/appdata/ss-prefs.png differ
diff --git a/data/appdata/ss-service-pack.png b/data/appdata/ss-service-pack.png
new file mode 100644
index 0000000..67ad02c
Binary files /dev/null and b/data/appdata/ss-service-pack.png differ
diff --git a/data/appdata/ss-updater.png b/data/appdata/ss-updater.png
new file mode 100644
index 0000000..5a4d174
Binary files /dev/null and b/data/appdata/ss-updater.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c592483..5bbb80f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,8 +1,9 @@
 [encoding: UTF-8]
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+data/appdata/gpk-application.appdata.xml.in
+data/appdata/gpk-update-viewer.appdata.xml.in
 data/org.gnome.packagekit.gschema.xml
-data/gpk-application.appdata.xml.in
 data/gpk-application.desktop.in
 [type: gettext/glade]data/gpk-application.ui
 [type: gettext/glade]data/gpk-client.ui
@@ -19,7 +20,6 @@ data/gpk-prefs.desktop.in
 [type: gettext/glade]data/gpk-service-pack.ui
 [type: gettext/glade]data/gpk-signature.ui
 data/gpk-update-viewer.desktop.in
-data/gpk-update-viewer.appdata.xml.in
 data/gpk-distro-upgrade.desktop.in
 [type: gettext/glade]data/gpk-update-viewer.ui
 python/packagekit/gtkwidgets.py


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]