[gentoo-commits] proj/gentoo-mate:1.14-bump commit in: mate-base/mate-applets/files/

2016-09-05 Thread NP Hardass
commit: 392b343cf61c37528757f9343b573b833cabff3a
Author: NP-Hardass  gentoo  org>
AuthorDate: Tue Sep  6 02:13:37 2016 +
Commit: NP Hardass  gentoo  org>
CommitDate: Tue Sep  6 02:13:37 2016 +
URL:https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=392b343c

mate-base/mate-applets: Drop orphaned patch

Package-Manager: portage-2.3.0

 ...lets-1.6.2-r1-replace-cpufreq-by-cpupower.patch | 79 --
 1 file changed, 79 deletions(-)

diff --git 
a/mate-base/mate-applets/files/mate-applets-1.6.2-r1-replace-cpufreq-by-cpupower.patch
 
b/mate-base/mate-applets/files/mate-applets-1.6.2-r1-replace-cpufreq-by-cpupower.patch
deleted file mode 100644
index 880afc7..000
--- 
a/mate-base/mate-applets/files/mate-applets-1.6.2-r1-replace-cpufreq-by-cpupower.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-Obtained from: 
http://pkgs.fedoraproject.org/cgit/mate-applets.git/plain/cpufreq.patch
-
-diff -upr mate-applets-1.5.0-orig/configure.ac mate-applets-1.5.0/configure.ac
 mate-applets-1.5.0-orig/configure.ac   2012-12-08 22:37:32.0 
+0100
-+++ mate-applets-1.5.0/configure.ac2013-01-14 18:04:15.726598991 +0100
-@@ -506,13 +506,13 @@ if test "x$HAVE_POLKIT" = "xyes"; then
- fi
- 
- AC_CHECK_HEADER(cpufreq.h, have_libcpufreq=yes, have_libcpufreq=no)
--LIBCPUFREQ_LIBS=
--if test "x$have_libcpufreq" = "xyes"; then
--   AC_DEFINE([HAVE_LIBCPUFREQ], [1], [Have libcpufreq.])
--   LIBCPUFREQ_LIBS=-lcpufreq
-+LIBCPUPOWER_LIBS=
-+if test "x$have_libcpupower" = "xyes"; then
-+   AC_DEFINE([HAVE_LIBCPUPOWER], [1], [Have libcpupower.])
-+   LIBCPUPOWER_LIBS=-lcpupower
- fi
--AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes)
--AC_SUBST(LIBCPUFREQ_LIBS)
-+AM_CONDITIONAL(HAVE_LIBCPUPOWER, test x$have_libcpupower = xyes)
-+AC_SUBST(LIBCPUPOWER_LIBS)
- 
- build_cpufreq_applet=no
- 
-diff -upr 
mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 
mate-applets-1.5.0/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c
 
mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 
   2012-12-08 22:37:32.0 +0100
