From 1959b486e6ce10bf37165edc4d06dec969002290 Mon Sep 17 00:00:00 2001
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Date: Fri, 15 Dec 2017 02:34:15 +0100
Subject: [PATCH] Remove gajim-remote.desktop, its URI handling is now done in
 Gajim itself.

---
 data/gajim-remote.desktop.in | 12 ------------
 setup.py                     |  2 --
 2 files changed, 14 deletions(-)
 delete mode 100644 data/gajim-remote.desktop.in

diff --git a/data/gajim-remote.desktop.in b/data/gajim-remote.desktop.in
deleted file mode 100644
index 71d1645393..0000000000
--- a/data/gajim-remote.desktop.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Categories=Network;InstantMessaging;RemoteAccess;ConsoleOnly;
-Name=Open URI using Gajim
-# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
-Keywords=chat;messaging;im;jabber;xmpp;bonjour;voip;
-Version=1.0
-Exec=gajim-remote handle_uri %u
-TryExec=gajim-remote
-StartupNotify=false
-Terminal=false
-Type=Application
-NoDisplay=true
diff --git a/setup.py b/setup.py
index 0883305cb2..8c93f99066 100755
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,6 @@ def update_trans():
     template = os.path.join('po', 'gajim.pot')
     files = [os.path.join(root, f) for root, d, files in os.walk('gajim') for f in files if os.path.isfile(
         os.path.join(root, f)) and (f.endswith('.py') or f.endswith('.ui'))]
-    files.append(os.path.join("data", "gajim-remote.desktop.in"))
     files.append(os.path.join("data", "org.gajim.Gajim.desktop.in"))
     files.append(os.path.join("data", "org.gajim.Gajim.appdata.xml.in"))
     cmd = 'xgettext --from-code=utf-8 -o %s %s' % (
@@ -116,7 +115,6 @@ def build_intl(build_cmd):
     base = build_dir
 
     merge_files = (('data/org.gajim.Gajim.desktop', 'share/applications', '--desktop'),
-                   ('data/gajim-remote.desktop', 'share/applications', '--desktop'),
                    ('data/org.gajim.Gajim.appdata.xml', 'share/metainfo', '--xml'))
 
     for filename, target, option in merge_files:
-- 
GitLab