2019-01-25 00:03:38 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.102 2019/01/25 00:03:38 cwen Exp $
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2013-01-18 15:30:34 +00:00
|
|
|
COMMENT= screen saver and locker for the X Window System
|
2008-11-29 11:29:07 +00:00
|
|
|
|
2017-12-22 16:11:08 +00:00
|
|
|
# XXX x11/kde4/artwork plist may need regen if an update adds a new hack.
|
2019-01-19 15:02:39 +00:00
|
|
|
DISTNAME= xscreensaver-5.42
|
2019-01-25 00:03:38 +00:00
|
|
|
REVISION= 0
|
2018-05-21 07:30:08 +00:00
|
|
|
|
2006-11-09 08:27:51 +00:00
|
|
|
CATEGORIES= x11
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2019-01-25 00:03:38 +00:00
|
|
|
HOMEPAGE= https://www.jwz.org/xscreensaver/
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2003-10-08 17:13:14 +00:00
|
|
|
# BSD
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2005-06-03 05:38:32 +00:00
|
|
|
|
2013-01-18 15:30:34 +00:00
|
|
|
WANTLIB += GL GLU ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
2018-05-21 07:30:08 +00:00
|
|
|
WANTLIB += Xft Xi Xinerama Xmu Xrandr Xrender Xt
|
2015-07-25 22:34:46 +00:00
|
|
|
WANTLIB += Xxf86vm atk-1.0 c cairo fontconfig freetype gdk-x11-2.0
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 gdk_pixbuf_xlib-2.0 gio-2.0 glade-2.0
|
2016-05-27 12:48:16 +00:00
|
|
|
WANTLIB += gle glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0 intl
|
|
|
|
WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread
|
2018-08-13 18:53:50 +00:00
|
|
|
WANTLIB += util xml2 z
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2006-11-03 22:44:02 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2019-01-25 00:03:38 +00:00
|
|
|
COMPILER= base-clang ports-gcc
|
|
|
|
|
2016-05-27 12:48:16 +00:00
|
|
|
MODULES= textproc/intltool
|
2002-03-27 02:53:59 +00:00
|
|
|
|
2013-01-18 15:30:34 +00:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
2008-11-29 11:29:07 +00:00
|
|
|
|
2013-01-18 15:30:34 +00:00
|
|
|
LIB_DEPENDS= devel/libglade2 \
|
2012-09-02 09:36:55 +00:00
|
|
|
graphics/gdk-pixbuf2 \
|
|
|
|
graphics/gle
|
2002-03-27 02:53:59 +00:00
|
|
|
|
2012-09-02 10:04:22 +00:00
|
|
|
# ${FILESDIR}/migrate-xscreensaver-config.sh needs xsltproc
|
|
|
|
BUILD_DEPENDS += textproc/libxslt
|
|
|
|
|
|
|
|
# see pre-configure
|
|
|
|
BUILD_DEPENDS += devel/xdg-utils
|
2013-01-18 15:30:34 +00:00
|
|
|
RUN_DEPENDS += devel/xdg-utils
|
2012-09-02 10:04:22 +00:00
|
|
|
|
2002-06-26 02:36:03 +00:00
|
|
|
USE_GMAKE= Yes
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2002-08-27 02:46:17 +00:00
|
|
|
|
2019-01-25 00:03:38 +00:00
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.69
|
2012-09-02 09:36:55 +00:00
|
|
|
CONFIGURE_ARGS= --with-hackdir="${PREFIX}/libexec/xscreensaver" \
|
2013-01-18 15:30:34 +00:00
|
|
|
--with-x-app-defaults="${PREFIX}/lib/X11/app-defaults" \
|
|
|
|
--without-pam
|
2012-09-02 09:36:55 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2014-07-10 07:40:35 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
|
2014-07-10 07:40:35 +00:00
|
|
|
FAKE_FLAGS= install_prefix=${WRKINST}
|
2008-10-27 19:49:39 +00:00
|
|
|
|
2012-09-02 10:04:22 +00:00
|
|
|
pre-configure:
|
2017-12-22 16:11:08 +00:00
|
|
|
sed -i 's,gnome-open,xdg-open,g' ${WRKSRC}/configure
|
2012-09-02 10:04:22 +00:00
|
|
|
|
2002-03-26 21:51:41 +00:00
|
|
|
post-install:
|
2016-07-09 11:47:56 +00:00
|
|
|
# remove conflicts (misc/deco, games/circuit)
|
|
|
|
.for i in deco circuit
|
|
|
|
mv ${PREFIX}/man/man6/$i.6 ${PREFIX}/man/man6/xscreensaver-$i.6
|
|
|
|
.endfor
|
2018-12-09 13:43:03 +00:00
|
|
|
# create dot.desktop files from xscreensaver xml files for use
|
|
|
|
# by freedesktop compliant screensavers
|
|
|
|
cp ${FILESDIR}/migrate-xscreensaver-config.sh ${WRKSRC}/hacks/config
|
|
|
|
cp ${FILESDIR}/xscreensaver-config.xsl ${WRKSRC}/hacks/config
|
|
|
|
cd ${WRKSRC}/hacks/config && \
|
|
|
|
for i in ${WRKSRC}/hacks/config/*.xml; do \
|
|
|
|
/bin/sh migrate-xscreensaver-config.sh $${i} ; done
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/screensavers/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/hacks/config/*.desktop \
|
|
|
|
${PREFIX}/share/applications/screensavers/
|
|
|
|
|
2014-07-10 07:40:35 +00:00
|
|
|
|
The xscreensaver program waits until the keyboard and mouse have
been idle for a period, and then runs a graphics demo chosen at
random. It turns off as soon as there is any mouse or keyboard
activity. It can also lock the screen (immediately, after a longer
idle period, or on demand.) xscreensaver consists of two parts:
xscreensaver itself, the (the ``driver'' or ``daemon''), which
detects idleness and does locking; and the many graphics demos that
are launched by xscreensaver.
Any X program that can draw on the root window can be used with
xscreensaver, regardless of how that program is written, or what
language it is written in, or what libraries it uses. The xscreensaver
daemon takes care of detecting when the user is idle, locking, and
checking passwords and all the other book-keeping; all the other
programs need to do is draw.
The benefit that xscreensaver has over the combination of the xlock
and xautolock programs is the ease with which new graphics hacks
can be installed. You don't need to recompile (or even re-run) the
xscreensaver program to add a new display mode, you just change a
config file.
WWW: http://www.jwz.org/xscreensaver/
2001-06-20 19:16:45 +00:00
|
|
|
.include <bsd.port.mk>
|