summaryrefslogtreecommitdiff
path: root/x11/gnome-screensaver
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-01 21:43:59 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-01 21:43:59 +0000
commita01eb28c3220aa29e32d0ea9911341882f9ed78b (patch)
treefb0d73535456a5a3de4ef1fa09069092ba209ded /x11/gnome-screensaver
parent2957f2d58fe4b7c98b42a65b5d893ac045464306 (diff)
downloadpkgsrc-a01eb28c3220aa29e32d0ea9911341882f9ed78b.tar.gz
Initial import of gnome-screensaver, version 2.14.0:
gnome-screensaver is a new screensaver that can replace xscreensaver. It is designed to integrate well with the desktop and provide a control interface that is desktop neutral. It simplifies and streamlines the experience for the user and provides more capability for the system administrator and vendor.
Diffstat (limited to 'x11/gnome-screensaver')
-rw-r--r--x11/gnome-screensaver/DESCR18
-rw-r--r--x11/gnome-screensaver/MESSAGE10
-rw-r--r--x11/gnome-screensaver/Makefile50
-rw-r--r--x11/gnome-screensaver/PLIST83
-rw-r--r--x11/gnome-screensaver/distinfo7
-rw-r--r--x11/gnome-screensaver/files/pam-gnome-screensaver-NetBSD16
-rw-r--r--x11/gnome-screensaver/patches/patch-aa15
-rw-r--r--x11/gnome-screensaver/patches/patch-ab13
8 files changed, 212 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/DESCR b/x11/gnome-screensaver/DESCR
new file mode 100644
index 00000000000..75a67229c01
--- /dev/null
+++ b/x11/gnome-screensaver/DESCR
@@ -0,0 +1,18 @@
+gnome-screensaver is a new screensaver that can replace xscreensaver.
+It is designed to integrate well with the desktop and provide a control
+interface that is desktop neutral. It simplifies and streamlines the
+experience for the user and provides more capability for the system
+administrator and vendor.
+
+It is designed to support:
+* A desktop neutral control interface via DBus.
+* A desktop neutral and standard way to install and manage screensaver
+ themes.
+* Switching users directly from the unlock dialog.
+* Allowing a system administrator to set a mandatory policy for any setting.
+* A secure separation of user input processing and authentication from the
+ screen locking window.
+* A separation between the screensaver theme engine and the theme settings.
+* Integration with the desktop (themes, fonts, toolkit).
+* Translation into many languages by the GNOME Translation Project.
+* Instantly applying settings changes.
diff --git a/x11/gnome-screensaver/MESSAGE b/x11/gnome-screensaver/MESSAGE
new file mode 100644
index 00000000000..e86a3e050c7
--- /dev/null
+++ b/x11/gnome-screensaver/MESSAGE
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+In order to get gnome-screensaver working properly, you need to add a
+gnome-screensaver file to your pam configuration directory (usually
+/etc/pam.d). You can find sample files in:
+
+ ${EGDIR}/pam.d/gnome-screensaver
+
+===========================================================================
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
new file mode 100644
index 00000000000..784657629e2
--- /dev/null
+++ b/x11/gnome-screensaver/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+#
+
+DISTNAME= gnome-screensaver-2.14.0
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-screensaver/2.14/}
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://live.gnome.org/GnomeScreensaver/
+COMMENT= Screen saver and locker for the GNOME desktop
+
+GNU_CONFIGURE= yes
+USE_DIRS+= xdg-1.3
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+PKGCONFIG_OVERRIDE= data/gnome-screensaver.pc
+
+GCONF2_SCHEMAS= gnome-screensaver.schemas
+
+EGDIR= ${PREFIX}/share/examples/gnome-screensaver
+INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q}
+MESSAGE_SUBST+= EGDIR=${EGDIR:Q}
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus
+CONF_FILES= ${EGDIR}/xdg/menus/gnome-screensavers.menu \
+ ${PKG_SYSCONFDIR}/xdg/menus/gnome-screensavers.menu
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}/pam.d
+ ${INSTALL_DATA} ${FILESDIR}/pam-gnome-screensaver-NetBSD \
+ ${EGDIR}/pam.d/gnome-screensaver-NetBSD
+ ${INSTALL_DATA} ${WRKSRC}/data/gnome-screensaver \
+ ${EGDIR}/pam.d/gnome-screensaver-Linux
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/libgnomeui/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../sysutils/gnome-menus/buildlink3.mk"
+.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome-screensaver/PLIST b/x11/gnome-screensaver/PLIST
new file mode 100644
index 00000000000..62bc66a84ad
--- /dev/null
+++ b/x11/gnome-screensaver/PLIST
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+bin/gnome-screensaver
+bin/gnome-screensaver-command
+bin/gnome-screensaver-preferences
+lib/pkgconfig/gnome-screensaver.pc
+libexec/gnome-screensaver-dialog
+libexec/gnome-screensaver/floaters
+libexec/gnome-screensaver/popsquares
+libexec/gnome-screensaver/slideshow
+share/applications/gnome-screensaver-preferences.desktop
+share/desktop-directories/gnome-screensaver.directory
+share/examples/gnome-screensaver/pam.d/gnome-screensaver-Linux
+share/examples/gnome-screensaver/pam.d/gnome-screensaver-NetBSD
+share/examples/gnome-screensaver/xdg/menus/gnome-screensavers.menu
+share/gconf/schemas/gnome-screensaver.schemas
+share/gnome-screensaver/gnome-screensaver-preferences.glade
+share/gnome-screensaver/themes/cosmos-slideshow.desktop
+share/gnome-screensaver/themes/footlogo-floaters.desktop
+share/gnome-screensaver/themes/personal-slideshow.desktop
+share/gnome-screensaver/themes/popsquares.desktop
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/bn/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/gu/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/ku/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/th/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/zh_HK/LC_MESSAGES/gnome-screensaver.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gnome-screensaver.mo
+share/pixmaps/backgrounds/cosmos/cloud.jpg
+share/pixmaps/backgrounds/cosmos/comet.jpg
+share/pixmaps/backgrounds/cosmos/earth-horizon.jpg
+share/pixmaps/backgrounds/cosmos/earthrise.jpg
+share/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg
+share/pixmaps/backgrounds/cosmos/helix-nebula.jpg
+share/pixmaps/backgrounds/cosmos/jupiter.jpg
+share/pixmaps/backgrounds/cosmos/sombrero.jpg
+share/pixmaps/backgrounds/cosmos/whirlpool.jpg
+share/pixmaps/gnome-logo-white.svg
+@dirrm share/pixmaps/backgrounds/cosmos
+@comment in xdg-dirs: @dirrm share/pixmaps/backgrounds
+@comment in xdg-dirs: @dirrm share/pixmaps
+@dirrm share/gnome-screensaver/themes
+@dirrm share/gnome-screensaver
+@comment in GConf2: @dirrm share/gconf/schemas
+@dirrm share/examples/gnome-screensaver/xdg/menus
+@dirrm share/examples/gnome-screensaver/xdg
+@dirrm share/examples/gnome-screensaver/pam.d
+@dirrm share/examples/gnome-screensaver
+@comment in xdg-dirs: @dirrm share/desktop-directories
+@comment in xdg-dirs: @dirrm share/applications
+@dirrm libexec/gnome-screensaver
diff --git a/x11/gnome-screensaver/distinfo b/x11/gnome-screensaver/distinfo
new file mode 100644
index 00000000000..568f16254ca
--- /dev/null
+++ b/x11/gnome-screensaver/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+SHA1 (gnome-screensaver-2.14.0.tar.gz) = da00872645b178f153ac0219365326ffe1da4855
+RMD160 (gnome-screensaver-2.14.0.tar.gz) = 73193955cd67368bac2ead133b14b064b19f8b34
+Size (gnome-screensaver-2.14.0.tar.gz) = 2075022 bytes
+SHA1 (patch-aa) = 1249f7f334a15cc635094e2e2c41e0774129afe7
+SHA1 (patch-ab) = 5b5f9d69fd071bfd6f9b316626e23585841dad9d
diff --git a/x11/gnome-screensaver/files/pam-gnome-screensaver-NetBSD b/x11/gnome-screensaver/files/pam-gnome-screensaver-NetBSD
new file mode 100644
index 00000000000..be86a439894
--- /dev/null
+++ b/x11/gnome-screensaver/files/pam-gnome-screensaver-NetBSD
@@ -0,0 +1,16 @@
+# $NetBSD: pam-gnome-screensaver-NetBSD,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+#
+# PAM configuration for the "gnome-screensaver" service
+#
+
+# auth
+auth include system
+
+# account
+account include system
+
+# session
+session include system
+
+# password
+password include system
diff --git a/x11/gnome-screensaver/patches/patch-aa b/x11/gnome-screensaver/patches/patch-aa
new file mode 100644
index 00000000000..50cf04818e4
--- /dev/null
+++ b/x11/gnome-screensaver/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+--- savers/floaters.c.orig 2006-02-17 17:59:33.000000000 +0100
++++ savers/floaters.c
+@@ -69,6 +69,10 @@
+ #define GAMMA 2.2
+ #endif
+
++#if defined(__NetBSD__)
++# define trunc(x) ((double)floor(x))
++#endif
++
+ typedef struct _Point Point;
+ typedef struct _Path Path;
+ typedef struct _Rectangle Rectangle;
diff --git a/x11/gnome-screensaver/patches/patch-ab b/x11/gnome-screensaver/patches/patch-ab
new file mode 100644
index 00000000000..e544ccff546
--- /dev/null
+++ b/x11/gnome-screensaver/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+--- data/Makefile.in.orig 2006-03-13 15:50:13.000000000 +0100
++++ data/Makefile.in
+@@ -766,7 +766,7 @@ uninstall-info: uninstall-info-recursive
+ @GCONF_SCHEMAS_INSTALL_TRUE@ fi
+ @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
+
+-install-data-hook:
++dont-install-data-hook:
+ @system=`uname`; \
+ if test -f /usr/include/security/pam_appl.h; then \
+ if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \