aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-07-29 16:01:59 +0800
committerdougb <dougb@FreeBSD.org>2012-07-29 16:01:59 +0800
commit80a46104e97914ee729c61ca242471e8bca55995 (patch)
tree558bbb7c60339dec14fcbcf36fc49c42491936f4 /x11
parente9e3e3f42f31191ee42d34f54ea2f346cb1a452a (diff)
downloadfreebsd-ports-gnome-80a46104e97914ee729c61ca242471e8bca55995.tar.gz
freebsd-ports-gnome-80a46104e97914ee729c61ca242471e8bca55995.tar.zst
freebsd-ports-gnome-80a46104e97914ee729c61ca242471e8bca55995.zip
Upgrade to 5.19 which contains some minor improvements
Add .desktop files for starting and stopping the daemon, and locking and blanking the screen. Add an explicit build dep for pkgconf, and add a sed pattern for configure since pkgconf does not support the --list-all option
Diffstat (limited to 'x11')
-rw-r--r--x11/xscreensaver/Makefile16
-rw-r--r--x11/xscreensaver/distinfo4
-rw-r--r--x11/xscreensaver/files/xscreensaver-blank.desktop.in10
-rw-r--r--x11/xscreensaver/files/xscreensaver-lock.desktop.in10
-rw-r--r--x11/xscreensaver/files/xscreensaver-start.desktop.in10
-rw-r--r--x11/xscreensaver/files/xscreensaver-stop.desktop.in10
-rw-r--r--x11/xscreensaver/pkg-plist4
7 files changed, 56 insertions, 8 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index f09bc1993a18..77bee526e85a 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -6,14 +6,14 @@
#
PORTNAME= xscreensaver
-PORTVERSION= 5.18
-CATEGORIES?= x11
-MASTER_SITES= http://www.jwz.org/xscreensaver/ \
- http://dougbarton.us/Downloads/
+PORTVERSION= 5.19
+CATEGORIES= x11
+MASTER_SITES= http://www.jwz.org/xscreensaver/
-MAINTAINER?= dougb@FreeBSD.org
+MAINTAINER= dougb@FreeBSD.org
COMMENT= Save your screen while you entertain your cat
+BUILD_DEPENDS= pkgconf>0:${PORTSDIR}/devel/pkgconf
LIB_DEPENDS= gle.4:${PORTSDIR}/graphics/gle \
jpeg.11:${PORTSDIR}/graphics/jpeg \
gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
@@ -134,13 +134,16 @@ MAN6= anemone.6 anemotaxis.6 antinspect.6 antmaze.6 antspotlight.6 \
companioncube.6 hilbert.6 tronbit.6 \
xscreensaver-gl-helper.6
+SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \
+ xscreensaver-start.desktop xscreensaver-stop.desktop
+
post-patch:
@ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
@ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
-e 's#malloc.h#stdlib.h#g' \
-e 's#/usr/X11R6#${LOCALBASE}#g' \
+ -e 's#pkg_config --list-all#pkg_config --help#' \
${WRKSRC}/configure.Patched > ${WRKSRC}/configure
-
.if defined(WITH_PAM)
.for f in driver/passwd-pam.c driver/xscreensaver.man
@ ${CP} ${WRKSRC}/${f} ${WRKSRC}/${f}.presed
@@ -161,5 +164,6 @@ post-install:
${ECHO} "bin/xscreensaver-hacks/webcollage-helper" | \
${CAT} - ${TMPPLIST} > ${TMPPLIST}.cat && \
${MV} ${TMPPLIST}.cat ${TMPPLIST}; fi)
+ ${INSTALL_DATA} ${WRKDIR}/*.desktop ${PREFIX}/share/applications/
.include <bsd.port.post.mk>
diff --git a/x11/xscreensaver/distinfo b/x11/xscreensaver/distinfo
index 5f20f7e680a9..f889c328f1ba 100644
--- a/x11/xscreensaver/distinfo
+++ b/x11/xscreensaver/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xscreensaver-5.18.tar.gz) = 3d70edb8f46511f5427f21b4ba4d8323f336888f60268d16731f5231c6883db9
-SIZE (xscreensaver-5.18.tar.gz) = 7363800
+SHA256 (xscreensaver-5.19.tar.gz) = fd62ea0f996abe1bea3770dd7141681454521b49302f9bced8af9c2ee428c0e0
+SIZE (xscreensaver-5.19.tar.gz) = 7373580
diff --git a/x11/xscreensaver/files/xscreensaver-blank.desktop.in b/x11/xscreensaver/files/xscreensaver-blank.desktop.in
new file mode 100644
index 000000000000..00d3639d5dcf
--- /dev/null
+++ b/x11/xscreensaver/files/xscreensaver-blank.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=XScreenSaver Blank
+Comment=Blank the screen with (activate) XScreenSaver
+Icon=%%PREFIX%%/share/xscreensaver/glade/screensaver-diagnostic.png
+Exec=%%PREFIX%%/bin/xscreensaver-command -activate
+Categories=Settings;DesktopSettings;Security;X-XFCE;XScreenSaver;
+Terminal=false
+StartupNotify=false
diff --git a/x11/xscreensaver/files/xscreensaver-lock.desktop.in b/x11/xscreensaver/files/xscreensaver-lock.desktop.in
new file mode 100644
index 000000000000..ae234c987ae5
--- /dev/null
+++ b/x11/xscreensaver/files/xscreensaver-lock.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=XScreenSaver Lock
+Comment=Lock the screen with XScreenSaver
+Icon=%%PREFIX%%/share/xscreensaver/glade/screensaver-locking.png
+Exec=%%PREFIX%%/bin/xscreensaver-command -lock
+Categories=Settings;DesktopSettings;Security;X-XFCE;XScreenSaver;
+Terminal=false
+StartupNotify=false
diff --git a/x11/xscreensaver/files/xscreensaver-start.desktop.in b/x11/xscreensaver/files/xscreensaver-start.desktop.in
new file mode 100644
index 000000000000..a591febd08ac
--- /dev/null
+++ b/x11/xscreensaver/files/xscreensaver-start.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=XScreenSaver Start
+Comment=Start XScreenSaver daemon
+Icon=%%PREFIX%%/share/pixmaps/xscreensaver.xpm
+Exec=%%PREFIX%%/bin/xscreensaver
+Categories=Settings;DesktopSettings;Security;X-XFCE;XScreenSaver;
+Terminal=false
+StartupNotify=false
diff --git a/x11/xscreensaver/files/xscreensaver-stop.desktop.in b/x11/xscreensaver/files/xscreensaver-stop.desktop.in
new file mode 100644
index 000000000000..02819997e70c
--- /dev/null
+++ b/x11/xscreensaver/files/xscreensaver-stop.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=XScreenSaver Stop
+Comment=Stop XScreenSaver daemon
+Icon=process-stop
+Exec=%%PREFIX%%/bin/xscreensaver-command -exit
+Categories=Settings;DesktopSettings;Security;X-XFCE;XScreenSaver;
+Terminal=false
+StartupNotify=false
diff --git a/x11/xscreensaver/pkg-plist b/x11/xscreensaver/pkg-plist
index 85e02dacc9be..898f46aef890 100644
--- a/x11/xscreensaver/pkg-plist
+++ b/x11/xscreensaver/pkg-plist
@@ -208,7 +208,11 @@ bin/xscreensaver-hacks/zoom
bin/xscreensaver-text
%%PAM%%etc/pam.d/xscreensaver
lib/X11/app-defaults/XScreenSaver
+share/applications/xscreensaver-blank.desktop
+share/applications/xscreensaver-lock.desktop
share/applications/xscreensaver-properties.desktop
+share/applications/xscreensaver-start.desktop
+share/applications/xscreensaver-stop.desktop
share/pixmaps/xscreensaver.xpm
%%DATADIR%%/config/README
%%DATADIR%%/config/abstractile.xml