pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
x11/xidle: add xidle-26052015 as wip/xidle
Module Name: pkgsrc-wip
Committed By: Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By: vms
Date: Sun Jul 17 14:49:10 2022 +0200
Changeset: 1d927dad611e298544beaa82e5a7b52004265a9c
Added Files:
xidle/DESCR
xidle/Makefile
xidle/PLIST
xidle/distinfo
xidle/patches/patch-Makefile
Log Message:
x11/xidle: add xidle-26052015 as wip/xidle
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d927dad611e298544beaa82e5a7b52004265a9c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
xidle/DESCR | 6 ++++++
xidle/Makefile | 28 ++++++++++++++++++++++++++++
xidle/PLIST | 3 +++
xidle/distinfo | 6 ++++++
xidle/patches/patch-Makefile | 21 +++++++++++++++++++++
5 files changed, 64 insertions(+)
diffs:
diff --git a/xidle/DESCR b/xidle/DESCR
new file mode 100644
index 0000000000..3e4d74fe57
--- /dev/null
+++ b/xidle/DESCR
@@ -0,0 +1,6 @@
+xidle uses the XScreenSaver(3) extension to receive inactivity events
+when a timeout is specified, running a specific program after the
+elapsed time. xidle also monitors the very corner of the given position
+for pointer activity and runs a program if the pointer sits there for
+more than the specified number of seconds. This behavior is always
+present, whether -timeout is specified or not.
diff --git a/xidle/Makefile b/xidle/Makefile
new file mode 100644
index 0000000000..072536828d
--- /dev/null
+++ b/xidle/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME= xidle-26052015
+CATEGORIES= x11
+MASTER_SITES= http://distcache.freebsd.org/local-distfiles/novel/
+DIST_SUBDIR= ${PKGNAME_NOREV}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= vms%retrobsd.ddns.net@localhost
+HOMEPAGE= http://distcache.freebsd.org/local-distfiles/novel/
+COMMENT= Run a program on X inactivity
+LICENSE= isc
+
+MAKEFLAGS+= X11BASE=${X11BASE}
+MAKEFLAGS+= MANDIR=${PKGMANDIR}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xidle ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xidle.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../x11/libXdmcp/buildlink3.mk"
+.include "../../x11/libXScrnSaver/buildlink3.mk"
+.include "../../x11/libXau/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xidle/PLIST b/xidle/PLIST
new file mode 100644
index 0000000000..8de7904a2f
--- /dev/null
+++ b/xidle/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/xidle
+man/man1/xidle.1
diff --git a/xidle/distinfo b/xidle/distinfo
new file mode 100644
index 0000000000..0e53153d13
--- /dev/null
+++ b/xidle/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (xidle-26052015/xidle-26052015.tar.bz2) = 18d1b041f2a2cab14570af881a199e6486fb6ea0c0941f682aaf7ba1223cdcd7
+SHA512 (xidle-26052015/xidle-26052015.tar.bz2) = bb132a431a5dd585be6a93519aa06a73eade63dde81bbe582a5dd966646c5eeaca65fa2573e6795b73bbfd08388390b4e92954929577051f13098ef8e38c2200
+Size (xidle-26052015/xidle-26052015.tar.bz2) = 5897 bytes
+SHA1 (patch-Makefile) = f93b2ffc31da13d143dd157d670e299f0568713a
diff --git a/xidle/patches/patch-Makefile b/xidle/patches/patch-Makefile
new file mode 100644
index 0000000000..42d2f36c3a
--- /dev/null
+++ b/xidle/patches/patch-Makefile
@@ -0,0 +1,21 @@
+$NetBSD$
+
+Portability fixes for pkgsrc.
+
+--- Makefile.orig 2015-05-26 05:22:15.000000000 +0000
++++ Makefile
+@@ -1,6 +1,3 @@
+-# $OpenBSD: Makefile,v 1.7 2011/06/23 22:48:59 naddy Exp $
+-.include <bsd.xconf.mk>
+-
+ PROG= xidle
+
+ CPPFLAGS+= -I${X11BASE}/include
+@@ -9,7 +6,4 @@ LDADD+= -L${X11BASE}/lib -lXss -lXext -l
+
+ MANDIR= ${X11BASE}/man/man
+
+-obj: _xenocara_obj
+-
+ .include <bsd.prog.mk>
+-.include <bsd.xorg.mk>
Home |
Main Index |
Thread Index |
Old Index