pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/deforaos-panel deforaos-panel: update to 0.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/beba7b773712
branches:  trunk
changeset: 421023:beba7b773712
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Fri Jan 10 23:21:17 2020 +0000

description:
deforaos-panel: update to 0.4.0

Changes since 0.3.6:
- Default to Gtk+ 3 (like libDesktop)
- New applets: leds, suspend, and shutdown
- Documentation for settings(1)
- Extended applet API
- Fixes to the cpu and wpa_supplicant applets
- Support for FreeBSD in the swap applet

diffstat:

 x11/deforaos-panel/Makefile                            |  12 +++--
 x11/deforaos-panel/PLIST                               |  10 +++-
 x11/deforaos-panel/distinfo                            |  11 ++--
 x11/deforaos-panel/patches/patch-src_applets_cpufreq.c |  42 ------------------
 4 files changed, 21 insertions(+), 54 deletions(-)

diffs (152 lines):

diff -r 887c53758253 -r beba7b773712 x11/deforaos-panel/Makefile
--- a/x11/deforaos-panel/Makefile       Fri Jan 10 23:08:38 2020 +0000
+++ b/x11/deforaos-panel/Makefile       Fri Jan 10 23:21:17 2020 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.34 2019/07/21 22:24:15 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2020/01/10 23:21:17 khorben Exp $
 #
 
-DISTNAME=      Panel-0.3.6
-PKGNAME=       deforaos-panel-0.3.6
-PKGREVISION=   10
+DISTNAME=      Panel-0.4.0
+PKGNAME=       deforaos-panel-0.4.0
 CATEGORIES=    x11
-MASTER_SITES=  https://www.defora.org/os/download/download/4417/
+MASTER_SITES=  https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Panel/
 
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      https://www.defora.org/
@@ -36,12 +35,14 @@
        ${MV} ${DESTDIR}${PREFIX}/share/man/html1/panel-notify.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/panel-notify.html
        ${MV} ${DESTDIR}${PREFIX}/share/man/html1/panel.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/panel.html
        ${MV} ${DESTDIR}${PREFIX}/share/man/html1/panelctl.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/panelctl.html
