[evolution] Rename evolution.desktop to org.gnome.Evolution.desktop
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Rename evolution.desktop to org.gnome.Evolution.desktop
- Date: Fri, 1 Sep 2017 12:59:44 +0000 (UTC)
commit 3f892a06345ae4df70611bb733f2d5b9eb2036a5
Author: Milan Crha <mcrha redhat com>
Date: Fri Sep 1 14:58:13 2017 +0200
Rename evolution.desktop to org.gnome.Evolution.desktop
And some related changes around appdata and metainfo files as well.
CMakeLists.txt | 2 -
cmake/modules/FindIntltool.cmake | 2 +-
data/CMakeLists.txt | 22 ++++++++++---------
...org.gnome.Evolution-alarm-notify.desktop.in.in} | 0
.../org.gnome.Evolution.appdata.xml.in | 2 +-
...top.in.in => org.gnome.Evolution.desktop.in.in} | 0
po/POTFILES.in | 12 +++++-----
po/POTFILES.skip | 4 +-
src/e-util/e-attachment-view.c | 2 +-
src/modules/bogofilter/CMakeLists.txt | 2 +-
...org.gnome.Evolution-bogofilter.metainfo.xml.in} | 2 +-
src/modules/spamassassin/CMakeLists.txt | 2 +-
...g.gnome.Evolution-spamassassin.metainfo.xml.in} | 2 +-
src/plugins/pst-import/CMakeLists.txt | 2 +-
....in => org.gnome.Evolution-pst.metainfo.xml.in} | 2 +-
15 files changed, 29 insertions(+), 29 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39eca7b..70e96e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -718,8 +718,6 @@ add_pkgconfig_file(evolution-calendar.pc.in evolution-calendar-${INTERFACE_VERSI
add_pkgconfig_file(evolution-mail.pc.in evolution-mail-${INTERFACE_VERSION}.pc)
add_pkgconfig_file(evolution-shell.pc.in evolution-shell-${INTERFACE_VERSION}.pc)
-add_appdata_file(evolution.appdata.xml.in evolution.appdata.xml)
-
add_subdirectory(data)
add_subdirectory(po)
add_subdirectory(src)
diff --git a/cmake/modules/FindIntltool.cmake b/cmake/modules/FindIntltool.cmake
index a2c3547..1397b6d 100644
--- a/cmake/modules/FindIntltool.cmake
+++ b/cmake/modules/FindIntltool.cmake
@@ -189,7 +189,7 @@ macro(add_appdata_file _infilename _outfilename)
endif(NOT TARGET appdata-files)
set(_out ${_outfilename})
- get_filename_component(_outtarget ${_out} NAME_WE)
+ get_filename_component(_outtarget ${_out} NAME)
get_filename_component(_path ${_out} DIRECTORY)
if(_path STREQUAL "")
set(_out ${CMAKE_CURRENT_BINARY_DIR}/${_out})
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index e41dddc..7a21421 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -3,29 +3,31 @@ set(autostartdir ${SYSCONF_INSTALL_DIR}/xdg/autostart)
set(desktopdir ${SHARE_INSTALL_PREFIX}/applications)
set(themedir ${privdatadir}/theme)
-configure_file(evolution.desktop.in.in
- evolution.desktop.in
+configure_file(org.gnome.Evolution.desktop.in.in
+ org.gnome.Evolution.desktop.in
@ONLY
)
-intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/evolution.desktop.in evolution.desktop --desktop-style --utf8)
+intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop.in org.gnome.Evolution.desktop
--desktop-style --utf8)
-list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/evolution.desktop)
+list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/evolution.desktop
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution.desktop
DESTINATION ${desktopdir}
)
-configure_file(evolution-alarm-notify.desktop.in.in
- evolution-alarm-notify.desktop.in
+add_appdata_file(org.gnome.Evolution.appdata.xml.in org.gnome.Evolution.appdata.xml)
+
+configure_file(org.gnome.Evolution-alarm-notify.desktop.in.in
+ org.gnome.Evolution-alarm-notify.desktop.in
@ONLY
)
-intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/evolution-alarm-notify.desktop.in evolution-alarm-notify.desktop
--desktop-style --utf8)
+intltool_merge(${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop.in
org.gnome.Evolution-alarm-notify.desktop --desktop-style --utf8)
-list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/evolution-alarm-notify.desktop)
+list(APPEND filedeps ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/evolution-alarm-notify.desktop
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.gnome.Evolution-alarm-notify.desktop
DESTINATION ${autostartdir}
)
diff --git a/data/evolution-alarm-notify.desktop.in.in b/data/org.gnome.Evolution-alarm-notify.desktop.in.in
similarity index 100%
rename from data/evolution-alarm-notify.desktop.in.in
rename to data/org.gnome.Evolution-alarm-notify.desktop.in.in
diff --git a/evolution.appdata.xml.in b/data/org.gnome.Evolution.appdata.xml.in
similarity index 97%
rename from evolution.appdata.xml.in
rename to data/org.gnome.Evolution.appdata.xml.in
index fe9d664..f362bdc 100644
--- a/evolution.appdata.xml.in
+++ b/data/org.gnome.Evolution.appdata.xml.in
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
- <id>evolution.desktop</id>
+ <id>org.gnome.Evolution.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
<_name>Evolution</_name>
diff --git a/data/evolution.desktop.in.in b/data/org.gnome.Evolution.desktop.in.in
similarity index 100%
rename from data/evolution.desktop.in.in
rename to data/org.gnome.Evolution.desktop.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d0d411d..1fc9950 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,8 +1,5 @@
# List of source files containing translatable strings.
# Please keep this list in alphabetic order.
-evolution.appdata.xml.in
-data/evolution-alarm-notify.desktop.in.in
-data/evolution.desktop.in.in
data/org.gnome.evolution.addressbook.gschema.xml.in
data/org.gnome.evolution.bogofilter.gschema.xml.in
data/org.gnome.evolution.calendar.gschema.xml.in
@@ -22,6 +19,9 @@ data/org.gnome.evolution.plugin.templates.gschema.xml.in
data/org.gnome.evolution.shell.gschema.xml.in
data/org.gnome.evolution.spamassassin.gschema.xml.in
data/org.gnome.evolution.text-highlight.gschema.xml.in
+data/org.gnome.Evolution.appdata.xml.in
+data/org.gnome.Evolution.desktop.in.in
+data/org.gnome.Evolution-alarm-notify.desktop.in.in
data/views/addressbook/galview.xml
data/views/calendar/galview.xml
data/views/mail/galview.xml
@@ -399,7 +399,7 @@ src/modules/backup-restore/evolution-backup-restore.c
src/modules/backup-restore/evolution-backup-tool.c
src/modules/backup-restore/org-gnome-backup-restore.error.xml
src/modules/bogofilter/evolution-bogofilter.c
-src/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
+src/modules/bogofilter/org.gnome.Evolution-bogofilter.metainfo.xml.in
src/modules/book-config-google/evolution-book-config-google.c
src/modules/book-config-ldap/evolution-book-config-ldap.c
src/modules/book-config-webdav/evolution-book-config-webdav.c
@@ -468,7 +468,7 @@ src/modules/prefer-plain/e-mail-parser-prefer-plain.c
src/modules/prefer-plain/plugin/config-ui.c
src/modules/prefer-plain/plugin/org-gnome-prefer-plain.eplug.xml
src/modules/spamassassin/evolution-spamassassin.c
-src/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
+src/modules/spamassassin/org.gnome.Evolution-spamassassin.metainfo.xml.in
src/modules/startup-wizard/e-mail-config-import-page.c
src/modules/startup-wizard/e-mail-config-import-progress-page.c
src/modules/startup-wizard/e-startup-assistant.c
@@ -503,7 +503,7 @@ src/plugins/mail-notification/mail-notification.c
src/plugins/mail-notification/org-gnome-mail-notification.eplug.xml
src/plugins/mail-to-task/mail-to-task.c
src/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
-src/plugins/pst-import/evolution-pst.metainfo.xml.in
+src/plugins/pst-import/org.gnome.Evolution-pst.metainfo.xml.in
src/plugins/pst-import/org-gnome-pst-import.eplug.xml
src/plugins/pst-import/pst-importer.c
src/plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index ac3e45e..05fe1c9 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,6 +1,6 @@
build/
.build/
_build/
-data/evolution-alarm-notify.desktop.in
-data/evolution.desktop.in
+data/org.gnome.Evolution-alarm-notify.desktop.in
+data/org.gnome.Evolution.desktop.in
src/e-util/test-html-editor.c
diff --git a/src/e-util/e-attachment-view.c b/src/e-util/e-attachment-view.c
index 3b368d3..61b6c2d 100644
--- a/src/e-util/e-attachment-view.c
+++ b/src/e-util/e-attachment-view.c
@@ -769,7 +769,7 @@ attachment_view_update_actions (EAttachmentView *view)
continue;
/* Don't list 'Open With "Evolution"'. */
- if (g_str_equal (app_id, "evolution.desktop"))
+ if (g_str_equal (app_id, "org.gnome.Evolution.desktop"))
continue;
action_name = g_strdup_printf ("open-with-%s", app_id);
diff --git a/src/modules/bogofilter/CMakeLists.txt b/src/modules/bogofilter/CMakeLists.txt
index 39b43c7..858ade3 100644
--- a/src/modules/bogofilter/CMakeLists.txt
+++ b/src/modules/bogofilter/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_appdata_file(evolution-bogofilter.metainfo.xml.in evolution-bogofilter.metainfo.xml)
+add_appdata_file(org.gnome.Evolution-bogofilter.metainfo.xml.in org.gnome.Evolution-bogofilter.metainfo.xml)
set(extra_deps
email-engine
diff --git a/src/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
b/src/modules/bogofilter/org.gnome.Evolution-bogofilter.metainfo.xml.in
similarity index 91%
rename from src/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
rename to src/modules/bogofilter/org.gnome.Evolution-bogofilter.metainfo.xml.in
index 85dbd49..d9adaf8 100644
--- a/src/modules/bogofilter/evolution-bogofilter.metainfo.xml.in
+++ b/src/modules/bogofilter/org.gnome.Evolution-bogofilter.metainfo.xml.in
@@ -2,7 +2,7 @@
<!-- Copyright 2014 Evolution Team <evolution-hackers gnome org> -->
<component type="addon">
<id>evolution-bogofilter</id>
- <extends>evolution.desktop</extends>
+ <extends>org.gnome.Evolution.desktop</extends>
<_name>Bogofilter</_name>
<_summary>Junk filter using Bogofilter</_summary>
<url type="homepage">https://live.gnome.org/Apps/Evolution</url>
diff --git a/src/modules/spamassassin/CMakeLists.txt b/src/modules/spamassassin/CMakeLists.txt
index 74d2587..624f456 100644
--- a/src/modules/spamassassin/CMakeLists.txt
+++ b/src/modules/spamassassin/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_appdata_file(evolution-spamassassin.metainfo.xml.in evolution-spamassassin.metainfo.xml)
+add_appdata_file(org.gnome.Evolution-spamassassin.metainfo.xml.in
org.gnome.Evolution-spamassassin.metainfo.xml)
set(extra_deps
email-engine
diff --git a/src/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
b/src/modules/spamassassin/org.gnome.Evolution-spamassassin.metainfo.xml.in
similarity index 91%
rename from src/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
rename to src/modules/spamassassin/org.gnome.Evolution-spamassassin.metainfo.xml.in
index 8ceeff2..6cc6bcc 100644
--- a/src/modules/spamassassin/evolution-spamassassin.metainfo.xml.in
+++ b/src/modules/spamassassin/org.gnome.Evolution-spamassassin.metainfo.xml.in
@@ -2,7 +2,7 @@
<!-- Copyright 2014 Evolution Team <evolution-hackers gnome org> -->
<component type="addon">
<id>evolution-spamassassin</id>
- <extends>evolution.desktop</extends>
+ <extends>org.gnome.Evolution.desktop</extends>
<_name>SpamAssassin</_name>
<_summary>Junk filter using SpamAssassin</_summary>
<url type="homepage">https://live.gnome.org/Apps/Evolution</url>
diff --git a/src/plugins/pst-import/CMakeLists.txt b/src/plugins/pst-import/CMakeLists.txt
index 6b66393..e8bb55e 100644
--- a/src/plugins/pst-import/CMakeLists.txt
+++ b/src/plugins/pst-import/CMakeLists.txt
@@ -1,5 +1,5 @@
add_eplug_file(pst-import org-gnome-pst-import.eplug)
-add_appdata_file(evolution-pst.metainfo.xml.in evolution-pst.metainfo.xml)
+add_appdata_file(org.gnome.Evolution-pst.metainfo.xml.in org.gnome.Evolution-pst.metainfo.xml)
set(DEPENDENCIES
email-engine
diff --git a/src/plugins/pst-import/evolution-pst.metainfo.xml.in
b/src/plugins/pst-import/org.gnome.Evolution-pst.metainfo.xml.in
similarity index 91%
rename from src/plugins/pst-import/evolution-pst.metainfo.xml.in
rename to src/plugins/pst-import/org.gnome.Evolution-pst.metainfo.xml.in
index 7925b2f..f39dde7 100644
--- a/src/plugins/pst-import/evolution-pst.metainfo.xml.in
+++ b/src/plugins/pst-import/org.gnome.Evolution-pst.metainfo.xml.in
@@ -2,7 +2,7 @@
<!-- Copyright 2016 Evolution Team <evolution-hackers gnome org> -->
<component type="addon">
<id>evolution-pst</id>
- <extends>evolution.desktop</extends>
+ <extends>org.gnome.Evolution.desktop</extends>
<_name>Outlook PST import</_name>
<_summary>Import Outlook messages from PST file</_summary>
<url type="homepage">https://live.gnome.org/Apps/Evolution</url>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]