pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mate-applets Add initial NetBSD backend for the cp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1303d18a2741
branches:  trunk
changeset: 328566:1303d18a2741
user:      youri <youri%pkgsrc.org@localhost>
date:      Wed Jan 23 15:25:36 2019 +0000

description:
Add initial NetBSD backend for the cpufreq panel plugin.

diffstat:

 x11/mate-applets/Makefile                                            |    13 +-
 x11/mate-applets/PLIST                                               |  1452 +++++++++-
 x11/mate-applets/distinfo                                            |    10 +-
 x11/mate-applets/patches/patch-configure                             |    18 +
 x11/mate-applets/patches/patch-cpufreq_src_Makefile.in               |    43 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-monitor-cpuinfo.c |    59 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-monitor-factory.c |    53 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-monitor-sysctl.c  |   189 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-monitor-sysctl.h  |    55 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-selector.c        |    19 +
 x11/mate-applets/patches/patch-cpufreq_src_cpufreq-utils.c           |    44 +
 11 files changed, 1947 insertions(+), 8 deletions(-)

diffs (truncated from 3024 to 300 lines):

diff -r 76b44de59e6d -r 1303d18a2741 x11/mate-applets/Makefile
--- a/x11/mate-applets/Makefile Wed Jan 23 15:17:27 2019 +0000
+++ b/x11/mate-applets/Makefile Wed Jan 23 15:25:36 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2019/01/16 15:02:45 youri Exp $
+# $NetBSD: Makefile,v 1.22 2019/01/23 15:25:36 youri Exp $
 
 PYTHON_VERSIONS_ACCEPTED=      27
 .include "../../meta-pkgs/mate/Makefile.common"
@@ -15,6 +15,12 @@
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --libexecdir=${PREFIX}/libexec/mate-applets
 
