From ee92930e2693a46ceb3c4069cc160e999dd70538 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 9 Jan 2019 23:36:06 +0100 Subject: [PATCH] disable "use-apt" by default --- mate-mintmenu-disable-apt.patch | 12 ++++++++++++ mate-mintmenu.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 mate-mintmenu-disable-apt.patch diff --git a/mate-mintmenu-disable-apt.patch b/mate-mintmenu-disable-apt.patch new file mode 100644 index 0000000..fb30434 --- /dev/null +++ b/mate-mintmenu-disable-apt.patch @@ -0,0 +1,12 @@ +diff -urN mate-mintmenu-5.9.1.orig/mintmenu/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml mate-mintmenu-5.9.1/mintmenu/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml +--- mate-mintmenu-5.9.1.orig/mintmenu/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml 2019-01-09 23:31:46.713224352 +0100 ++++ mate-mintmenu-5.9.1/mintmenu/usr/share/glib-2.0/schemas/com.linuxmint.mintmenu.gschema.xml 2019-01-09 23:32:07.569734716 +0100 +@@ -249,7 +249,7 @@ + + + +- true ++ false + + + diff --git a/mate-mintmenu.spec b/mate-mintmenu.spec index 5f81bce..dea3a89 100644 --- a/mate-mintmenu.spec +++ b/mate-mintmenu.spec @@ -8,6 +8,7 @@ Group: X11/Applications Source0: http://packages.linuxmint.com/pool/main/m/mintmenu/mintmenu_%{version}.tar.xz # Source0-md5: 514377f50ec415bb4d1d6db9672ba070 Patch0: %{name}-icon.patch +Patch1: %{name}-disable-apt.patch URL: https://github.com/linuxmint/mintmenu BuildRequires: sed >= 4.0 BuildRequires: tar >= 1:1.22 @@ -38,6 +39,7 @@ Zaawansowane menu dla MATE. %prep %setup -qc %patch0 -p1 +%patch1 -p1 mv mintmenu/* . %{__sed} -i 's,version = commands.getoutput("/usr/lib/linuxmint/common/version.py mintmenu"),version = "%{version}",' usr/lib/linuxmint/mintMenu/mintMenu.py -- 2.44.0