+       ${MV} ${DESTDIR}${PREFIX}/share/man/html1/settings.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/settings.html
        ${MV} ${DESTDIR}${PREFIX}/share/man/html1/wifibrowser.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/wifibrowser.html
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/panel-embed.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/panel-embed.1
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/panel-message.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/panel-message.1
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/panel-notify.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/panel-notify.1
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/panel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/panel.1
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/panelctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/panelctl.1
+       ${MV} ${DESTDIR}${PREFIX}/share/man/man1/settings.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/settings.1
        ${MV} ${DESTDIR}${PREFIX}/share/man/man1/wifibrowser.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/wifibrowser.1
        ${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
        ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
@@ -52,5 +53,6 @@
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../x11/deforaos-libdesktop/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
 .include "../../sysutils/deforaos-browser/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 887c53758253 -r beba7b773712 x11/deforaos-panel/PLIST
--- a/x11/deforaos-panel/PLIST  Fri Jan 10 23:08:38 2020 +0000
+++ b/x11/deforaos-panel/PLIST  Fri Jan 10 23:21:17 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/08/23 16:16:37 khorben Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/01/10 23:21:17 khorben Exp $
 bin/panel
 bin/panel-embed
 bin/panel-message
@@ -22,6 +22,7 @@
 lib/Panel/applets/embed.so
 lib/Panel/applets/gps.so
 lib/Panel/applets/gsm.so
+lib/Panel/applets/leds.so
 lib/Panel/applets/lock.so
 lib/Panel/applets/logout.so
 lib/Panel/applets/memory.so
@@ -32,7 +33,9 @@
 lib/Panel/applets/phone.so
 lib/Panel/applets/rotate.so
 lib/Panel/applets/separator.so
+lib/Panel/applets/shutdown.so
 lib/Panel/applets/spacer.so
+lib/Panel/applets/suspend.so
 lib/Panel/applets/swap.so
 lib/Panel/applets/systray.so
 lib/Panel/applets/tasks.so
@@ -51,16 +54,21 @@
 man/html1/panel-notify.html
 man/html1/panel.html
 man/html1/panelctl.html
+man/html1/settings.html
 man/html1/wifibrowser.html
 man/man1/panel-embed.1
 man/man1/panel-message.1
 man/man1/panel-notify.1
 man/man1/panel.1
 man/man1/panelctl.1
+man/man1/settings.1
 man/man1/wifibrowser.1
 share/applications/deforaos-panel-settings.desktop
 share/applications/deforaos-settings.desktop
 share/applications/deforaos-wifibrowser.desktop
+share/doc/Panel/COPYING
+share/doc/Panel/README.md
+share/doc/Panel/wpa_supplicant.conf
 share/icons/hicolor/16x16/apps/panel-applet-bluetooth.png
 share/icons/hicolor/16x16/apps/panel-applet-desktop.png
 share/icons/hicolor/16x16/apps/panel-applet-usb.png
diff -r 887c53758253 -r beba7b773712 x11/deforaos-panel/distinfo
--- a/x11/deforaos-panel/distinfo       Fri Jan 10 23:08:38 2020 +0000
+++ b/x11/deforaos-panel/distinfo       Fri Jan 10 23:21:17 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/04/12 16:09:50 bouyer Exp $
+$NetBSD: distinfo,v 1.15 2020/01/10 23:21:17 khorben Exp $
 
-SHA1 (Panel-0.3.6.tar.gz) = a87f49c638a2d8df210c21bd684b3fbdc01a375a
-RMD160 (Panel-0.3.6.tar.gz) = 31a25b60c60b0198352b3fa2f26ee4f59418620d
-SHA512 (Panel-0.3.6.tar.gz) = cafdeb2e9127520dd65f1cef5e24dadac063146868517173771e8d44eb742687d9d79fa2738086008628c9cadfa39188cc0eb5624bd5efafbc00556e1b58c487
-Size (Panel-0.3.6.tar.gz) = 146129 bytes
-SHA1 (patch-src_applets_cpufreq.c) = 76b1fbd3ba6f72b0cd2cc0ef7ad324e98bb29cc3
+SHA1 (Panel-0.4.0.tar.gz) = decc1a10808184bea07ac0b34b960c30ffc952da
+RMD160 (Panel-0.4.0.tar.gz) = 3fe467c8ab6401eaaa40ab2a5f6a3c3a89f98fe7
+SHA512 (Panel-0.4.0.tar.gz) = b0de763fe6c905293a2821e99c4d894520030512653379d35e0794a2f9d3a23e1895f54d10397f479684b361a24e8c122d1f9fea73a9865160df183c9eb1dc2d
+Size (Panel-0.4.0.tar.gz) = 158643 bytes
diff -r 887c53758253 -r beba7b773712 x11/deforaos-panel/patches/patch-src_applets_cpufreq.c
--- a/x11/deforaos-panel/patches/patch-src_applets_cpufreq.c    Fri Jan 10 23:08:38 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-src_applets_cpufreq.c,v 1.1 2018/04/12 16:09:50 bouyer Exp $
-Fix systctl name on newer NetBSD
-Avoid updating display when not needed.
-
---- src/applets/cpufreq.c.orig 2016-01-12 02:32:16.000000000 +0100
-+++ src/applets/cpufreq.c      2018-04-10 19:27:01.584667727 +0200
-@@ -43,6 +43,7 @@
-       int min;
-       int max;
-       int step;
-+      int actual;
- #if defined(__FreeBSD__) || defined(__NetBSD__)
-       char const * name;
- #endif
-@@ -101,6 +102,9 @@
-       else if(sysctlbyname("machdep.frequency.available", &freq, &freqsize,
-                               NULL, 0) == 0)
-               p = "machdep.frequency.current";
-+      else if(sysctlbyname("machdep.cpu.frequency.available", &freq, &freqsize,
-+                              NULL, 0) == 0)
-+              p = "machdep.cpu.frequency.current";
-       else
-       {
-               error_set("%s: %s", applet.name, _("No support detected"));
-@@ -125,6 +129,7 @@
-       gtk_box_pack_start(GTK_BOX(cpufreq->hbox), image, FALSE, TRUE, 0);
-       cpufreq->min = 0;
-       cpufreq->max = 0;
-+      cpufreq->actual = 0;
-       cpufreq->step = 1;
-       cpufreq->name = p;
-       cpufreq->max = atoi(freq);
-@@ -181,6 +186,9 @@
-               helper->error(NULL, error_get(NULL), 1);
-               return TRUE;
-       }
-+      if (freq == cpufreq->actual)
-+              return TRUE;
-+      cpufreq->actual = freq;
-       snprintf(buf, sizeof(buf), "%4u", (unsigned int)freq);
-       gtk_label_set_text(GTK_LABEL(cpufreq->label), buf);
- # if GTK_CHECK_VERSION(2, 12, 0)



Home | Main Index | Thread Index | Old Index