[gnome-boxes/wip/inigomartinez/meson: 9/13] meson: Rename Boxes desktop file



commit 1d3080174098ccd72e21106445a2ca6ad8c33cff
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Dec 10 03:32:31 2017 +0100

    meson: Rename Boxes desktop file
    
    The desktop file has a wrong extension due to the compatibility
    reasons with autotools. However, now that autotools is removed,
    the file can be renamed properly.
    
    This patch renames the file leaving only a `.in` extension which
    is used as an indication that it must be translated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791421

 data/meson.build                                   |    2 +-
 ...es.desktop.in.in => org.gnome.Boxes.desktop.in} |    0
 po/POTFILES.in                                     |    2 +-
 po/POTFILES.skip                                   |    1 -
 4 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 0bf8bdb..d4125ff 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -6,7 +6,7 @@ resources = gnome.compile_resources ('org.gnome.Boxes',
                                      c_name: 'resources')
 
 custom_target ('desktop-file',
-              input: files ('org.gnome.Boxes.desktop.in.in'),
+              input: 'org.gnome.Boxes.desktop.in',
               output: 'org.gnome.Boxes.desktop',
               install: true,
               install_dir: join_paths (data_dir, 'applications'),
diff --git a/data/org.gnome.Boxes.desktop.in.in b/data/org.gnome.Boxes.desktop.in
similarity index 100%
rename from data/org.gnome.Boxes.desktop.in.in
rename to data/org.gnome.Boxes.desktop.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f9f8574..9dbe4bb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
 data/org.gnome.Boxes.appdata.xml.in
-data/org.gnome.Boxes.desktop.in.in
+data/org.gnome.Boxes.desktop.in
 data/gnome-boxes-search-provider.ini.in
 data/org.gnome.boxes.gschema.xml
 data/ui/app-window.ui
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 77e42ae..fa252d7 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,6 +1,5 @@
 # List of source files that should *not* be translated.
 # Please keep this file sorted alphabetically.
-data/org.gnome.Boxes.desktop.in
 src/actions-popover.c
 src/app.c
 src/app-window.c


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