-+++ mate-applets-1.5.0/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 
2013-01-14 19:15:28.432366287 +0100
-@@ -24,7 +24,7 @@
- #include "cpufreq-selector-factory.h"
- #include "cpufreq-selector-sysfs.h"
- #include "cpufreq-selector-procfs.h"
--#ifdef HAVE_LIBCPUFREQ
-+#ifdef HAVE_LIBCPUPOWER
- #include "cpufreq-selector-libcpufreq.h"
- #endif
- 
-@@ -33,7 +33,7 @@ cpufreq_selector_factory_create_selector
- {
-   CPUFreqSelector *selector = NULL;
-   
--#ifdef HAVE_LIBCPUFREQ
-+#ifdef HAVE_LIBCPUPOWER
-   selector = cpufreq_selector_libcpufreq_new (cpu);
- #else
-   if (g_file_test ("/sys/devices/system/cpu/cpu0/cpufreq", 
G_FILE_TEST_EXISTS)) { /* 2.6 kernel */
-@@ -41,7 +41,7 @@ cpufreq_selector_factory_create_selector
-   } else if (g_file_test ("/proc/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.4 
kernel */
-   selector = cpufreq_selector_procfs_new (cpu);
-   }
--#endif /* HAVE_LIBCPUFREQ */
-+#endif /* HAVE_LIBCPUPOWER */
- 
-   return selector;
- }
-diff -upr mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/Makefile.am 
mate-applets-1.5.0/cpufreq/src/cpufreq-selector/Makefile.am
 mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/Makefile.am   
2012-12-08 22:37:32.0 +0100
-+++ mate-applets-1.5.0/cpufreq/src/cpufreq-selector/Makefile.am
2013-01-14 19:13:27.223180712 +0100
-@@ -16,7 +16,7 @@ if CPUFREQ_SELECTOR_SUID
- endif
- 
- 
--if HAVE_LIBCPUFREQ
-+if HAVE_LIBCPUPOWER
- cpufreq_files=cpufreq-selector-libcpufreq.c
cpufreq-selector-libcpufreq.h
- endif
- 
-diff -upr mate-applets-1.5.0-orig/cpufreq/src/Makefile.am 
mate-applets-1.5.0/cpufreq/src/Makefile.am
 mate-applets-1.5.0-orig/cpufreq/src/Makefile.am2012-12-08 
22:37:32.0 +0100
-+++ mate-applets-1.5.0/cpufreq/src/Makefile.am 2013-01-14 19:14:01.647517888 
+0100
-@@ -12,7 +12,7 @@ INCLUDES = \
- 
- libexec_PROGRAMS = mate-cpufreq-applet
- 
--if HAVE_LIBCPUFREQ
-+if HAVE_LIBCPUPOWER
- cpufreq_files=cpufreq-monitor-libcpufreq.ccpufreq-monitor-libcpufreq.h
- endif
- 



[gentoo-commits] proj/gentoo-mate:1.14-bump commit in: mate-base/mate-applets/files/, mate-base/mate-applets/

2016-09-05 Thread NP Hardass
commit: c1cf6cd3d2ad87c5731653b4992101801d093167
Author: NP-Hardass  gentoo  org>
AuthorDate: Tue Sep  6 02:13:06 2016 +
Commit: NP Hardass  gentoo  org>
CommitDate: Tue Sep  6 02:13:06 2016 +
URL:https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=c1cf6cd3

mate-base/mate-applets:  backport kernel 4.7 support

Package-Manager: portage-2.3.0

 .../files/mate-applets-1.10.4-kernel-4.7.patch | 38 ++
 ...0.4-r1.ebuild => mate-applets-1.10.4-r2.ebuild} |  3 ++
 ...2.1-r1.ebuild => mate-applets-1.12.1-r2.ebuild} |  3 ++
 3 files changed, 44 insertions(+)

diff --git a/mate-base/mate-applets/files/mate-applets-1.10.4-kernel-4.7.patch 
b/mate-base/mate-applets/files/mate-applets-1.10.4-kernel-4.7.patch
new file mode 100644
index 000..afe06dc
--- /dev/null
+++ b/mate-base/mate-applets/files/mate-applets-1.10.4-kernel-4.7.patch
@@ -0,0 +1,38 @@
+From 1b4478eab642787c43601259611f7b27e0bb473b Mon Sep 17 00:00:00 2001
+From: leigh123linux 
+Date: Thu, 9 Jun 2016 10:06:34 +0100
+Subject: [PATCH] fix build with kernel-4.7
+
+---
+ cpufreq/src/cpufreq-monitor-libcpufreq.c | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c 
b/cpufreq/src/cpufreq-monitor-libcpufreq.c
+index 40c44ba..5fe79fb 100644
+--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c
 b/cpufreq/src/cpufreq-monitor-libcpufreq.c
