diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 14:01:15 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-04-30 14:01:15 +0800 |
commit | e498c9a0d734c0f8c4817d52a88d2c1524edf6fa (patch) | |
tree | 465d5da6967e0b1e2ab928da9462be8d30af7728 /x11 | |
parent | 27f48380d39d698ae9e27c27790814e2b3c8e1c2 (diff) | |
download | marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar.gz marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar.bz2 marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar.lz marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar.xz marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.tar.zst marcuscom-ports-e498c9a0d734c0f8c4817d52a88d2c1524edf6fa.zip |
- Update to 2.15.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6168 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-screensaver/Makefile | 58 | ||||
-rw-r--r-- | x11/gnome-screensaver/distinfo | 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 | 70 |
6 files changed, 223 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile new file mode 100644 index 000000000..f392e721e --- /dev/null +++ b/x11/gnome-screensaver/Makefile @@ -0,0 +1,58 @@ +# 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.36 2006/04/13 07:52:40 bland Exp $ +# + +PORTNAME= gnome-screensaver +PORTVERSION= 2.15.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME screen saver and locker + +LIB_DEPENDS= dbus-1.2:${PORTSDIR}/devel/dbus +RUN_DEPENDS= xscreensaver-gl-helper:${PORTSDIR}/x11/xscreensaver-gnome-hacks + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui gnomemenus +CONFIGURE_ARGS= --disable-pam \ + --with-gdm-config=${X11BASE}/etc/gdm/custom.conf \ + --with-xscreensaverdir=${XSCREENSAVER_DIR} \ + --with-xscreensaverhackdir=${X11BASE}/bin/xscreensaver-hacks +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= gnome-screensaver.schemas + +PLIST= ${WRKDIR}/pkg-plist + +XSCREENSAVER_DIR= ${X11BASE}/share/xscreensaver/config + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not build on 4.X +.endif + +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 + ${MKDIR} ${PREFIX}/share/gnome/gnome-screensaver/themes/xscreensaver + cd ${PREFIX}/share/gnome/gnome-screensaver/themes/xscreensaver && \ + ${FIND} -s ${XSCREENSAVER_DIR} -maxdepth 1 -type f -name "*.xml" | \ + ${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..85f121b70 --- /dev/null +++ b/x11/gnome-screensaver/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome-screensaver-2.15.1.tar.bz2) = 3a4dd9f564572560289c5c6c569d69c9 +SHA256 (gnome-screensaver-2.15.1.tar.bz2) = 49887fb21c31587dcaa117fbabce257a5cda7a2cb7beda7dcd7616142e6d05c6 +SIZE (gnome-screensaver-2.15.1.tar.bz2) = 1923869 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..3e45cd0aa --- /dev/null +++ b/x11/gnome-screensaver/pkg-plist @@ -0,0 +1,70 @@ +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/floaters +libexec/gnome-screensaver/popsquares +libexec/gnome-screensaver/slideshow +share/gnome/applications/gnome-screensaver-preferences.desktop +share/gnome/desktop-directories/gnome-screensaver.directory +share/gnome/gnome-screensaver/gnome-screensaver-preferences.glade +share/gnome/pixmaps/backgrounds/cosmos/cloud.jpg +share/gnome/pixmaps/backgrounds/cosmos/comet.jpg +share/gnome/pixmaps/backgrounds/cosmos/earth-horizon.jpg +share/gnome/pixmaps/backgrounds/cosmos/earthrise.jpg +share/gnome/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg +share/gnome/pixmaps/backgrounds/cosmos/helix-nebula.jpg +share/gnome/pixmaps/backgrounds/cosmos/jupiter.jpg +share/gnome/pixmaps/backgrounds/cosmos/sombrero.jpg +share/gnome/pixmaps/backgrounds/cosmos/whirlpool.jpg +share/gnome/pixmaps/gnome-logo-white.svg +share/locale/bg/LC_MESSAGES/gnome-screensaver.mo +share/locale/bn/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/fi/LC_MESSAGES/gnome-screensaver.mo +share/locale/fr/LC_MESSAGES/gnome-screensaver.mo +share/locale/gl/LC_MESSAGES/gnome-screensaver.mo +share/locale/gu/LC_MESSAGES/gnome-screensaver.mo +share/locale/hi/LC_MESSAGES/gnome-screensaver.mo +share/locale/hu/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/mk/LC_MESSAGES/gnome-screensaver.mo +share/locale/nb/LC_MESSAGES/gnome-screensaver.mo +share/locale/nl/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/sk/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/th/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 +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrm share/gnome/pixmaps/backgrounds/cosmos +@dirrm share/gnome/pixmaps/backgrounds +@dirrm libexec/gnome-screensaver |