From bb544fa6f1f773e3a44a791a4cca87f32a2eff34 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 10 Jun 2005 02:05:41 +0000 Subject: 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 --- x11/gnome-screensaver/Makefile | 39 ++++++++++++++++++++++++++ x11/gnome-screensaver/distinfo | 2 ++ x11/gnome-screensaver/files/patch-configure | 20 +++++++++++++ x11/gnome-screensaver/files/patch-src_gs-job.c | 12 ++++++++ x11/gnome-screensaver/pkg-descr | 7 +++++ x11/gnome-screensaver/pkg-plist | 11 ++++++++ 6 files changed, 91 insertions(+) create mode 100644 x11/gnome-screensaver/Makefile create mode 100644 x11/gnome-screensaver/distinfo create mode 100644 x11/gnome-screensaver/files/patch-configure create mode 100644 x11/gnome-screensaver/files/patch-src_gs-job.c create mode 100644 x11/gnome-screensaver/pkg-descr create mode 100644 x11/gnome-screensaver/pkg-plist (limited to 'x11') 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 +# +# $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 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 + #include + +-#if defined(HAVE_SETPRIORITY) && defined(PRIO_PROCESS) ++#if defined(HAVE_SETPRIORITY) ++#include + #include + #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 -- cgit v1.2.3