diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-12-01 04:24:38 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-12-01 04:24:38 +0800 |
commit | 147b58841711af9617e4621745290b2ae9d9f35e (patch) | |
tree | 58eb8968d15ec1da39e7dc606e9b350c23067772 /x11/gnomesession | |
parent | 989768145e000ebf737ebec15565a7b99cca7da2 (diff) | |
download | marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar.gz marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar.bz2 marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar.lz marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar.xz marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.tar.zst marcuscom-ports-147b58841711af9617e4621745290b2ae9d9f35e.zip |
Re-add gnomesession, at 2.9.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3181 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnomesession')
-rw-r--r-- | x11/gnomesession/Makefile | 49 | ||||
-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/files/patch-gnome-session_manager.c | 14 | ||||
-rw-r--r-- | x11/gnomesession/pkg-descr | 2 | ||||
-rw-r--r-- | x11/gnomesession/pkg-plist | 81 |
7 files changed, 197 insertions, 0 deletions
diff --git a/x11/gnomesession/Makefile b/x11/gnomesession/Makefile new file mode 100644 index 000000000..27f77eb43 --- /dev/null +++ b/x11/gnomesession/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: gnomesession +# Date created: 08 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomesession +PORTVERSION= 2.9.2 +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.9 \ + marcus/:local +DISTNAME= gnome-session-${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${SPLASH_IMG}:local +DIST_SUBDIR= gnome2 +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +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 libgnomeui +USE_GMAKE= yes +USE_LIBTOOL_VER=15 +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 +GCONF_SCHEMAS= gnome-session.schemas + +SPLASH_IMG= gnome-splash28.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..5521724eb --- /dev/null +++ b/x11/gnomesession/distinfo @@ -0,0 +1,4 @@ +MD5 (gnome2/gnome-session-2.9.2.tar.bz2) = 1f604cf52e909ab3dfe92696d0ce65c6 +SIZE (gnome2/gnome-session-2.9.2.tar.bz2) = 889496 +MD5 (gnome2/gnome-splash28.png) = 2ac880af4ca6929a82f8b64912b95a55 +SIZE (gnome2/gnome-splash28.png) = 121715 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..ed0b6ac56 --- /dev/null +++ b/x11/gnomesession/files/patch-gnome-session_Makefile.in @@ -0,0 +1,11 @@ +--- gnome-session/Makefile.in.orig Tue Nov 30 14:07:39 2004 ++++ gnome-session/Makefile.in Tue Nov 30 14:07:51 2004 +@@ -209,7 +209,7 @@ + target_alias = @target_alias@ + NULL = + +-defaultdir = $(datadir)/gnome ++defaultdir = $(datadir) + + INCLUDES = \ + $(GNOME_SESSION_CFLAGS) \ 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/files/patch-gnome-session_manager.c b/x11/gnomesession/files/patch-gnome-session_manager.c new file mode 100644 index 000000000..7e56843ac --- /dev/null +++ b/x11/gnomesession/files/patch-gnome-session_manager.c @@ -0,0 +1,14 @@ +--- gnome-session/manager.c.orig Tue Oct 12 14:04:26 2004 ++++ gnome-session/manager.c Tue Oct 12 14:05:51 2004 +@@ -1042,9 +1042,10 @@ + + if (interact_ping_replied) + { ++ IceConn ice_conn; + gsm_verbose ("have interact_list; sending ping with data to client %p\n", client); + print_client (client); +- IceConn ice_conn = SmsGetIceConnection (client->connection); ++ ice_conn = SmsGetIceConnection (client->connection); + interact_ping_replied = FALSE; + IcePing (ice_conn, interact_ping_reply, (IcePointer)client); + } 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..5b5e5681f --- /dev/null +++ b/x11/gnomesession/pkg-plist @@ -0,0 +1,81 @@ +bin/gnome-session +bin/gnome-session-properties +bin/gnome-session-remove +bin/gnome-session-save +bin/gnome-smproxy +bin/gnome-wm +share/gnome/applications/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/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/no/LC_MESSAGES/gnome-session-2.0.mo +share/locale/nso/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/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/zh_CN/LC_MESSAGES/gnome-session-2.0.mo +share/locale/zh_TW/LC_MESSAGES/gnome-session-2.0.mo |