+@@ -23,8 +23,11 @@
+ #include 
+ 
+ #include 
++#include 
+ #include 
+-
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
++#include 
++#endif
+ #include "cpufreq-monitor-libcpufreq.h"
+ #include "cpufreq-utils.h"
+ 
+@@ -111,7 +114,11 @@ cpufreq_monitor_libcpufreq_run (CPUFreqMonitor *monitor)
+   /* Check whether it failed because
+* cpu is not online.
+*/
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)
+   if (!cpufreq_cpu_exists (cpu)) {
++#else
++  if (cpupower_is_cpu_online (cpu)) {
++#endif
+   g_object_set (G_OBJECT (monitor), "online", FALSE, 
NULL);
+   return TRUE;
+   }

diff --git a/mate-base/mate-applets/mate-applets-1.10.4-r1.ebuild 
b/mate-base/mate-applets/mate-applets-1.10.4-r2.ebuild
similarity index 96%
rename from mate-base/mate-applets/mate-applets-1.10.4-r1.ebuild
rename to mate-base/mate-applets/mate-applets-1.10.4-r2.ebuild
index 96e901e..4743098 100644
--- a/mate-base/mate-applets/mate-applets-1.10.4-r1.ebuild
+++ b/mate-base/mate-applets/mate-applets-1.10.4-r2.ebuild
@@ -57,8 +57,11 @@ DEPEND="${RDEPEND}
dev-libs/libxslt:0
>=mate-base/mate-common-1.10:0
sys-devel/gettext:*
+   sys-kernel/linux-headers
virtual/pkgconfig:*"
 
+PATCHES=( "${FILESDIR}/${PN}-1.10.4-kernel-4.7.patch" )
+
 src_configure() {
gnome2_src_configure \
--libexecdir=/usr/libexec/mate-applets \

diff --git a/mate-base/mate-applets/mate-applets-1.12.1-r1.ebuild 
b/mate-base/mate-applets/mate-applets-1.12.1-r2.ebuild
similarity index 96%
rename from mate-base/mate-applets/mate-applets-1.12.1-r1.ebuild
rename to mate-base/mate-applets/mate-applets-1.12.1-r2.ebuild
index ecc284b..bfa64ba 100644
--- a/mate-base/mate-applets/mate-applets-1.12.1-r1.ebuild
+++ b/mate-base/mate-applets/mate-applets-1.12.1-r2.ebuild
@@ -65,8 +65,11 @@ DEPEND="${RDEPEND}
>=dev-util/intltool-0.50.1:*
dev-libs/libxslt:0
sys-devel/gettext:*
+   sys-kernel/linux-headers
virtual/pkgconfig:*"
 
+PATCHES=( "${FILESDIR}/${PN}-1.10.4-kernel-4.7.patch" )
+
 src_configure() {
mate_src_configure \
--libexecdir=/usr/libexec/mate-applets \



[gentoo-commits] proj/gentoo-mate:1.14-bump commit in: mate-base/mate-applets-meta/

2016-09-05 Thread NP Hardass
commit: 726b45105e032e6834c6d5c17a952f5c2ddee769
Author: NP-Hardass  gentoo  org>
AuthorDate: Mon Sep  5 18:11:27 2016 +
Commit: NP Hardass  gentoo  org>
CommitDate: Mon Sep  5 18:11:27 2016 +
URL:https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=726b4510

mate-base/mate-applets-meta: Version bump to 1.14

Package-Manager: portage-2.3.0

 .../mate-applets-meta-1.14.ebuild  | 27 ++
 1 file changed, 27 insertions(+)

diff --git a/mate-base/mate-applets-meta/mate-applets-meta-1.14.ebuild 
b/mate-base/mate-applets-meta/mate-applets-meta-1.14.ebuild
new file mode 100644
index 000..cf6db98
--- /dev/null
+++ b/mate-base/mate-applets-meta/mate-applets-meta-1.14.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} ==  ]]; then
+   MATE_BRANCH=
+else
+   inherit versionator
+   MATE_BRANCH="$(get_version_component_range 1-2)"
+   KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Meta package for MATE panel applets"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+SRC_URI=""
+
+LICENSE="metapackage"
+SLOT="0"
+IUSE="appindicator gtk3 sensors"
+
+DEPEND=""
+RDEPEND="=mate-base/mate-applets-${MATE_BRANCH}*[gtk3(-)=]
+   appindicator? ( 
=mate-extra/mate-indicator-applet-${MATE_BRANCH}*[gtk3(-)=] )
+   sensors? ( =mate-extra/mate-sensors-applet-${MATE_BRANCH}*[gtk3(-)=] )
+"



[gentoo-commits] proj/gentoo-mate:1.14-bump commit in: mate-base/mate-applets/

