From b9d32e6f57101a08ff638e9d732c62b7fb77eb64 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Tue, 24 Jan 2023 10:54:23 -0500 Subject: [PATCH] Added make-xterm: Do not install .desktop files --- helpers/make-xterm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 helpers/make-xterm diff --git a/helpers/make-xterm b/helpers/make-xterm new file mode 100644 index 00000000..2419fdb2 --- /dev/null +++ b/helpers/make-xterm @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2023 Ruben Rodriguez <ruben@trisquel.info> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=1 + +. ./config + +sed 's/--with-desktop-category.* \\/--disable-desktop \\/' -i debian/rules +sed 's/-- install-desktop//' -i debian/rules +sed '/usr\/share\/applications/d' -i debian/xterm.install + +changelog "Do not install .desktop files" + +compile -- GitLab