From 23bd019c32a9e24806f2877fc70d6328e0b24685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org> Date: Tue, 11 Jan 2022 01:53:09 +0000 Subject: [PATCH] Fix small open with issue (LP:#1714264) 10.0 --- helpers/DATA/mtpaint/mtpaint-desktop.patch | 11 ++++++++ helpers/make-mtpaint | 30 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 helpers/DATA/mtpaint/mtpaint-desktop.patch create mode 100644 helpers/make-mtpaint diff --git a/helpers/DATA/mtpaint/mtpaint-desktop.patch b/helpers/DATA/mtpaint/mtpaint-desktop.patch new file mode 100644 index 00000000..6660b232 --- /dev/null +++ b/helpers/DATA/mtpaint/mtpaint-desktop.patch @@ -0,0 +1,11 @@ +--- a/debian/mtpaint.desktop 2017-08-31 10:16:04.887637107 -0400 ++++ b/debian/mtpaint.desktop 2017-08-31 10:16:13.410891946 -0400 +@@ -6,7 +6,7 @@ + Comment[es_ES]=programa de pintura para crear pixel art y manipular fotos digitales + Comment[pt_BR]=programa de pintura para criar pixel art e manipular fotos digitais + Type=Application +-Exec=mtpaint %U ++Exec=mtpaint %f + Icon=mtpaint + Categories=Graphics;RasterGraphics; + Keywords=graphics;editor diff --git a/helpers/make-mtpaint b/helpers/make-mtpaint new file mode 100644 index 00000000..ec11c56b --- /dev/null +++ b/helpers/make-mtpaint @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Copyright (C) 2022 Trisquel GNU/Linux developers +# <trisquel-devel@listas.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=0 + +. ./config + +#Apply path for handle open with, fix LP:#1714264 +patch -p1 < $DATA/mtpaint-desktop.patch + +changelog "Remove nvidia-settings dependency." + +compile -- GitLab