+PLIST_VARS=            batt cpufreq
+.if ${OPSYS} == "NetBSD" &&  (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+CONFIGURE_ARGS+=       --enable-cpufreq=yes
+PLIST.cpufreq=         yes
+.endif
+
 INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples/mate-applets
 
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/sound/events
@@ -26,7 +32,6 @@
                ${PKG_SYSCONFDIR}/sound/events/mate-battstat_applet.soundlist
 .endif
 
-PLIST_VARS=    batt
 .if ${OPSYS} != "Darwin" && ${OPSYS} != "SunOS"
 PLIST.batt=    yes
 .endif
@@ -35,10 +40,6 @@
 
 .include "../../devel/glib2/schemas.mk"
 
-REPLACE_PYTHON+=       invest-applet/invest/chart.py
-REPLACE_PYTHON+=       invest-applet/invest/invest-applet.py
-REPLACE_PYTHON+=       invest-applet/invest/mate-invest-chart
-
 .include "../../x11/mate-panel/buildlink3.mk"
 .include "../../x11/mate-desktop/buildlink3.mk"
 .include "../../x11/mate-settings-daemon/buildlink3.mk"
diff -r 76b44de59e6d -r 1303d18a2741 x11/mate-applets/PLIST
--- a/x11/mate-applets/PLIST    Wed Jan 23 15:17:27 2019 +0000
+++ b/x11/mate-applets/PLIST    Wed Jan 23 15:25:36 2019 +0000
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2019/01/16 15:02:45 youri Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/01/23 15:25:36 youri Exp $
+bin/mate-cpufreq-selector
 libexec/mate-applets/accessx-status-applet
 libexec/mate-applets/battstat-applet
 libexec/mate-applets/command-applet
 libexec/mate-applets/mate-charpick-applet
+libexec/mate-applets/mate-cpufreq-applet
 libexec/mate-applets/mate-drivemount-applet
 libexec/mate-applets/mate-geyes-applet
 libexec/mate-applets/mate-multiload-applet
@@ -19,6 +21,7 @@
 man/man1/mateweather.1
 share/dbus-1/services/org.mate.panel.applet.AccessxStatusAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.BattstatAppletFactory.service
+share/dbus-1/services/org.mate.panel.applet.CPUFreqAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.CharpickerAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.CommandAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.DriveMountAppletFactory.service
@@ -29,11 +32,14 @@
 share/dbus-1/services/org.mate.panel.applet.StickyNotesAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.TimerAppletFactory.service
 share/dbus-1/services/org.mate.panel.applet.TrashAppletFactory.service
+share/dbus-1/system-services/org.mate.CPUFreqSelector.service
+share/examples/mate-applets/dbus-1/system.d/org.mate.CPUFreqSelector.conf
 share/examples/mate-applets/sound/events/mate-battstat_applet.soundlist
 share/glib-2.0/schemas/org.mate.drivemount.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.battstat.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.charpick.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.command.gschema.xml
+share/glib-2.0/schemas/org.mate.panel.applet.cpufreq.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.geyes.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.multiload.gschema.xml
 share/glib-2.0/schemas/org.mate.panel.applet.netspeed.gschema.xml
@@ -63,6 +69,17 @@
 share/help/C/mate-char-palette/figures/charpick_characters.png
 share/help/C/mate-char-palette/index.docbook
 share/help/C/mate-char-palette/legal.xml
+share/help/C/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/C/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/C/mate-cpufreq-applet/index.docbook
+share/help/C/mate-cpufreq-applet/legal.xml
 share/help/C/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/C/mate-drivemount/figures/drivemount-applet_example.png
 share/help/C/mate-drivemount/figures/drivemount-applet_mount.png
@@ -138,6 +155,17 @@
 share/help/af/mate-char-palette/figures/charpick_characters.png
 share/help/af/mate-char-palette/index.docbook
 share/help/af/mate-char-palette/legal.xml
+share/help/af/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/af/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/af/mate-cpufreq-applet/index.docbook
+share/help/af/mate-cpufreq-applet/legal.xml
 share/help/af/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/af/mate-drivemount/figures/drivemount-applet_example.png
 share/help/af/mate-drivemount/figures/drivemount-applet_mount.png
@@ -213,6 +241,17 @@
 share/help/am/mate-char-palette/figures/charpick_characters.png
 share/help/am/mate-char-palette/index.docbook
 share/help/am/mate-char-palette/legal.xml
+share/help/am/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/am/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/am/mate-cpufreq-applet/index.docbook
+share/help/am/mate-cpufreq-applet/legal.xml
 share/help/am/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/am/mate-drivemount/figures/drivemount-applet_example.png
 share/help/am/mate-drivemount/figures/drivemount-applet_mount.png
@@ -271,6 +310,17 @@
 share/help/an/mate-battstat/figures/context-menu.png
 share/help/an/mate-battstat/index.docbook
 share/help/an/mate-battstat/legal.xml
+share/help/an/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/an/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/an/mate-cpufreq-applet/index.docbook
+share/help/an/mate-cpufreq-applet/legal.xml
 share/help/an/mate-geyes/figures/geyes_applet.png
 share/help/an/mate-geyes/index.docbook
 share/help/an/mate-geyes/legal.xml
@@ -308,6 +358,17 @@
 share/help/ar/mate-char-palette/figures/charpick_characters.png
 share/help/ar/mate-char-palette/index.docbook
 share/help/ar/mate-char-palette/legal.xml
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/ar/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/ar/mate-cpufreq-applet/index.docbook
+share/help/ar/mate-cpufreq-applet/legal.xml
 share/help/ar/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/ar/mate-drivemount/figures/drivemount-applet_example.png
 share/help/ar/mate-drivemount/figures/drivemount-applet_mount.png
@@ -383,6 +444,17 @@
 share/help/as/mate-char-palette/figures/charpick_characters.png
 share/help/as/mate-char-palette/index.docbook
 share/help/as/mate-char-palette/legal.xml
+share/help/as/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/as/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/as/mate-cpufreq-applet/index.docbook
+share/help/as/mate-cpufreq-applet/legal.xml
 share/help/as/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/as/mate-drivemount/figures/drivemount-applet_example.png
 share/help/as/mate-drivemount/figures/drivemount-applet_mount.png
@@ -458,6 +530,17 @@
 share/help/ast/mate-char-palette/figures/charpick_characters.png
 share/help/ast/mate-char-palette/index.docbook
 share/help/ast/mate-char-palette/legal.xml
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/ast/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/ast/mate-cpufreq-applet/index.docbook
+share/help/ast/mate-cpufreq-applet/legal.xml
 share/help/ast/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/ast/mate-drivemount/figures/drivemount-applet_example.png
 share/help/ast/mate-drivemount/figures/drivemount-applet_mount.png
@@ -533,6 +616,17 @@
 share/help/az/mate-char-palette/figures/charpick_characters.png
 share/help/az/mate-char-palette/index.docbook
 share/help/az/mate-char-palette/legal.xml
+share/help/az/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/az/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/az/mate-cpufreq-applet/index.docbook
+share/help/az/mate-cpufreq-applet/legal.xml
 share/help/az/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/az/mate-drivemount/figures/drivemount-applet_example.png
 share/help/az/mate-drivemount/figures/drivemount-applet_mount.png
@@ -608,6 +702,17 @@
 share/help/be/mate-char-palette/figures/charpick_characters.png
 share/help/be/mate-char-palette/index.docbook
 share/help/be/mate-char-palette/legal.xml
+share/help/be/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/be/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/be/mate-cpufreq-applet/index.docbook
+share/help/be/mate-cpufreq-applet/legal.xml
 share/help/be/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/be/mate-drivemount/figures/drivemount-applet_example.png
 share/help/be/mate-drivemount/figures/drivemount-applet_mount.png
@@ -683,6 +788,17 @@
 share/help/bg/mate-char-palette/figures/charpick_characters.png
 share/help/bg/mate-char-palette/index.docbook
 share/help/bg/mate-char-palette/legal.xml
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/bg/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/bg/mate-cpufreq-applet/index.docbook
+share/help/bg/mate-cpufreq-applet/legal.xml
 share/help/bg/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/bg/mate-drivemount/figures/drivemount-applet_example.png
 share/help/bg/mate-drivemount/figures/drivemount-applet_mount.png
@@ -758,6 +874,17 @@
 share/help/bn/mate-char-palette/figures/charpick_characters.png
 share/help/bn/mate-char-palette/index.docbook
 share/help/bn/mate-char-palette/legal.xml
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/bn/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/bn/mate-cpufreq-applet/index.docbook
+share/help/bn/mate-cpufreq-applet/legal.xml
 share/help/bn/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/bn/mate-drivemount/figures/drivemount-applet_example.png
 share/help/bn/mate-drivemount/figures/drivemount-applet_mount.png
@@ -833,6 +960,17 @@
 share/help/bn_IN/mate-char-palette/figures/charpick_characters.png
 share/help/bn_IN/mate-char-palette/index.docbook
 share/help/bn_IN/mate-char-palette/legal.xml
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-100.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-25.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-50.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-75.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-applet-preferences-smp.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-applet-preferences.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-applet-selector-both.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-applet-selector.png
+share/help/bn_IN/mate-cpufreq-applet/figures/cpufreq-applet.png
+share/help/bn_IN/mate-cpufreq-applet/index.docbook
+share/help/bn_IN/mate-cpufreq-applet/legal.xml
 share/help/bn_IN/mate-drivemount/figures/drivemount-applet_eject.png
 share/help/bn_IN/mate-drivemount/figures/drivemount-applet_example.png
 share/help/bn_IN/mate-drivemount/figures/drivemount-applet_mount.png
@@ -908,6 +1046,17 @@
 share/help/br/mate-char-palette/figures/charpick_characters.png
 share/help/br/mate-char-palette/index.docbook
 share/help/br/mate-char-palette/legal.xml
+share/help/br/mate-cpufreq-applet/figures/cpufreq-100.png



Home | Main Index | Thread Index | Old Index