diff options
-rw-r--r-- | x11/gnome-desktop/Makefile | 4 | ||||
-rw-r--r-- | x11/gnome-desktop/distinfo | 6 | ||||
-rw-r--r-- | x11/gnome-screensaver/Makefile | 69 | ||||
-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 | 128 |
8 files changed, 297 insertions, 5 deletions
diff --git a/x11/gnome-desktop/Makefile b/x11/gnome-desktop/Makefile index 274e59e41..196dfe5b0 100644 --- a/x11/gnome-desktop/Makefile +++ b/x11/gnome-desktop/Makefile @@ -3,11 +3,11 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gnome-desktop/Makefile,v 1.138 2008/03/11 00:00:35 ahze Exp $ +# $MCom: ports/x11/gnome-desktop/Makefile,v 1.140 2008/04/22 17:26:43 ahze Exp $ # PORTNAME= gnome-desktop -PORTVERSION= 2.23.1 +PORTVERSION= 2.23.2 PORTREVISION?= 0 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} diff --git a/x11/gnome-desktop/distinfo b/x11/gnome-desktop/distinfo index 33444a66c..94cd51e9d 100644 --- a/x11/gnome-desktop/distinfo +++ b/x11/gnome-desktop/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gnome-desktop-2.23.1.tar.bz2) = f002437d7a98f03be0c509e605a5e4eb -SHA256 (gnome2/gnome-desktop-2.23.1.tar.bz2) = 2e3e348db19556b84b829e224d7c643771cf20abff9e1e81f938c35c3a8102c2 -SIZE (gnome2/gnome-desktop-2.23.1.tar.bz2) = 1443429 +MD5 (gnome2/gnome-desktop-2.23.2.tar.bz2) = c0b5347e983d098106ce89f6d2f9ca12 +SHA256 (gnome2/gnome-desktop-2.23.2.tar.bz2) = 99c3727e9f8e3cc50465094734abad7f6af90e46b1e43f1df4d1c900b90a4e01 +SIZE (gnome2/gnome-desktop-2.23.2.tar.bz2) = 1444771 diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile new file mode 100644 index 000000000..f280c1579 --- /dev/null +++ b/x11/gnome-screensaver/Makefile @@ -0,0 +1,69 @@ +# 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.83 2008/03/11 03:13:07 mezz Exp $ +# + +PORTNAME= gnome-screensaver +PORTVERSION= 2.23.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 +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..9161d9c97 --- /dev/null +++ b/x11/gnome-screensaver/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/gnome-screensaver-2.23.2.tar.bz2) = 158f029e6c4ed671da0d96ae7497a9bf +SHA256 (gnome2/gnome-screensaver-2.23.2.tar.bz2) = f98c635b138410bc82d6437535d950fe64c8795467993174f8ba2b1f482508c7 +SIZE (gnome2/gnome-screensaver-2.23.2.tar.bz2) = 2046379 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..0670d8c17 --- /dev/null +++ b/x11/gnome-screensaver/pkg-plist @@ -0,0 +1,128 @@ +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/as/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/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/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@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 +@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/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/as/LC_MESSAGES +@dirrmtry share/locale/as |