summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-10 10:05:41 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-06-10 10:05:41 +0800
commitbb544fa6f1f773e3a44a791a4cca87f32a2eff34 (patch)
treeeea94cef9c5f8b34c0207e5bbceb2f01feef1035 /x11
parentbd01a923a0ec719a6977bdc2075802f31203547b (diff)
downloadmarcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar.gz
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar.bz2
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar.lz
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar.xz
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.tar.zst
marcuscom-ports-bb544fa6f1f773e3a44a791a4cca87f32a2eff34.zip
Add gnome-screensaver, a simple screen saver and locker for the GNOME
desktop. So far, there aren't many screensaver modules, but this is poised to take over as the default GNOME screensaver. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4058 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-screensaver/Makefile39
-rw-r--r--x11/gnome-screensaver/distinfo2
-rw-r--r--x11/gnome-screensaver/files/patch-configure20
-rw-r--r--x11/gnome-screensaver/files/patch-src_gs-job.c12
-rw-r--r--x11/gnome-screensaver/pkg-descr7
-rw-r--r--x11/gnome-screensaver/pkg-plist11
6 files changed, 91 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
new file mode 100644
index 000000000..a1dadd833
--- /dev/null
+++ b/x11/gnome-screensaver/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: gnome-screensaver
+# Date created: 09 June 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-screensaver
+PORTVERSION= 0.0.5
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.0
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME screen saver and locker
+
+LIB_DEPENDS= dbus-1.1:${PORTSDIR}/devel/dbus
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_LIBTOOL_VER=15
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui
+CONFIGURE_ARGS= --disable-pam
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gnome-screensaver.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/configure
+
+post-install:
+ ${CHOWN} root ${PREFIX}/libexec/gnome-screensaver-dialog
+ ${CHMOD} +s ${PREFIX}/libexec/gnome-screensaver-dialog
+
+.include <bsd.port.mk>
diff --git a/x11/gnome-screensaver/distinfo b/x11/gnome-screensaver/distinfo
new file mode 100644
index 000000000..7ab2c61ee
--- /dev/null
+++ b/x11/gnome-screensaver/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome-screensaver-0.0.5.tar.bz2) = 0f2ca14b4d192594a12be204628e2193
+SIZE (gnome-screensaver-0.0.5.tar.bz2) = 370951
diff --git a/x11/gnome-screensaver/files/patch-configure b/x11/gnome-screensaver/files/patch-configure
new file mode 100644
index 000000000..5a390baac
--- /dev/null
+++ b/x11/gnome-screensaver/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed Jun 8 23:43:39 2005
++++ configure Wed Jun 8 23:44:22 2005
+@@ -23792,7 +23792,7 @@
+ gdmconfigfile="$withval"
+ fi;
+
+-if test "x$gdmconfigfile" == "x" -o "x$gdmconfigfile" == "xno"; then
++if test "x$gdmconfigfile" = "x" -o "x$gdmconfigfile" = "xno"; then
+ echo "$as_me:$LINENO: checking for gdm.conf" >&5
+ echo $ECHO_N "checking for gdm.conf... $ECHO_C" >&6
+
+@@ -23800,6 +23800,8 @@
+ gdmconfigfile="/etc/gdm/gdm.conf"
+ elif test -f "/etc/X11/gdm/gdm.conf"; then
+ gdmconfigfile="/etc/X11/gdm/gdm.conf"
++ elif test -f "%%X11BASE%%/etc/gdm/gdm.conf"; then
++ gdmconfigfile="%%X11BASE%%/etc/gdm/gdm.conf"
+ else
+ { { echo "$as_me:$LINENO: error: The GDM config file could not be found, please specify it manually" >&5
+ echo "$as_me: error: The GDM config file could not be found, please specify it manually" >&2;}
diff --git a/x11/gnome-screensaver/files/patch-src_gs-job.c b/x11/gnome-screensaver/files/patch-src_gs-job.c
new file mode 100644
index 000000000..9363ee6e6
--- /dev/null
+++ b/x11/gnome-screensaver/files/patch-src_gs-job.c
@@ -0,0 +1,12 @@
+--- src/gs-job.c.orig Wed Jun 8 23:57:35 2005
++++ src/gs-job.c Thu Jun 9 00:00:29 2005
+@@ -29,7 +29,8 @@
+ #include <sys/wait.h>
+ #include <errno.h>
+
+-#if defined(HAVE_SETPRIORITY) && defined(PRIO_PROCESS)
++#if defined(HAVE_SETPRIORITY)
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #endif
+
diff --git a/x11/gnome-screensaver/pkg-descr b/x11/gnome-screensaver/pkg-descr
new file mode 100644
index 000000000..96af92f11
--- /dev/null
+++ b/x11/gnome-screensaver/pkg-descr
@@ -0,0 +1,7 @@
+Gnome-screensaver is GNOME-based screen saver and locker that aims to have
+simple, sane, secure defaults and be well integrated with the desktop.
+It is designed to support:
+
+ * the ability to lock down configuration settings
+ * translation into other languages
+ * user switching
diff --git a/x11/gnome-screensaver/pkg-plist b/x11/gnome-screensaver/pkg-plist
new file mode 100644
index 000000000..cc1b28cb8
--- /dev/null
+++ b/x11/gnome-screensaver/pkg-plist
@@ -0,0 +1,11 @@
+bin/gnome-screensaver
+bin/gnome-screensaver-command
+bin/gnome-screensaver-preferences
+libexec/gnome-screensaver-dialog
+libexec/gnome-screensaver/popsquares
+share/gnome/applications/gnome-screensaver-preferences.desktop
+share/gnome/gnome-screensaver/gnome-screensaver-preferences.glade
+share/gnome/gnome-screensaver/themes/popsquares.xml
+@dirrm share/gnome/gnome-screensaver/themes
+@dirrm share/gnome/gnome-screensaver
+@dirrm libexec/gnome-screensaver