[packages/mate-mintmenu] disable "use-apt" by default
atler
atler at pld-linux.org
Wed Jan 9 23:41:14 CET 2019
commit ee92930e2693a46ceb3c4069cc160e999dd70538
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jan 9 23:36:06 2019 +0100
disable "use-apt" by default
mate-mintmenu-disable-apt.patch | 12 ++++++++++++
mate-mintmenu.spec | 2 ++
2 files changed, 14 insertions(+)
---
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
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 @@
+ </key>
+
+ <key type="b" name="use-apt">
+- <default>true</default>
++ <default>false</default>
+ <summary></summary>
+ <description></description>
+ </key>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mate-mintmenu.git/commitdiff/3e98ba50c48f8abb3efcbd491a5382a0ea0e1079
More information about the pld-cvs-commit
mailing list