diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-01 03:48:18 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-01 03:48:18 +0800 |
commit | 424a9737a511bbb90997f0d045ec6eebae27394f (patch) | |
tree | bfcaddc1ea9be227109b52dc66e0c67ca15ad92d /x11/gnomesession | |
parent | 745d054e059152b4ef4af909c492514ac3b4f931 (diff) | |
download | marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar.gz marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar.bz2 marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar.lz marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar.xz marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.tar.zst marcuscom-ports-424a9737a511bbb90997f0d045ec6eebae27394f.zip |
Re-add gnomesession, at 2.7.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2324 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnomesession')
-rw-r--r-- | x11/gnomesession/Makefile | 47 | ||||
-rw-r--r-- | x11/gnomesession/distinfo | 4 | ||||
-rw-r--r-- | x11/gnomesession/files/patch-gnome-session_Makefile.in | 11 | ||||
-rw-r--r-- | x11/gnomesession/files/patch-gnome-session_logout.c | 36 | ||||
-rw-r--r-- | x11/gnomesession/pkg-descr | 2 | ||||
-rw-r--r-- | x11/gnomesession/pkg-plist | 86 |
6 files changed, 186 insertions, 0 deletions
diff --git a/x11/gnomesession/Makefile b/x11/gnomesession/Makefile new file mode 100644 index 000000000..da845c8a9 --- /dev/null +++ b/x11/gnomesession/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: gnomesession +# Date created: 08 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/x11/gnomesession/Makefile,v 1.36 2004/05/09 20:02:38 marcus Exp $ +# + +PORTNAME= gnomesession +PORTVERSION= 2.7.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://people.FreeBSD.org/~marcus/:local \ + ${MASTER_SITE_LOCAL:S/$/:local/} +MASTER_SITE_SUBDIR= sources/gnome-session/2.7 \ + marcus/:local +DISTNAME= gnome-session-${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${SPLASH_IMG}:local +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Session component for the GNOME 2 desktop + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack gnomehier intlhack lthack libgnomeui +USE_GMAKE= yes +USE_LIBTOOL_VER=13 +CONFIGURE_ARGS= --with-halt-command=/sbin/shutdown \ + --with-reboot-command=/sbin/shutdown +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +MAN1= gnome-session.1 gnome-smproxy.1 gnome-wm.1 session-properties.1 \ + gnome-session-save.1 +MAN5= default.session.5 + +SPLASH_IMG= gnome-splash04-12.png + +post-extract: + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPLASH_IMG} ${WRKDIR} + +post-install: + ${INSTALL_DATA} ${WRKDIR}/${SPLASH_IMG} \ + ${PREFIX}/share/gnome/pixmaps/splash/gnome-splash.png + +.include <bsd.port.mk> diff --git a/x11/gnomesession/distinfo b/x11/gnomesession/distinfo new file mode 100644 index 000000000..75df01b60 --- /dev/null +++ b/x11/gnomesession/distinfo @@ -0,0 +1,4 @@ +MD5 (gnome2/gnome-session-2.7.1.tar.bz2) = b3766220ed48bc8718face16c4943540 +SIZE (gnome2/gnome-session-2.7.1.tar.bz2) = 873448 +MD5 (gnome2/gnome-splash04-12.png) = a26cafb0ccffd5e173d7255e683faafd +SIZE (gnome2/gnome-splash04-12.png) = 75841 diff --git a/x11/gnomesession/files/patch-gnome-session_Makefile.in b/x11/gnomesession/files/patch-gnome-session_Makefile.in new file mode 100644 index 000000000..2b05e8c00 --- /dev/null +++ b/x11/gnomesession/files/patch-gnome-session_Makefile.in @@ -0,0 +1,11 @@ +--- gnome-session/Makefile.in.orig Mon May 31 14:34:48 2004 ++++ gnome-session/Makefile.in Mon May 31 14:34:57 2004 +@@ -153,7 +153,7 @@ + + NULL = + +-defaultdir = $(datadir)/gnome ++defaultdir = $(datadir) + + INCLUDES = $(GNOME_SESSION_CFLAGS) $(STANDARD_PROPERTIES_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED_CFLAGS) -DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale\"" -DGCONF_SANITY_CHECK=\""$(GCONF_SANITY_CHECK)"\" -DGNOME_KEYRING_DAEMON=\""$(GNOME_KEYRING_DAEMON)"\" -DGNOME_ICONDIR=\""$(datadir)/pixmaps\"" -DREBOOT_COMMAND=\""$(REBOOT_COMMAND)\"" -DHALT_COMMAND=\""$(HALT_COMMAND)\"" -DRSH_COMMAND=\""$(RSH_COMMAND)\"" -DGCONFTOOL_CMD=\""$(GCONFTOOL)\"" -DDEFAULTDIR="\"$(defaultdir)\"" -DESD_SERVER="\"$(ESD_SERVER)\"" + diff --git a/x11/gnomesession/files/patch-gnome-session_logout.c b/x11/gnomesession/files/patch-gnome-session_logout.c new file mode 100644 index 000000000..f82aefdc7 --- /dev/null +++ b/x11/gnomesession/files/patch-gnome-session_logout.c @@ -0,0 +1,36 @@ +--- gnome-session/logout.c.orig Sun May 9 15:45:34 2004 ++++ gnome-session/logout.c Sun May 9 15:48:29 2004 +@@ -37,12 +37,20 @@ + + static gchar *halt_command[] = + { ++#ifdef __FreeBSD__ ++ HALT_COMMAND, "-p", "now", NULL ++#else + HALT_COMMAND, NULL ++#endif + }; + + static gchar *reboot_command[] = + { ++#ifdef __FreeBSD__ ++ REBOOT_COMMAND, "-r", "now", NULL ++#else + REBOOT_COMMAND, NULL ++#endif + }; + + /* What action to take upon shutdown */ +@@ -401,8 +409,12 @@ + */ + s = g_strconcat ("/var/lock/console/", g_get_user_name (), NULL); + t = g_strconcat ("/var/run/console/", g_get_user_name (), NULL); ++#ifndef __FreeBSD__ + if (((geteuid () == 0) || g_file_exists (t) || g_file_exists(s)) && + access (halt_command[0], X_OK) == 0) ++#else ++ if (access (halt_command[0], X_OK) == 0) ++#endif + { + GtkWidget *title, *spacer; + GtkWidget *action_vbox, *hbox; diff --git a/x11/gnomesession/pkg-descr b/x11/gnomesession/pkg-descr new file mode 100644 index 000000000..50986ef91 --- /dev/null +++ b/x11/gnomesession/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/gnomesession/pkg-plist b/x11/gnomesession/pkg-plist new file mode 100644 index 000000000..fdd384e2c --- /dev/null +++ b/x11/gnomesession/pkg-plist @@ -0,0 +1,86 @@ +bin/gnome-session +bin/gnome-session-properties +bin/gnome-session-remove +bin/gnome-session-save +bin/gnome-smproxy +bin/gnome-wm +etc/gconf/gconf.xml.defaults/apps/gnome-session/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/gnome-session/options/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-session/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/gnome-session/options/%gconf.xml +etc/gconf/schemas/gnome-session.schemas +share/gnome/control-center-2.0/capplets/session-properties.desktop +share/gnome/default.session +share/gnome/default.wm +share/gnome/pixmaps/splash/gnome-splash.png +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/bg/LC_MESSAGES/gnome-session-2.0.mo +share/locale/bn/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/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/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/kn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/ko/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/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/nl/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nn/LC_MESSAGES/gnome-session-2.0.mo +share/locale/no/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/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/th/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/zh_CN/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zh_TW/LC_MESSAGES/gnome-session-2.0.mo +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-session/options +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnome-session +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-session/options +@dirrm etc/gconf/gconf.xml.defaults/apps/gnome-session |