diff options
-rw-r--r-- | x11/gnome-session/Makefile | 61 | ||||
-rw-r--r-- | x11/gnome-session/distinfo | 6 | ||||
-rw-r--r-- | x11/gnome-session/files/patch-data_Makefile.in | 11 | ||||
-rw-r--r-- | x11/gnome-session/files/patch-gnome-session_gsm-keyring.c | 56 | ||||
-rw-r--r-- | x11/gnome-session/pkg-descr | 2 | ||||
-rw-r--r-- | x11/gnome-session/pkg-plist | 151 |
6 files changed, 287 insertions, 0 deletions
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile new file mode 100644 index 000000000..1f77e1012 --- /dev/null +++ b/x11/gnome-session/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: gnomesession +# Date created: 08 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/x11/gnome-session/Makefile,v 1.58 2007/12/12 04:48:43 mezz Exp $ +# $MCom: ports-stable/x11/gnome-session/Makefile,v 1.1 2007/12/01 20:11:32 marcus Exp $ +# + +PORTNAME= gnome-session +PORTVERSION= 2.20.2 +PORTREVISION= 1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://www.marcuscom.com/downloads/:local +MASTER_SITE_SUBDIR= sources/gnome-session/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${SPLASHES}:local +DIST_SUBDIR= gnome2 +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Session component for the GNOME 2 desktop + +BUILD_DEPENDS= ${LOCALBASE}/libexec/gnome-settings-daemon:${PORTSDIR}/sysutils/gnome-control-center +LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + gnome-keyring.0:${PORTSDIR}/security/gnome-keyring +RUN_DEPENDS= ${LOCALBASE}/libexec/gnome-settings-daemon:${PORTSDIR}/sysutils/gnome-control-center \ + ${LOCALBASE}/bin/xdpyinfo:${PORTSDIR}/x11/xdpyinfo + +INSTALLS_ICONS= yes +USE_GETTEXT= yes +USE_BZIP2= yes +USE_XLIB= yes +USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop +GNOME_DESKTOP_VERSION=2 +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= gnome-session.1 gnome-wm.1 session-properties.1 \ + gnome-session-save.1 +MAN5= default.session.5 +GCONF_SCHEMAS= gnome-session.schemas + +SPLASHES= freebsd-splashes-gnome-2.18_1.tar + +post-extract: + cd ${WRKDIR} && ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${SPLASHES} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/data/gnome-splash.png \ + ${PREFIX}/share/pixmaps/splash/original-gnome-splash.png +# ${INSTALL_DATA} ${WRKDIR}/freebsd-splashes-gnome-2.12/domix-splash-2.12.png \ +# ${PREFIX}/share/pixmaps/splash/gnome-splash.png +.for splash in MaMBaNgGaoX-2.12.png adamw-piggy-2.12.png adamw-trophy-2.12.png andreas-slogan-2.12.png andreas-splash-2.12.png domix-splash-2.12.png domix-splash2-2.12.png mumija-2.12.png mumija2-2.12.png mumija3-2.12.png tremulant-2.12.png tremulant-blood-2.12.png tremulant-brushed-metal-2.12.png franz-splash_218.png adamw-bat-2.18.jpg adamw-conky-2.18.png adamw-cow-2.18.png adamw-mouth-2.18.png adamw-swing-2.18.png + ${INSTALL_DATA} ${WRKDIR}/freebsd-splashes-gnome-2.18/${splash} \ + ${PREFIX}/share/pixmaps/splash +.endfor + +.include <bsd.port.mk> diff --git a/x11/gnome-session/distinfo b/x11/gnome-session/distinfo new file mode 100644 index 000000000..1aefaa173 --- /dev/null +++ b/x11/gnome-session/distinfo @@ -0,0 +1,6 @@ +MD5 (gnome2/gnome-session-2.20.2.tar.bz2) = 4dba25eb6ddb1a25d70fe3107ce23ed8 +SHA256 (gnome2/gnome-session-2.20.2.tar.bz2) = e6ab4d8273101bd57513f350032d85d34f4857215d1be4f84ef2c70eb4d5fbcc +SIZE (gnome2/gnome-session-2.20.2.tar.bz2) = 758284 +MD5 (gnome2/freebsd-splashes-gnome-2.18_1.tar) = 80eb8c52fcf9fe977e0bf8ed48b85fe5 +SHA256 (gnome2/freebsd-splashes-gnome-2.18_1.tar) = fcca0f6eb759a4ef0211ecd61340f84ce8ad4d7493f725ac8613724faadbb508 +SIZE (gnome2/freebsd-splashes-gnome-2.18_1.tar) = 1630720 diff --git a/x11/gnome-session/files/patch-data_Makefile.in b/x11/gnome-session/files/patch-data_Makefile.in new file mode 100644 index 000000000..8fcdd3e2c --- /dev/null +++ b/x11/gnome-session/files/patch-data_Makefile.in @@ -0,0 +1,11 @@ +--- data/Makefile.in.orig Sun Jan 28 20:39:50 2007 ++++ data/Makefile.in Sun Jan 28 20:41:03 2007 +@@ -271,7 +271,7 @@ EXTRA_DIST = \ + session-properties.desktop.in + + CLEANFILES = default.session gnome-session.schemas session-properties.desktop +-all: all-recursive ++all: all-recursive default.session + + .SUFFIXES: + $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) diff --git a/x11/gnome-session/files/patch-gnome-session_gsm-keyring.c b/x11/gnome-session/files/patch-gnome-session_gsm-keyring.c new file mode 100644 index 000000000..1f606d065 --- /dev/null +++ b/x11/gnome-session/files/patch-gnome-session_gsm-keyring.c @@ -0,0 +1,56 @@ +Index: gnome-session/gsm-keyring.c +=================================================================== +--- gnome-session/gsm-keyring.c (revision 4516) ++++ gnome-session/gsm-keyring.c (working copy) +@@ -53,10 +53,10 @@ + { + GError *err; + char *standard_out; +- char **lines; ++ char **lines, **l; + int status; + long pid; +- char *pid_str, *end; ++ char *t, *end; + const char *old_keyring; + const char *display; + char *argv[2]; +@@ -100,22 +100,26 @@ + WEXITSTATUS (status) == 0 && + standard_out != NULL) + { +- lines = g_strsplit (standard_out, "\n", 3); ++ lines = g_strsplit (standard_out, "\n", 0); ++ for (l = lines; *l; ++l) ++ { ++ /* Split the line into name=value */ ++ t = strchr (*l, '='); ++ if (!t) ++ continue; ++ *(t++) = 0; + +- if (lines[0] != NULL && +- lines[1] != NULL && +- g_str_has_prefix (lines[1], "GNOME_KEYRING_PID=")) +- { +- pid_str = lines[1] + strlen ("GNOME_KEYRING_PID="); +- pid = strtol (pid_str, &end, 10); +- if (end != pid_str) ++ /* Everything that comes out should be an env var */ ++ g_setenv (*l, t, TRUE); ++ ++ /* Track the daemon's PID */ ++ if (g_str_equal (*l, "GNOME_KEYRING_PID")) + { +- gnome_keyring_daemon_pid = pid; +- g_setenv ("GNOME_KEYRING_SOCKET", +- lines[0] + strlen ("GNOME_KEYRING_SOCKET="), TRUE); ++ pid = strtol (t, &end, 10); ++ if (end != t) ++ gnome_keyring_daemon_pid = pid; + } + } +- + g_strfreev (lines); + } + else diff --git a/x11/gnome-session/pkg-descr b/x11/gnome-session/pkg-descr new file mode 100644 index 000000000..50986ef91 --- /dev/null +++ b/x11/gnome-session/pkg-descr @@ -0,0 +1,2 @@ +This provides session management for the GNOME 2 desktop, and +provides the tools used to start the desktop. diff --git a/x11/gnome-session/pkg-plist b/x11/gnome-session/pkg-plist new file mode 100644 index 000000000..d90630fed --- /dev/null +++ b/x11/gnome-session/pkg-plist @@ -0,0 +1,151 @@ +bin/gnome-session +bin/gnome-session-properties +bin/gnome-session-remove +bin/gnome-session-save +bin/gnome-wm +share/applications/session-properties.desktop +share/gnome/default.session +share/icons/hicolor/16x16/apps/session-properties.png +share/icons/hicolor/22x22/apps/session-properties.png +share/icons/hicolor/24x24/apps/session-properties.png +share/icons/hicolor/32x32/apps/session-properties.png +share/icons/hicolor/scalable/apps/session-properties.svg +share/locale/af/LC_MESSAGES/gnome-session-2.0.mo +share/locale/am/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ar/LC_MESSAGES/gnome-session-2.0.mo +share/locale/az/LC_MESSAGES/gnome-session-2.0.mo +share/locale/be/LC_MESSAGES/gnome-session-2.0.mo +share/locale/be@latin/LC_MESSAGES/gnome-session-2.0.mo +share/locale/bg/LC_MESSAGES/gnome-session-2.0.mo +share/locale/bn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/bn_IN/LC_MESSAGES/gnome-session-2.0.mo +share/locale/bs/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ca/LC_MESSAGES/gnome-session-2.0.mo +share/locale/cs/LC_MESSAGES/gnome-session-2.0.mo +share/locale/cy/LC_MESSAGES/gnome-session-2.0.mo +share/locale/da/LC_MESSAGES/gnome-session-2.0.mo +share/locale/de/LC_MESSAGES/gnome-session-2.0.mo +share/locale/dz/LC_MESSAGES/gnome-session-2.0.mo +share/locale/el/LC_MESSAGES/gnome-session-2.0.mo +share/locale/en_CA/LC_MESSAGES/gnome-session-2.0.mo +share/locale/en_GB/LC_MESSAGES/gnome-session-2.0.mo +share/locale/eo/LC_MESSAGES/gnome-session-2.0.mo +share/locale/es/LC_MESSAGES/gnome-session-2.0.mo +share/locale/et/LC_MESSAGES/gnome-session-2.0.mo +share/locale/eu/LC_MESSAGES/gnome-session-2.0.mo +share/locale/fa/LC_MESSAGES/gnome-session-2.0.mo +share/locale/fi/LC_MESSAGES/gnome-session-2.0.mo +share/locale/fr/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ga/LC_MESSAGES/gnome-session-2.0.mo +share/locale/gl/LC_MESSAGES/gnome-session-2.0.mo +share/locale/gu/LC_MESSAGES/gnome-session-2.0.mo +share/locale/he/LC_MESSAGES/gnome-session-2.0.mo +share/locale/hi/LC_MESSAGES/gnome-session-2.0.mo +share/locale/hr/LC_MESSAGES/gnome-session-2.0.mo +share/locale/hu/LC_MESSAGES/gnome-session-2.0.mo +share/locale/hy/LC_MESSAGES/gnome-session-2.0.mo +share/locale/id/LC_MESSAGES/gnome-session-2.0.mo +share/locale/is/LC_MESSAGES/gnome-session-2.0.mo +share/locale/it/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ja/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ka/LC_MESSAGES/gnome-session-2.0.mo +share/locale/kn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ko/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ku/LC_MESSAGES/gnome-session-2.0.mo +share/locale/lt/LC_MESSAGES/gnome-session-2.0.mo +share/locale/lv/LC_MESSAGES/gnome-session-2.0.mo +share/locale/mg/LC_MESSAGES/gnome-session-2.0.mo +share/locale/mi/LC_MESSAGES/gnome-session-2.0.mo +share/locale/mk/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ml/LC_MESSAGES/gnome-session-2.0.mo +share/locale/mn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/mr/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ms/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nb/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ne/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nl/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nso/LC_MESSAGES/gnome-session-2.0.mo +share/locale/oc/LC_MESSAGES/gnome-session-2.0.mo +share/locale/or/LC_MESSAGES/gnome-session-2.0.mo +share/locale/pa/LC_MESSAGES/gnome-session-2.0.mo +share/locale/pl/LC_MESSAGES/gnome-session-2.0.mo +share/locale/pt/LC_MESSAGES/gnome-session-2.0.mo +share/locale/pt_BR/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ro/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ru/LC_MESSAGES/gnome-session-2.0.mo +share/locale/rw/LC_MESSAGES/gnome-session-2.0.mo +share/locale/si/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sk/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sl/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sq/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sr/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sr@Latn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/sv/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ta/LC_MESSAGES/gnome-session-2.0.mo +share/locale/te/LC_MESSAGES/gnome-session-2.0.mo +share/locale/th/LC_MESSAGES/gnome-session-2.0.mo +share/locale/tk/LC_MESSAGES/gnome-session-2.0.mo +share/locale/tr/LC_MESSAGES/gnome-session-2.0.mo +share/locale/uk/LC_MESSAGES/gnome-session-2.0.mo +share/locale/vi/LC_MESSAGES/gnome-session-2.0.mo +share/locale/wa/LC_MESSAGES/gnome-session-2.0.mo +share/locale/xh/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zh_CN/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zh_HK/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zh_TW/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zu/LC_MESSAGES/gnome-session-2.0.mo +share/pixmaps/splash/MaMBaNgGaoX-2.12.png +share/pixmaps/splash/adamw-bat-2.18.jpg +share/pixmaps/splash/adamw-conky-2.18.png +share/pixmaps/splash/adamw-cow-2.18.png +share/pixmaps/splash/adamw-mouth-2.18.png +share/pixmaps/splash/adamw-piggy-2.12.png +share/pixmaps/splash/adamw-swing-2.18.png +share/pixmaps/splash/adamw-trophy-2.12.png +share/pixmaps/splash/andreas-slogan-2.12.png +share/pixmaps/splash/andreas-splash-2.12.png +share/pixmaps/splash/domix-splash-2.12.png +share/pixmaps/splash/domix-splash2-2.12.png +share/pixmaps/splash/franz-splash_218.png +share/pixmaps/splash/gnome-splash.png +share/pixmaps/splash/mumija-2.12.png +share/pixmaps/splash/mumija2-2.12.png +share/pixmaps/splash/mumija3-2.12.png +share/pixmaps/splash/original-gnome-splash.png +share/pixmaps/splash/tremulant-2.12.png +share/pixmaps/splash/tremulant-blood-2.12.png +share/pixmaps/splash/tremulant-brushed-metal-2.12.png +@dirrmtry share/locale/zu/LC_MESSAGES +@dirrmtry share/locale/zu +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/nso/LC_MESSAGES +@dirrmtry share/locale/nso +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mi/LC_MESSAGES +@dirrmtry share/locale/mi +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/hy/LC_MESSAGES +@dirrmtry share/locale/hy +@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 |