2016-09-05 Thread Ettore Di Giacinto
commit: 76516aba608675d8cb3ab2c5a0e7c2a41000eb05
Author: mudler  sabayon  org>
AuthorDate: Mon Sep  5 12:51:36 2016 +
Commit: Ettore Di Giacinto  sabayonlinux  org>
CommitDate: Mon Sep  5 12:52:20 2016 +
URL:https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=76516aba

mate-base/mate-applets: Version bump to 1.14.1, drop mate-desktop from  deps

Package-Manager: portage-2.2.26

 mate-base/mate-applets/Manifest  | 1 +
 .../{mate-applets-.ebuild => mate-applets-1.14.1.ebuild} | 0
 mate-base/mate-applets/mate-applets-.ebuild  | 1 -
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/mate-base/mate-applets/Manifest b/mate-base/mate-applets/Manifest
index 6db9a60..a9583ef 100644
--- a/mate-base/mate-applets/Manifest
+++ b/mate-base/mate-applets/Manifest
@@ -1,2 +1,3 @@
 DIST mate-applets-1.10.4.tar.xz 6850348 SHA256 
e713b4205a901048120d48578dc86e87d2f87a294484110a331acdf77f4f48c2 SHA512 
4e1fd0523cb1f50bf056f6805b048137442360eb8ec8c05b02c3075e48acb79a5150056b1c815439659048958c11def8141fe3df917d5da8d608adfb6c330ee3
 WHIRLPOOL 
ed0cfe389168f01b081852716a3df459bc6ee63de67cd802b56f42daf7a8447e5a524f5dfaf45cae8d7d553ee7bbf8ca3371bd77f174f27bb0b6d1377ad53298
 DIST mate-applets-1.12.1.tar.xz 6816716 SHA256 
0a3bc19e59c69eccdcc2342f29b7837563e51fbefdb232ca1884ca23d8f69c99 SHA512 
c9acac98df31386b4016d42d3d1fe0e9ddd5e8fccc291269cff73e2a4c0853fabb85a649ee14f4aef3200c0f731c1d95f48aefdb3d8baaf014ad8776c1e94234
 WHIRLPOOL 
9f3569fcdd610935689a5460015347ac46100b8689f74d0bc37ac227e129edbf06e6f86e3471f7f40454c37c00291382ccc51e95b3dd2fac008b4e865620
+DIST mate-applets-1.14.1.tar.xz 7151156 SHA256 
411dc105afae61b2ee0e3b197ea0a00f8670ceb680dd5a549f8ef586289b9d6a SHA512 
f7657a4dbeed5ff161dae33bd915bf868c95626d661b3d7e4eea9b86776f75449c4060c647d9a040ccf8a01556979b62a9b21c988b33e0cd8d5d90fd663a331d
 WHIRLPOOL 
90d13900c8aaed4a08e6d4f55adf600f1da82900f164d9bf5c7a8a6c9e51452668bacbe5e8ae7ee4ccaa156d70121dffefe1c8cce8bd12ad190e5c04d42b1c0e

diff --git a/mate-base/mate-applets/mate-applets-.ebuild 
b/mate-base/mate-applets/mate-applets-1.14.1.ebuild
similarity index 100%
copy from mate-base/mate-applets/mate-applets-.ebuild
copy to mate-base/mate-applets/mate-applets-1.14.1.ebuild

diff --git a/mate-base/mate-applets/mate-applets-.ebuild 
b/mate-base/mate-applets/mate-applets-.ebuild
index 9cf3b30..2436612 100644
--- a/mate-base/mate-applets/mate-applets-.ebuild
+++ b/mate-base/mate-applets/mate-applets-.ebuild
@@ -27,7 +27,6 @@ COMMON_DEPEND="${PYTHON_DEPS}
>=dev-libs/libxml2-2.5:2
dev-python/pygobject:3
>=gnome-base/libgtop-2.11.92:2=
-   >=mate-base/mate-desktop-1.9[gtk3(-)=]
>=mate-base/mate-panel-1.7[gtk3(-)=]
>=net-wireless/wireless-tools-28_pre9:0
>=sys-apps/dbus-1.1.2:0