summaryrefslogtreecommitdiffstats
path: root/x11/gnome-screensaver
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-31 12:41:19 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-31 12:41:19 +0800
commit5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e (patch)
treea90c82ce77e1c00d330cdbffb05cd9ec612b50da /x11/gnome-screensaver
parentd0458bab30e4ee9ed2111566909de562d3dca96a (diff)
downloadmarcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.gz
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.bz2
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.lz
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.xz
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.tar.zst
marcuscom-ports-5cb50822e73d6fb65fd9cc1b7b3e72577d729c6e.zip
-Update to 2.21.6.
-Remove libgnomeui and add libnotify dependency. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10306 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-screensaver')
-rw-r--r--x11/gnome-screensaver/Makefile71
-rw-r--r--x11/gnome-screensaver/distinfo3
-rw-r--r--x11/gnome-screensaver/files/patch-data_Makefile.in73
-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-plist117
6 files changed, 283 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
new file mode 100644
index 000000000..d79ef6fd8
--- /dev/null
+++ b/x11/gnome-screensaver/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: gnome-screensaver
+# Date created: 09 June 2005
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gnome-screensaver
+PORTVERSION= 2.21.6
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME screen saver and locker
+
+LIB_DEPENDS= notify.1:${PORTSDIR}/devel/libnotify
+RUN_DEPENDS= xscreensaver-gl-helper:${PORTSDIR}/x11/xscreensaver-gnome-hacks
+
+USE_BZIP2= yes
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomemenus libgnomekbd
+CONFIGURE_ARGS= --with-gdm-config=${LOCALBASE}/etc/gdm/custom.conf \
+ --with-xscreensaverdir=${XSCREENSAVER_DIR} \
+ --with-xscreensaverhackdir=${LOCALBASE}/bin/xscreensaver-hacks
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gnome-screensaver.schemas
+MAN1= gnome-screensaver-command.1 gnome-screensaver-preferences.1 \
+ gnome-screensaver.1
+
+
+PLIST= ${WRKDIR}/pkg-plist
+
+XSCREENSAVER_DIR= ${LOCALBASE}/share/xscreensaver/config
+SCREENSAVER_DIR= share/applications/screensavers
+
+XSCREENSAVER_EXCLUDE= "(popsquares.xml)"
+
+OPTIONS= PAM "Pluggable Authentication Module support" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITH_PAM)
+CONFIGURE_ARGS+= --disable-pam
+.endif
+
+pre-install:
+ @${CAT} ${.CURDIR}/pkg-plist > ${PLIST}
+ @cd ${XSCREENSAVER_DIR} && ${FIND} -s * -maxdepth 1 -type f -name "*.xml" | \
+ ${GREP} -Ev ${XSCREENSAVER_EXCLUDE} | \
+ ${SED} -e 's:^:${SCREENSAVER_DIR}/:' | \
+ ${SED} -e 's:[.]xml$$:.desktop:' >> ${PLIST}
+ @${ECHO_CMD} @dirrm ${SCREENSAVER_DIR} >> ${PLIST}
+
+post-install:
+ ${CHOWN} root ${PREFIX}/libexec/gnome-screensaver-dialog
+ ${CHMOD} +s ${PREFIX}/libexec/gnome-screensaver-dialog
+ ${MKDIR} ${PREFIX}/${SCREENSAVER_DIR}
+ cd ${PREFIX}/${SCREENSAVER_DIR} && \
+ ${FIND} -s ${XSCREENSAVER_DIR} -maxdepth 1 -type f -name "*.xml" | \
+ ${GREP} -Ev ${XSCREENSAVER_EXCLUDE} | \
+ ${XARGS} ${WRKSRC}/data/migrate-xscreensaver-config.sh
+
+.include <bsd.port.post.mk>
diff --git a/x11/gnome-screensaver/distinfo b/x11/gnome-screensaver/distinfo
new file mode 100644
index 000000000..7f7a62a62
--- /dev/null
+++ b/x11/gnome-screensaver/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-screensaver-2.21.6.tar.bz2) = 84aa370347fd84c939ecdd318e771aa6
+SHA256 (gnome2/gnome-screensaver-2.21.6.tar.bz2) = 5b2a00da089305450cb7d2782a9a031c5cb2a2774757add5e315473a7a8c7a91
+SIZE (gnome2/gnome-screensaver-2.21.6.tar.bz2) = 2042498
diff --git a/x11/gnome-screensaver/files/patch-data_Makefile.in b/x11/gnome-screensaver/files/patch-data_Makefile.in
new file mode 100644
index 000000000..a474e9ef2
--- /dev/null
+++ b/x11/gnome-screensaver/files/patch-data_Makefile.in
@@ -0,0 +1,73 @@
+--- data/Makefile.in.orig Mon Nov 7 05:37:01 2005
++++ data/Makefile.in Mon Nov 7 05:37:38 2005
+@@ -737,38 +737,38 @@
+ @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
+
+ install-data-hook:
+- @system=`uname`; \
+- if test -f /usr/include/security/pam_appl.h; then \
+- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
+- $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+- chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+- fi; \
+- if test $$system = Linux; then \
+- if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \
+- $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \
+- fi; \
+- if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
+- echo "***" ; \
+- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
+- echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
+- echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \
+- echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \
+- echo "*** not work." ; \
+- echo "***" ; \
+- echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
+- echo "***" ; \
+- fi; \
+- fi; \
+- if test $$system = SunOS; then \
+- echo "***" ; \
+- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
+- echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
+- echo "*** need to manually add authentication for gnome-screensaver in" ; \
+- echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
+- echo "*** Otherwise, unlocking might not work." ; \
+- echo "***" ; \
+- fi; \
+- fi
++# @system=`uname`; \
++# if test -f /usr/include/security/pam_appl.h; then \
++# if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
++# $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
++# chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
++# fi; \
++# if test $$system = Linux; then \
++# if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \
++# $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \
++# fi; \
++# if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
++# echo "***" ; \
++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
++# echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
++# echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \
++# echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \
++# echo "*** not work." ; \
++# echo "***" ; \
++# echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
++# echo "***" ; \
++# fi; \
++# fi; \
++# if test $$system = SunOS; then \
++# echo "***" ; \
++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
++# echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
++# echo "*** need to manually add authentication for gnome-screensaver in" ; \
++# echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
++# echo "*** Otherwise, unlocking might not work." ; \
++# echo "***" ; \
++# fi; \
++# fi
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
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..39e303d27
--- /dev/null
+++ b/x11/gnome-screensaver/files/patch-src_gs-job.c
@@ -0,0 +1,12 @@
+--- src/gs-job.c.orig Wed Sep 7 09:23:59 2005
++++ src/gs-job.c Mon Sep 12 13:24:11 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..05468032c
--- /dev/null
+++ b/x11/gnome-screensaver/pkg-plist
@@ -0,0 +1,117 @@
+bin/gnome-screensaver
+bin/gnome-screensaver-command
+bin/gnome-screensaver-preferences
+etc/xdg/menus/gnome-screensavers.menu
+libdata/pkgconfig/gnome-screensaver.pc
+libexec/gnome-screensaver-dialog
+libexec/gnome-screensaver-gl-helper
+libexec/gnome-screensaver/floaters
+libexec/gnome-screensaver/popsquares
+libexec/gnome-screensaver/slideshow
+share/applications/gnome-screensaver-preferences.desktop
+share/applications/screensavers/cosmos-slideshow.desktop
+share/applications/screensavers/footlogo-floaters.desktop
+share/applications/screensavers/personal-slideshow.desktop
+share/applications/screensavers/popsquares.desktop
+share/desktop-directories/gnome-screensaver.directory
+%%DATADIR%%/gnome-screensaver-preferences.glade
+%%DATADIR%%/lock-dialog-default.glade
+share/locale/ar/LC_MESSAGES/gnome-screensaver.mo
+share/locale/be@latin/LC_MESSAGES/gnome-screensaver.mo
+share/locale/bg/LC_MESSAGES/gnome-screensaver.mo
+share/locale/bn/LC_MESSAGES/gnome-screensaver.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ca/LC_MESSAGES/gnome-screensaver.mo
+share/locale/cs/LC_MESSAGES/gnome-screensaver.mo
+share/locale/cy/LC_MESSAGES/gnome-screensaver.mo
+share/locale/da/LC_MESSAGES/gnome-screensaver.mo
+share/locale/de/LC_MESSAGES/gnome-screensaver.mo
+share/locale/dz/LC_MESSAGES/gnome-screensaver.mo
+share/locale/el/LC_MESSAGES/gnome-screensaver.mo
+share/locale/en_CA/LC_MESSAGES/gnome-screensaver.mo
+share/locale/en_GB/LC_MESSAGES/gnome-screensaver.mo
+share/locale/es/LC_MESSAGES/gnome-screensaver.mo
+share/locale/et/LC_MESSAGES/gnome-screensaver.mo
+share/locale/eu/LC_MESSAGES/gnome-screensaver.mo
+share/locale/fa/LC_MESSAGES/gnome-screensaver.mo
+share/locale/fi/LC_MESSAGES/gnome-screensaver.mo
+share/locale/fr/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ga/LC_MESSAGES/gnome-screensaver.mo
+share/locale/gl/LC_MESSAGES/gnome-screensaver.mo
+share/locale/gu/LC_MESSAGES/gnome-screensaver.mo
+share/locale/he/LC_MESSAGES/gnome-screensaver.mo
+share/locale/hi/LC_MESSAGES/gnome-screensaver.mo
+share/locale/hu/LC_MESSAGES/gnome-screensaver.mo
+share/locale/id/LC_MESSAGES/gnome-screensaver.mo
+share/locale/it/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ja/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ka/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ko/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ku/LC_MESSAGES/gnome-screensaver.mo
+share/locale/lt/LC_MESSAGES/gnome-screensaver.mo
+share/locale/lv/LC_MESSAGES/gnome-screensaver.mo
+share/locale/mg/LC_MESSAGES/gnome-screensaver.mo
+share/locale/mk/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ml/LC_MESSAGES/gnome-screensaver.mo
+share/locale/mn/LC_MESSAGES/gnome-screensaver.mo
+share/locale/nb/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ne/LC_MESSAGES/gnome-screensaver.mo
+share/locale/nl/LC_MESSAGES/gnome-screensaver.mo
+share/locale/nn/LC_MESSAGES/gnome-screensaver.mo
+share/locale/oc/LC_MESSAGES/gnome-screensaver.mo
+share/locale/or/LC_MESSAGES/gnome-screensaver.mo
+share/locale/pa/LC_MESSAGES/gnome-screensaver.mo
+share/locale/pl/LC_MESSAGES/gnome-screensaver.mo
+share/locale/pt/LC_MESSAGES/gnome-screensaver.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ro/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ru/LC_MESSAGES/gnome-screensaver.mo
+share/locale/si/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sk/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sl/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sq/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sr/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sr@Latn/LC_MESSAGES/gnome-screensaver.mo
+share/locale/sv/LC_MESSAGES/gnome-screensaver.mo
+share/locale/ta/LC_MESSAGES/gnome-screensaver.mo
+share/locale/te/LC_MESSAGES/gnome-screensaver.mo
+share/locale/th/LC_MESSAGES/gnome-screensaver.mo
+share/locale/tr/LC_MESSAGES/gnome-screensaver.mo
+share/locale/uk/LC_MESSAGES/gnome-screensaver.mo
+share/locale/vi/LC_MESSAGES/gnome-screensaver.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-screensaver.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-screensaver.mo
+share/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
+@dirrm share/pixmaps/backgrounds
+@dirrm %%DATADIR%%
+@dirrm libexec/gnome-screensaver
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/mg/LC_MESSAGES
+@dirrmtry share/locale/mg
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/be@latin/LC_MESSAGES
+@dirrmtry share/locale/be@latin
+@dirrmtry share/applications