[gnome-boxes] build: Rename Boxes desktop file



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

    build: Rename Boxes desktop file
    
    The desktop file has two `.in` extensions due to the two steps
    to be perfomerd: variable substitution and translation merge.
    
    However, there are no variables to be substituted so one of the
    `.in` extensions can be removed.
    
    This patch renames the file leaving only a `.in` extension which
    is used as an indication that translations must be merged.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791421

 configure.ac                                       |    1 -
 data/meson.build                                   |    2 +-
 ...es.desktop.in.in => org.gnome.Boxes.desktop.in} |    0
 po/POTFILES.in                                     |    2 +-
 po/POTFILES.skip                                   |    1 -
 5 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d439ee8..d0cfe65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,7 +189,6 @@ BEHAVE_INSTALLED_TESTS
 AC_CONFIG_FILES([
   Makefile
   data/Makefile
-  data/org.gnome.Boxes.desktop.in
   data/icons/Makefile
   data/osinfo/Makefile
   help/Makefile
diff --git a/data/meson.build b/data/meson.build
index 1b5a530..d9257fe 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 c8ed07c..9da8271 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/org.gnome.boxes.gschema.xml
 data/ui/app-window.ui
 data/ui/auth-notification.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]