diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-02-28 05:52:33 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-02-28 05:52:33 +0800 |
commit | 39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3 (patch) | |
tree | 87798d88c086dda3fb498070849ebc6fefaecafb /x11/gnome-screensaver | |
parent | 89c9c76bd3cbfdd48c4fa4d91b14beec3a0787d2 (diff) | |
download | marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar.gz marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar.bz2 marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar.lz marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar.xz marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.tar.zst marcuscom-ports-39bbc0bbc271e56bf8eff5d1cb8df639e9a359e3.zip |
Update to 2.25.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11948 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-screensaver')
-rw-r--r-- | x11/gnome-screensaver/Makefile | 98 | ||||
-rw-r--r-- | x11/gnome-screensaver/distinfo | 3 | ||||
-rw-r--r-- | x11/gnome-screensaver/files/gnome-screensaver.pam.in | 3 | ||||
-rw-r--r-- | x11/gnome-screensaver/files/patch-data_Makefile.in | 73 | ||||
-rw-r--r-- | x11/gnome-screensaver/files/patch-src_gs-job.c | 12 | ||||
-rw-r--r-- | x11/gnome-screensaver/pkg-descr | 7 | ||||
-rw-r--r-- | x11/gnome-screensaver/pkg-plist | 136 |
7 files changed, 332 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile new file mode 100644 index 000000000..f925d4cd0 --- /dev/null +++ b/x11/gnome-screensaver/Makefile @@ -0,0 +1,98 @@ +# New ports collection makefile for: gnome-screensaver +# Date created: 09 June 2005 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11/gnome-screensaver/Makefile,v 1.99 2009/01/02 19:17:35 marcus Exp $ +# + +PORTNAME= gnome-screensaver +PORTVERSION= 2.25.2 +CATEGORIES= x11 gnome +MASTER_SITES= GNOME +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_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnomemenus libgnomekbd \ + gnomedesktop +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 +SUB_FILES+= gnome-screensaver.pam + +XSCREENSAVER_DIR= ${LOCALBASE}/share/xscreensaver/config +SCREENSAVER_DIR= share/applications/screensavers + +XSCREENSAVER_EXCLUDE= "(popsquares.xml)" + +OPTIONS= PAM "Pluggable Authentication Module support" on \ + KEYRING "Enable GnomeKeyring integration (needs PAM)" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_PAM) +RUN_DEPENDS+= pam_helper:${PORTSDIR}/security/pam_helper +CONFIGURE_ARGS+= --enable-authentication-scheme=helper \ + --with-passwd-helper=${LOCALBASE}/bin/pam_helper +PLIST_SUB+= PAM="" +.else +CONFIGURE_ARGS+= --disable-pam +PLIST_SUB+= PAM="@comment " +.endif + +.if defined(WITH_KEYRING) && defined(WITH_PAM) +SUB_LIST+= PAM_KEYRING= +RUN_DEPENDS+= ${LOCALBASE}/lib/pam_gnome_keyring.so:${PORTSDIR}/security/gnome-keyring +.else +SUB_LIST+= PAM_KEYRING=\# +.endif + +pre-everything:: +.if defined(WITHOUT_PAM) && defined(WITH_KEYRING) + @${ECHO_MSG} "Keyring integration is disabled because it needs PAM." +.endif + +post-patch: +.if defined(WITH_PAM) + @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ + ${WRKSRC}/src/gs-auth-pam.c +.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 +.if defined(WITH_PAM) + ${INSTALL_DATA} ${WRKDIR}/gnome-screensaver.pam ${PREFIX}/etc/pam.d/gnome-screensaver +.endif + +.include <bsd.port.post.mk> diff --git a/x11/gnome-screensaver/distinfo b/x11/gnome-screensaver/distinfo new file mode 100644 index 000000000..d8f34899b --- /dev/null +++ b/x11/gnome-screensaver/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-screensaver-2.25.2.tar.bz2) = e0aa87be6034e0274103f0ef30c1d31d +SHA256 (gnome2/gnome-screensaver-2.25.2.tar.bz2) = 8bd3eff447b3cb184b45b28ed3b4e92932a0a1d43bd0405018409712a0156157 +SIZE (gnome2/gnome-screensaver-2.25.2.tar.bz2) = 2063792 diff --git a/x11/gnome-screensaver/files/gnome-screensaver.pam.in b/x11/gnome-screensaver/files/gnome-screensaver.pam.in new file mode 100644 index 000000000..c2f8394ff --- /dev/null +++ b/x11/gnome-screensaver/files/gnome-screensaver.pam.in @@ -0,0 +1,3 @@ +auth include system +%%PAM_KEYRING%%auth optional %%LOCALBASE%%/lib/pam_gnome_keyring.so +account include system 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..97557b557 --- /dev/null +++ b/x11/gnome-screensaver/pkg-plist @@ -0,0 +1,136 @@ +bin/gnome-screensaver +bin/gnome-screensaver-command +bin/gnome-screensaver-preferences +%%PAM%%etc/pam.d/gnome-screensaver +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/as/LC_MESSAGES/gnome-screensaver.mo +share/locale/ast/LC_MESSAGES/gnome-screensaver.mo +share/locale/be/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/hr/LC_MESSAGES/gnome-screensaver.mo +share/locale/hu/LC_MESSAGES/gnome-screensaver.mo +share/locale/id/LC_MESSAGES/gnome-screensaver.mo +share/locale/is/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/kn/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/mr/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/ps/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@latin/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 +@dirrmtry share/pixmaps/backgrounds +@dirrm %%DATADIR%% +@dirrmtry share/applications +@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/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/ps/LC_MESSAGES +@dirrmtry share/locale/ps +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@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/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |