[hitori] build: Use correct prefix on icons, desktop file and appdata file
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori] build: Use correct prefix on icons, desktop file and appdata file
- Date: Thu, 19 Nov 2015 11:16:07 +0000 (UTC)
commit 7aa30ce4c7f414f1d32f876a5f68a88e75dfae71
Author: Philip Withnall <philip withnall collabora co uk>
Date: Thu Nov 19 11:14:56 2015 +0000
build: Use correct prefix on icons, desktop file and appdata file
Use the app-centric prefix ‘org.gnome.Hitori’ rather than ‘hitori’. This
makes us play better with xdg-app.
Makefile.am | 22 ++++++++++----------
.../16x16/{hitori.png => org.gnome.Hitori.png} | Bin 732 -> 732 bytes
.../16x16/{hitori.svg => org.gnome.Hitori.svg} | 0
.../22x22/{hitori.png => org.gnome.Hitori.png} | Bin 947 -> 947 bytes
.../22x22/{hitori.svg => org.gnome.Hitori.svg} | 0
.../32x32/{hitori.png => org.gnome.Hitori.png} | Bin 1481 -> 1481 bytes
.../32x32/{hitori.svg => org.gnome.Hitori.svg} | 0
.../48x48/{hitori.png => org.gnome.Hitori.png} | Bin 1345 -> 1345 bytes
.../48x48/{hitori.svg => org.gnome.Hitori.svg} | 0
...-symbolic.svg => org.gnome.Hitori-symbolic.svg} | 0
...data.xml.in => org.gnome.Hitori.appdata.xml.in} | 0
...tori.desktop.in => org.gnome.Hitori.desktop.in} | 0
po/POTFILES.in | 4 +-
13 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5dbbff6..3631b07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,24 +56,24 @@ update-icon-cache:
fi
icon16dir = $(icon_dir)/16x16/apps
-icon16_DATA = data/icons/16x16/hitori.png
+icon16_DATA = data/icons/16x16/org.gnome.Hitori.png
icon22dir = $(icon_dir)/22x22/apps
-icon22_DATA = data/icons/22x22/hitori.png
+icon22_DATA = data/icons/22x22/org.gnome.Hitori.png
icon32dir = $(icon_dir)/32x32/apps
-icon32_DATA = data/icons/32x32/hitori.png
+icon32_DATA = data/icons/32x32/org.gnome.Hitori.png
icon48dir = $(icon_dir)/48x48/apps
-icon48_DATA = data/icons/48x48/hitori.png
+icon48_DATA = data/icons/48x48/org.gnome.Hitori.png
iconsymbolicdir = $(icon_dir)/symbolic/apps
-iconsymbolic_DATA = data/icons/symbolic/hitori-symbolic.svg
+iconsymbolic_DATA = data/icons/symbolic/org.gnome.Hitori-symbolic.svg
EXTRA_DIST = \
- data/icons/16x16/hitori.svg \
+ data/icons/16x16/org.gnome.Hitori.svg \
$(icon16_DATA) \
- data/icons/22x22/hitori.svg \
+ data/icons/22x22/org.gnome.Hitori.svg \
$(icon22_DATA) \
- data/icons/32x32/hitori.svg \
+ data/icons/32x32/org.gnome.Hitori.svg \
$(icon32_DATA) \
- data/icons/48x48/hitori.svg \
+ data/icons/48x48/org.gnome.Hitori.svg \
$(icon48_DATA) \
$(iconsymbolic_DATA) \
$(NULL)
@@ -100,7 +100,7 @@ gsettings_SCHEMAS = data/org.gnome.hitori.gschema.xml
%.desktop: %.desktop.in
$(MKDIR_P) $(dir $@); LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache
$(top_srcdir)/po $< $@
-desktop_in_files = data/hitori.desktop.in
+desktop_in_files = data/org.gnome.Hitori.desktop.in
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@@ -114,7 +114,7 @@ CLEANFILES += $(desktop_DATA)
@APPSTREAM_XML_RULES@
@INTLTOOL_XML_RULE@
-appstream_in_files = data/hitori.appdata.xml.in
+appstream_in_files = data/org.gnome.Hitori.appdata.xml.in
appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
EXTRA_DIST += $(appstream_in_files)
diff --git a/data/icons/16x16/hitori.svg b/data/icons/16x16/org.gnome.Hitori.svg
similarity index 100%
rename from data/icons/16x16/hitori.svg
rename to data/icons/16x16/org.gnome.Hitori.svg
diff --git a/data/icons/22x22/hitori.svg b/data/icons/22x22/org.gnome.Hitori.svg
similarity index 100%
rename from data/icons/22x22/hitori.svg
rename to data/icons/22x22/org.gnome.Hitori.svg
diff --git a/data/icons/32x32/hitori.svg b/data/icons/32x32/org.gnome.Hitori.svg
similarity index 100%
rename from data/icons/32x32/hitori.svg
rename to data/icons/32x32/org.gnome.Hitori.svg
diff --git a/data/icons/48x48/hitori.svg b/data/icons/48x48/org.gnome.Hitori.svg
similarity index 100%
rename from data/icons/48x48/hitori.svg
rename to data/icons/48x48/org.gnome.Hitori.svg
diff --git a/data/icons/symbolic/hitori-symbolic.svg b/data/icons/symbolic/org.gnome.Hitori-symbolic.svg
similarity index 100%
rename from data/icons/symbolic/hitori-symbolic.svg
rename to data/icons/symbolic/org.gnome.Hitori-symbolic.svg
diff --git a/data/hitori.appdata.xml.in b/data/org.gnome.Hitori.appdata.xml.in
similarity index 100%
rename from data/hitori.appdata.xml.in
rename to data/org.gnome.Hitori.appdata.xml.in
diff --git a/data/hitori.desktop.in b/data/org.gnome.Hitori.desktop.in
similarity index 100%
rename from data/hitori.desktop.in
rename to data/org.gnome.Hitori.desktop.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index cf7353c..f1b6229 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
# List of source files containing translatable strings.
[encoding: UTF-8]
-data/hitori.desktop.in
-data/hitori.appdata.xml.in
+data/org.gnome.Hitori.desktop.in
+data/org.gnome.Hitori.appdata.xml.in
[type: gettext/glade]data/hitori-menus.ui
[type: gettext/glade]data/hitori.ui
data/org.gnome.hitori.gschema.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]