Update to rsibreak 0.10
KDE4 version.
This commit is contained in:
parent
8d52085201
commit
a2a0739eb6
4 changed files with 106 additions and 76 deletions
|
@ -1,8 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.10 2010/01/18 09:59:28 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2010/04/10 22:10:46 markd Exp $
|
||||
|
||||
DISTNAME= rsibreak-0.8.0
|
||||
PKGNAME= rsibreak-0.8.0
|
||||
PKGREVISION= 6
|
||||
DISTNAME= rsibreak-0.10
|
||||
CATEGORIES= time kde
|
||||
MASTER_SITES= http://www.rsibreak.org/files/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
@ -10,19 +8,19 @@ EXTRACT_SUFX= .tar.bz2
|
|||
MAINTAINER= markd@NetBSD.org
|
||||
HOMEPAGE= http://www.rsibreak.org/
|
||||
COMMENT= RSI management tool
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
||||
BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4
|
||||
|
||||
USE_TOOLS+= msgfmt perl
|
||||
USE_LANGUAGES= c c++
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_CMAKE= yes
|
||||
|
||||
.include "../../meta-pkgs/kde3/kde3.mk"
|
||||
.include "../../meta-pkgs/kde4/kde4.mk"
|
||||
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
||||
.include "../../x11/kdelibs3/buildlink3.mk"
|
||||
.include "../../x11/kdelibs4/buildlink3.mk"
|
||||
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2009/06/14 21:38:08 joerg Exp $
|
||||
@comment $NetBSD: PLIST,v 1.4 2010/04/10 22:10:46 markd Exp $
|
||||
bin/rsibreak
|
||||
share/applications/kde/rsibreak.desktop
|
||||
share/doc/kde/HTML/da/rsibreak/common
|
||||
share/doc/kde/HTML/da/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/da/rsibreak/index.docbook
|
||||
lib/kde4/plasma_applet_rsibreak.so
|
||||
lib/kde4/plasma_engine_rsibreak.so
|
||||
share/applications/kde4/rsibreak.desktop
|
||||
share/dbus-1/interfaces/org.rsibreak.rsiwidget.xml
|
||||
share/doc/kde/HTML/en/rsibreak/common
|
||||
share/doc/kde/HTML/en/rsibreak/dcop.png
|
||||
share/doc/kde/HTML/en/rsibreak/index.cache.bz2
|
||||
|
@ -12,74 +12,130 @@ share/doc/kde/HTML/en/rsibreak/logo.png
|
|||
share/doc/kde/HTML/en/rsibreak/popup.png
|
||||
share/doc/kde/HTML/en/rsibreak/statistics.png
|
||||
share/doc/kde/HTML/en/rsibreak/suspend.png
|
||||
share/doc/kde/HTML/es/rsibreak/common
|
||||
share/doc/kde/HTML/es/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/es/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/et/rsibreak/common
|
||||
share/doc/kde/HTML/et/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/et/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/fr/rsibreak/common
|
||||
share/doc/kde/HTML/fr/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/fr/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/nl/rsibreak/common
|
||||
share/doc/kde/HTML/nl/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/nl/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/nl/rsibreak/popup.png
|
||||
share/doc/kde/HTML/nl/rsibreak/logo.png
|
||||
share/doc/kde/HTML/nl/rsibreak/statistics.png
|
||||
share/doc/kde/HTML/nl/rsibreak/suspend.png
|
||||
share/doc/kde/HTML/pt/rsibreak/common
|
||||
share/doc/kde/HTML/pt/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/pt/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/sv/rsibreak/common
|
||||
share/doc/kde/HTML/sv/rsibreak/dcop.png
|
||||
share/doc/kde/HTML/sv/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/sv/rsibreak/index.docbook
|
||||
share/doc/kde/HTML/sv/rsibreak/popup.png
|
||||
share/doc/kde/HTML/sv/rsibreak/statistics.png
|
||||
share/doc/kde/HTML/sv/rsibreak/suspend.png
|
||||
share/doc/kde/HTML/uk/rsibreak/common
|
||||
share/doc/kde/HTML/uk/rsibreak/index.cache.bz2
|
||||
share/doc/kde/HTML/uk/rsibreak/index.docbook
|
||||
share/icons/hicolor/128x128/apps/rsibreak.png
|
||||
share/icons/hicolor/16x16/actions/rsibreak0.png
|
||||
share/icons/hicolor/16x16/actions/rsibreak1.png
|
||||
share/icons/hicolor/16x16/actions/rsibreak2.png
|
||||
share/icons/hicolor/16x16/actions/rsibreak3.png
|
||||
share/icons/hicolor/16x16/actions/rsibreak4.png
|
||||
share/icons/hicolor/16x16/actions/rsibreakx.png
|
||||
share/icons/hicolor/16x16/apps/rsibreak.png
|
||||
share/icons/hicolor/22x22/actions/rsibreak0.png
|
||||
share/icons/hicolor/22x22/actions/rsibreak1.png
|
||||
share/icons/hicolor/22x22/actions/rsibreak2.png
|
||||
share/icons/hicolor/22x22/actions/rsibreak3.png
|
||||
share/icons/hicolor/22x22/actions/rsibreak4.png
|
||||
share/icons/hicolor/22x22/actions/rsibreakx.png
|
||||
share/icons/hicolor/22x22/apps/rsibreak.png
|
||||
share/icons/hicolor/32x32/actions/duringbreaks.png
|
||||
share/icons/hicolor/32x32/actions/rsibreak0.png
|
||||
share/icons/hicolor/32x32/actions/rsibreak1.png
|
||||
share/icons/hicolor/32x32/actions/rsibreak2.png
|
||||
share/icons/hicolor/32x32/actions/rsibreak3.png
|
||||
share/icons/hicolor/32x32/actions/rsibreak4.png
|
||||
share/icons/hicolor/32x32/actions/rsibreakx.png
|
||||
share/icons/hicolor/32x32/actions/timings.png
|
||||
share/icons/hicolor/32x32/apps/rsibreak.png
|
||||
share/kde/apps/rsibreak/eventsrc
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak0.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak1.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak2.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak3.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreak4.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/16x16/actions/rsibreakx.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak0.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak1.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak2.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak3.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreak4.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/22x22/actions/rsibreakx.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/duringbreaks.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak0.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak1.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak2.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak3.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreak4.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/rsibreakx.png
|
||||
share/kde/apps/rsibreak/icons/hicolor/32x32/actions/timings.png
|
||||
share/kde/apps/desktoptheme/default/widgets/rsibreak.svg
|
||||
share/kde/apps/rsibreak/rsibreak.notifyrc
|
||||
share/kde/autostart/rsibreak.desktop
|
||||
share/kde4/services/plasma-applet-rsibreak.desktop
|
||||
share/kde4/services/plasma-engine-rsibreak.desktop
|
||||
share/locale/ar/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/ar/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/bg/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/br/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/be/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/be/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ca/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/cs/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/cs/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/da/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/da/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/de/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/de/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/el/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/el/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/en_GB/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/en_GB/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/es/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/es/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/et/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/et/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/fr/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/fr/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ga/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/ga/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/gl/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/gl/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/hi/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/hi/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/hne/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/hne/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/is/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/is/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/it/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/it/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ja/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/ja/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ka/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/km/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/km/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ko/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/ko/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/lt/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/lt/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ml/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/nb/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/nb/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/nds/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/nds/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/nl/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/nl/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/nn/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/nn/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/oc/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/oc/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/pl/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/pl/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/pt/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/pt/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ro/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/ro/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/ru/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/se/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/se/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/sk/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/sk/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/sr/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/sr@Latn/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/sv/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/sv/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/tr/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/tr/LC_MESSAGES/rsibreak.mo
|
||||
@pkgdir share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/src/html
|
||||
@pkgdir share/doc/kde/HTML/en/${PKGNAME}-apidocs/rsibreak/html
|
||||
share/locale/uk/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/uk/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/rsibreak.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/plasma_applet_rsibreak.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/rsibreak.mo
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.2 2009/05/30 01:32:50 zafer Exp $
|
||||
$NetBSD: distinfo,v 1.3 2010/04/10 22:10:46 markd Exp $
|
||||
|
||||
SHA1 (rsibreak-0.8.0.tar.bz2) = a365a810e6fd4f5482cf63499205001e817f5934
|
||||
RMD160 (rsibreak-0.8.0.tar.bz2) = bc1f696a5d2d8f88178ab39e079e22265b5b7bf5
|
||||
Size (rsibreak-0.8.0.tar.bz2) = 832998 bytes
|
||||
SHA1 (patch-aa) = 28c169b9c2820fc92a8ad2f149fc8830b1e7257b
|
||||
SHA1 (rsibreak-0.10.tar.bz2) = 39ccbfb4f325f11104910950d7c6d5428127b1e4
|
||||
RMD160 (rsibreak-0.10.tar.bz2) = 97cb329520145a842f0106408377a3e9b4d189f5
|
||||
Size (rsibreak-0.10.tar.bz2) = 397732 bytes
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2007/05/05 22:07:59 markd Exp $
|
||||
|
||||
XFree86 extensions/dpms.h doesn't wrap the function definitions with extern C
|
||||
so don't include it but do same explicitly :-(
|
||||
|
||||
--- rsibreak/src/rsitimer_dpms.cpp.orig 2006-10-14 06:33:00.000000000 +1300
|
||||
+++ rsibreak/src/rsitimer_dpms.cpp
|
||||
@@ -17,7 +17,14 @@
|
||||
*/
|
||||
|
||||
#include <X11/Xutil.h>
|
||||
-#include <X11/extensions/dpms.h>
|
||||
+#include <X11/X.h>
|
||||
+#include <X11/Xmd.h>
|
||||
+
|
||||
+_XFUNCPROTOBEGIN
|
||||
+extern Bool DPMSQueryExtension(Display *, int *, int *);
|
||||
+extern Bool DPMSCapable(Display *);
|
||||
+extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
|
||||
+_XFUNCPROTOEND
|
||||
|
||||
bool QueryDPMSTimeouts(Display* display, int& standby, int& suspend, int& off)
|
||||
{
|
Loading…
Reference in a new issue