Import gnome-session-3.0.1.

gnome-session contains the GNOME session manager, as well as a
configuration program to choose applications starting on login.

(not hooked up yet)

ok jasper@
This commit is contained in:
ajacoutot 2011-05-19 08:36:41 +00:00
parent 2dfbfce831
commit 6cf4bb001c
12 changed files with 670 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 3.0.1
CATEGORIES= x11
# GPLv2/LGPLv2/GFDLv1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xtst Xxf86vm
WANTLIB += atk-1.0 c cairo cairo-gobject croco-0.6 dbus-1 dbus-glib-1
WANTLIB += drm execinfo expat fontconfig freetype gconf-2 gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-3 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs rsvg-2 xcb
WANTLIB += xcb-render xcb-shm xml2 z
MODULES= devel/gettext \
x11/gnome \
devel/dconf
BUILD_DEPENDS= textproc/xmlto \
x11/gnome/settings-daemon \
devel/gconf2,-gtk
LIB_DEPENDS= devel/libexecinfo \
x11/gtk+3 \
devel/gconf2 \
x11/dbus-glib \
x11/gnome/librsvg
RUN_DEPENDS= x11/gnome/settings-daemon \
sysutils/consolekit \
x11/xdg-user-dirs-gtk>=0.8p6 \
devel/gconf2,-gtk
# Install accessibility components -- daemons will start only if
# accessibility is enabled by the user.
# This should really be a dep. of a "gnome-accessibility" metapackage.
RUN_DEPENDS+= x11/gnome/at-spi2-atk
# polkit-gnome isn't really *required* but then we will loose the polkit
# auth. dialog ; same for gconf2-polkit, gconf2 and polkit are already
# dependencies and we want to be able to handle system-wide gconf entries.
# This should really be a dep. of a "gnome" metapackage.
RUN_DEPENDS+= x11/polkit-gnome
RUN_DEPENDS+= devel/gconf2,-polkit
DESKTOP_FILES= Yes
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-rebuilds \
--enable-docbook-docs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/gnome-session-3.0.1.tar.bz2) = mF4+2EafMF/fwrTbaUzLaw==
RMD160 (gnome/gnome-session-3.0.1.tar.bz2) = PwlrxuIV0lj6ZcnSWyi4OO6Hiwg=
SHA1 (gnome/gnome-session-3.0.1.tar.bz2) = h+jfbNIJLInw8dXgd0aQFQ2hib0=
SHA256 (gnome/gnome-session-3.0.1.tar.bz2) = ilU1adUA6E5YFeWwsusawb9AZO+a+w4W8o2UiXjvvSU=
SIZE (gnome/gnome-session-3.0.1.tar.bz2) = 804595

View File

@ -0,0 +1,73 @@
$OpenBSD: patch-configure,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
--- configure.orig Tue Apr 26 09:13:11 2011
+++ configure Wed May 18 14:37:50 2011
@@ -11298,14 +11298,12 @@ if test -n "$GNOME_SESSION_CFLAGS"; then
gio-2.0 >= \$GLIB_REQUIRED
gtk+-3.0 >= \$GTK3_REQUIRED
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
- upower-glib >= \$UPOWER_REQUIRED
librsvg-2.0
\""; } >&5
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
") 2>&5
ac_status=$?
@@ -11315,7 +11313,6 @@ if test -n "$GNOME_SESSION_CFLAGS"; then
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
" 2>/dev/null`
else
@@ -11332,14 +11329,12 @@ if test -n "$GNOME_SESSION_LIBS"; then
gio-2.0 >= \$GLIB_REQUIRED
gtk+-3.0 >= \$GTK3_REQUIRED
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED
- upower-glib >= \$UPOWER_REQUIRED
librsvg-2.0
\""; } >&5
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
") 2>&5
ac_status=$?
@@ -11349,7 +11344,6 @@ if test -n "$GNOME_SESSION_LIBS"; then
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
" 2>/dev/null`
else
@@ -11375,7 +11369,6 @@ fi
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
" 2>&1`
else
@@ -11383,7 +11376,6 @@ fi
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
" 2>&1`
fi
@@ -11394,7 +11386,6 @@ fi
gio-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK3_REQUIRED
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
- upower-glib >= $UPOWER_REQUIRED
librsvg-2.0
) were not met:

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-gnome-session_Makefile_in,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
--- gnome-session/Makefile.in.orig Tue Apr 26 09:13:13 2011
+++ gnome-session/Makefile.in Wed May 18 14:37:20 2011
@@ -399,6 +399,7 @@ gnome_session_CPPFLAGS = \
gnome_session_LDADD = \
libgsmutil.la \
+ -lexecinfo \
$(top_builddir)/egg/libeggdesktopfile.la \
$(SM_LIBS) \
$(ICE_LIBS) \

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-gnome-session_gsm-consolekit_c,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
--- gnome-session/gsm-consolekit.c.orig Tue Mar 22 21:31:43 2011
+++ gnome-session/gsm-consolekit.c Wed May 18 14:37:20 2011
@@ -716,6 +716,12 @@ gsm_consolekit_can_switch_user (GsmConsolekit *manager
error = NULL;
+/* User switching requires running another new X server which will not
+ * work by default on OpenBSD.
+ */
+#ifdef __OpenBSD__
+ return FALSE;
+#endif
if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
g_warning ("Could not connect to ConsoleKit: %s",
error->message);

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-gnome-session_gsm-dbus-client_c,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
dbus_message_get_path() can return NULL
--- gnome-session/gsm-dbus-client.c.orig Tue Mar 22 21:31:43 2011
+++ gnome-session/gsm-dbus-client.c Wed May 18 14:37:20 2011
@@ -212,10 +212,11 @@ client_dbus_filter_function (DBusConnection *connectio
path = dbus_message_get_path (message);
- g_debug ("GsmDBusClient: obj_path=%s interface=%s method=%s",
- dbus_message_get_path (message),
- dbus_message_get_interface (message),
- dbus_message_get_member (message));
+ if (path != NULL)
+ g_debug ("GsmDBusClient: obj_path=%s interface=%s method=%s",
+ dbus_message_get_path (message),
+ dbus_message_get_interface (message),
+ dbus_message_get_member (message));
if (dbus_message_is_method_call (message, SM_DBUS_CLIENT_PRIVATE_INTERFACE, "EndSessionResponse")) {
g_assert (gsm_client_peek_id (GSM_CLIENT (client)) != NULL);

View File

@ -0,0 +1,71 @@
$OpenBSD: patch-gnome-session_gsm-logout-dialog_c,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
OpenBSD does not support uPower.
--- gnome-session/gsm-logout-dialog.c.orig Tue Mar 22 21:31:43 2011
+++ gnome-session/gsm-logout-dialog.c Wed May 18 14:37:20 2011
@@ -27,7 +27,9 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#ifndef __OpenBSD__
#include <upower.h>
+#endif
#include "gsm-logout-dialog.h"
#include "gsm-consolekit.h"
@@ -52,7 +54,9 @@ struct _GsmLogoutDialogPrivate
{
GsmDialogLogoutType type;
+#ifndef __OpenBSD__
UpClient *up_client;
+#endif
GsmConsolekit *consolekit;
int timeout;
@@ -144,7 +148,9 @@ gsm_logout_dialog_init (GsmLogoutDialog *logout_dialog
gtk_window_set_keep_above (GTK_WINDOW (logout_dialog), TRUE);
gtk_window_stick (GTK_WINDOW (logout_dialog));
+#ifndef __OpenBSD__
logout_dialog->priv->up_client = up_client_new ();
+#endif
logout_dialog->priv->consolekit = gsm_get_consolekit ();
@@ -168,10 +174,12 @@ gsm_logout_dialog_destroy (GsmLogoutDialog *logout_dia
logout_dialog->priv->timeout_id = 0;
}
+#ifndef __OpenBSD__
if (logout_dialog->priv->up_client) {
g_object_unref (logout_dialog->priv->up_client);
logout_dialog->priv->up_client = NULL;
}
+#endif
if (logout_dialog->priv->consolekit) {
g_object_unref (logout_dialog->priv->consolekit);
@@ -184,13 +192,21 @@ gsm_logout_dialog_destroy (GsmLogoutDialog *logout_dia
static gboolean
gsm_logout_supports_system_suspend (GsmLogoutDialog *logout_dialog)
{
+#ifndef __OpenBSD__
return up_client_get_can_suspend (logout_dialog->priv->up_client);
+#else
+ return FALSE;
+#endif
}
static gboolean
gsm_logout_supports_system_hibernate (GsmLogoutDialog *logout_dialog)
{
+#ifndef __OpenBSD__
return up_client_get_can_hibernate (logout_dialog->priv->up_client);
+#else
+ return FALSE;
+#endif
}
static gboolean

View File

@ -0,0 +1,92 @@
$OpenBSD: patch-gnome-session_gsm-manager_c,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
OpenBSD does not support uPower.
--- gnome-session/gsm-manager.c.orig Wed May 18 15:27:29 2011
+++ gnome-session/gsm-manager.c Wed May 18 15:28:58 2011
@@ -39,7 +39,9 @@
#include <dbus/dbus-glib-lowlevel.h>
#include <librsvg/rsvg.h>
+#ifndef __OpenBSD__
#include <upower.h>
+#endif
#include <gtk/gtk.h> /* for logout dialog */
@@ -154,7 +156,9 @@ struct GsmManagerPrivate
DBusGConnection *connection;
/* Interface with other parts of the system */
+#ifndef __OpenBSD__
UpClient *up_client;
+#endif
GsmShell *shell;
guint shell_end_session_dialog_canceled_id;
@@ -1096,6 +1100,7 @@ manager_perhaps_lock (GsmManager *manager)
static void
manager_attempt_hibernate (GsmManager *manager)
{
+#ifndef __OpenBSD__
gboolean can_hibernate;
GError *error;
gboolean ret;
@@ -1114,11 +1119,13 @@ manager_attempt_hibernate (GsmManager *manager)
g_error_free (error);
}
}
+#endif
}
static void
manager_attempt_suspend (GsmManager *manager)
{
+#ifndef __OpenBSD__
gboolean can_suspend;
GError *error;
gboolean ret;
@@ -1137,6 +1144,7 @@ manager_attempt_suspend (GsmManager *manager)
g_error_free (error);
}
}
+#endif
}
static void
@@ -2519,10 +2527,12 @@ gsm_manager_dispose (GObject *object)
manager->priv->lockdown_settings = NULL;
}
+#ifndef __OpenBSD__
if (manager->priv->up_client != NULL) {
g_object_unref (manager->priv->up_client);
manager->priv->up_client = NULL;
}
+#endif
if (manager->priv->shell != NULL) {
g_object_unref (manager->priv->shell);
@@ -2728,7 +2738,9 @@ gsm_manager_init (GsmManager *manager)
NULL,
NULL, NULL);
+#ifndef __OpenBSD__
manager->priv->up_client = up_client_new ();
+#endif
manager->priv->shell = gsm_get_shell ();
}
@@ -3332,10 +3344,12 @@ gsm_manager_can_shutdown (GsmManager *manager,
gboolean can_suspend;
gboolean can_hibernate;
+#ifndef __OpenBSD__
g_object_get (manager->priv->up_client,
"can-suspend", &can_suspend,
"can-hibernate", &can_hibernate,
NULL);
+#endif
g_debug ("GsmManager: CanShutdown called");

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-gnome-session_main_c,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
--- gnome-session/main.c.orig Tue Mar 22 21:31:43 2011
+++ gnome-session/main.c Wed May 18 14:37:20 2011
@@ -325,6 +325,13 @@ main (int argc, char **argv)
*/
gsm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
+ /* Set default menu to gnome-applications.menu if XDG_MENU_PREFIX
+ * is not set.
+ */
+ if (!g_getenv ("XDG_MENU_PREFIX")) {
+ gsm_util_setenv ("XDG_MENU_PREFIX", "gnome-");
+ }
+
client_store = gsm_store_new ();

View File

@ -0,0 +1,2 @@
gnome-session contains the GNOME session manager, as well as a
configuration program to choose applications starting on login.

View File

@ -0,0 +1,173 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
@bin bin/gnome-session
@bin bin/gnome-session-properties
@bin bin/gnome-session-quit
@bin libexec/gnome-session-check-accelerated
@bin libexec/gnome-session-check-accelerated-helper
@man man/man1/gnome-session-properties.1
@man man/man1/gnome-session-quit.1
@man man/man1/gnome-session.1
share/GConf/
share/GConf/gsettings/
share/GConf/gsettings/gnome-session.convert
share/applications/session-properties.desktop
share/doc/gnome-session/
share/doc/gnome-session/dbus/
share/doc/gnome-session/dbus/gnome-session.html
share/doc/pkg-readmes/${FULLPKGNAME}
share/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
share/gnome-session/
share/gnome-session/gsm-inhibit-dialog.ui
share/gnome-session/session-properties.ui
share/gnome-session/sessions/
share/gnome-session/sessions/gnome-fallback.session
share/gnome-session/sessions/gnome.session
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/session-properties.png
share/icons/hicolor/22x22/
share/icons/hicolor/22x22/apps/
share/icons/hicolor/22x22/apps/session-properties.png
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/session-properties.png
share/icons/hicolor/32x32/
share/icons/hicolor/32x32/apps/
share/icons/hicolor/32x32/apps/session-properties.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/session-properties.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/session-properties.svg
share/locale/af/LC_MESSAGES/gnome-session-3.0.mo
share/locale/am/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ar/LC_MESSAGES/gnome-session-3.0.mo
share/locale/as/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ast/LC_MESSAGES/gnome-session-3.0.mo
share/locale/az/LC_MESSAGES/gnome-session-3.0.mo
share/locale/be/LC_MESSAGES/gnome-session-3.0.mo
share/locale/be@latin/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bg/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bn_IN/LC_MESSAGES/gnome-session-3.0.mo
share/locale/br/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bs/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ca/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ca@valencia/LC_MESSAGES/gnome-session-3.0.mo
share/locale/crh/LC_MESSAGES/gnome-session-3.0.mo
share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo
share/locale/cy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/da/LC_MESSAGES/gnome-session-3.0.mo
share/locale/de/LC_MESSAGES/gnome-session-3.0.mo
share/locale/dz/LC_MESSAGES/gnome-session-3.0.mo
share/locale/el/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en@shaw/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en_CA/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en_GB/LC_MESSAGES/gnome-session-3.0.mo
share/locale/eo/LC_MESSAGES/gnome-session-3.0.mo
share/locale/es/LC_MESSAGES/gnome-session-3.0.mo
share/locale/et/LC_MESSAGES/gnome-session-3.0.mo
share/locale/eu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fur/
share/locale/fur/LC_MESSAGES/
share/locale/fur/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ga/LC_MESSAGES/gnome-session-3.0.mo
share/locale/gl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/gu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ha/
share/locale/ha/LC_MESSAGES/
share/locale/ha/LC_MESSAGES/gnome-session-3.0.mo
share/locale/he/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/id/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ig/
share/locale/ig/LC_MESSAGES/
share/locale/ig/LC_MESSAGES/gnome-session-3.0.mo
share/locale/is/LC_MESSAGES/gnome-session-3.0.mo
share/locale/it/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ja/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ka/LC_MESSAGES/gnome-session-3.0.mo
share/locale/kn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ko/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ku/LC_MESSAGES/gnome-session-3.0.mo
share/locale/lt/LC_MESSAGES/gnome-session-3.0.mo
share/locale/lv/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mai/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mg/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mi/
share/locale/mi/LC_MESSAGES/
share/locale/mi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ml/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ms/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nb/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nds/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ne/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nso/
share/locale/nso/LC_MESSAGES/
share/locale/nso/LC_MESSAGES/gnome-session-3.0.mo
share/locale/oc/LC_MESSAGES/gnome-session-3.0.mo
share/locale/or/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ps/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pt/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pt_BR/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ro/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ru/LC_MESSAGES/gnome-session-3.0.mo
share/locale/rw/LC_MESSAGES/gnome-session-3.0.mo
share/locale/si/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sq/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sr@latin/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sv/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ta/LC_MESSAGES/gnome-session-3.0.mo
share/locale/te/LC_MESSAGES/gnome-session-3.0.mo
share/locale/th/LC_MESSAGES/gnome-session-3.0.mo
share/locale/tk/
share/locale/tk/LC_MESSAGES/
share/locale/tk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/tr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ug/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uz/
share/locale/uz/LC_MESSAGES/
share/locale/uz/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uz@cyrillic/
share/locale/uz@cyrillic/LC_MESSAGES/
share/locale/uz@cyrillic/LC_MESSAGES/gnome-session-3.0.mo
share/locale/vi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/wa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/xh/LC_MESSAGES/gnome-session-3.0.mo
share/locale/yo/
share/locale/yo/LC_MESSAGES/
share/locale/yo/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_CN/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_HK/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_TW/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zu/
share/locale/zu/LC_MESSAGES/
share/locale/zu/LC_MESSAGES/gnome-session-3.0.mo
share/xsessions/
share/xsessions/gnome.desktop
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec-delete %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@exec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas
@unexec-delete %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database

View File

@ -0,0 +1,126 @@
$OpenBSD: README,v 1.1.1.1 2011/05/19 08:36:41 ajacoutot Exp $
Running GNOME on OpenBSD
========================
Introduction
------------
The gnome-session package only takes care of installing minimal GNOME
libraries. For a satisfying GNOME user experience, it is advised to
install at least the following packages:
sudo pkg_add \
eog \
file-roller \
gdm \
gedit \
gnome-audio \
gnome-backgrounds \
gnome-control-center \
gnome-keyring \
gnome-media \
gnome-panel \
gnome-screensaver \
gnome-system-monitor \
gnome-terminal \
gnome-themes \
gnome-utils
(xscreensaver can be used instead of gnome-screensaver)
Login into GNOME
----------------
Login can be made using the GNOME Login Manager: GDM. Or you can add the
following line corresponding to your login preference:
exec ${TRUEPREFIX}/bin/gnome-session
in ~/.xinitrc when using startx(1)
in ~/.xsession when using xdm(1)
If you want to use the ConsoleKit and Polkit frameworks and that you do
not login using GDM, you will have to prepend the following line to your
session startup command: ${LOCALBASE}/bin/ck-launch-session.
e.g. exec ${LOCALBASE}/bin/ck-launch-session ${TRUEPREFIX}/bin/gnome-session
A note about accessibility
--------------------------
If you want to make the GNOME applications "accessible" (e.g. nautilus),
you'll need to install the libgail-gnome package which adds ATK
interfaces for libbonoboui and libgnomeui widgets (see below).
Note that the at-spi accessibility provider is being deprecated in favor
of at-spi2. However the following applications are only able to work
with the deprecated CORBA-based implementation: dasher, gok,
libgail-gnome and gnome-mag.
To enable it, run the following command:
gconftool-2 --set --type bool /desktop/gnome/interface/at-spi-corba true
Installing more packages
------------------------
If your needs aren't satisfied yet, there are many other packages
you can install. The most important ones will be mentioned by category:
(if you have access to an OpenBSD ports tree, you can find most GNOME
related ports under the x11/gnome category)
- Accessibility
* dasher - predictive text input system
* gnome-mag - screen magnifier
* gnome-speech - speech module
* gok - on-screen keyboard
* libgail-gnome - ATK interface to other applications (see above)
* mousetweaks - mouse accessibility enhancements
* orca - assistive technology for visually impaired
- Communication
* ekiga - SIP and H.323 conferencing application
* empathy - Telepathy based messenger for e.g. MSN, Jabber, etc
* epiphany (+epiphany-extensions) - lightweight and simple web browser
* evolution (+evolution-plugins) - integrated email and PIM software
- Development
* anjuta (+anjuta-extras) - full blown IDE
* devhelp - API documentation browser
* gedit-plugins - plugins for Gedit
* ghex - HEX editor
* glade3 - user interface builder
* gnome-devel-docs - developer documentation
* gnome-development-monitor - GUI to follow GNOME development activity
- Graphics & Multimedia
* byzanz - makes a desktop recording optimized for webpages
* eog-plugins - plugins for EOG
* evince (+nautilus-evince) - viewer for multiple document formats
* f-spot - photo management application
* gnome-games (+gnome-games-extra-data) - collection of games
* gnome-video-arcade - MAME front-end
* rhythmbox - music management application
* simple-scan - simple scanning utility
* totem - multimedia player
- Office & Productivity
* abiword - WYSIWYG word processor
* gcalctool - desktop calculator
* gnumeric - spreadsheet application
* hamster-applet - time tracker applet
* meta-tracker - powerful desktop search tool and indexer
* planner - project management
* gnote - desktop note-taking
- Utilities
* alacarte - simple menu editing tool
* conduit - all-in-one synchronization application
* gconf-editor - editor for GConf settings
* gnome-nettool - interface for various networking tools
* gnome-system-tools - sytem configuration GUI for desktops
* gnomebaker - CD/DVD burning application
* nautilus-sendto - integrate applications into Nautilus
* pessulus - lockdown editor for desktop
* seahorse (+seahorse-plugins) - encryption, keys and passwords manager
* system-config-printer - printer (CUPS) administration tool
* vinagre - VNC Client (remote Desktop client)
* vino - VNC server (allows remote access to your Desktop)
- Themes
* gnome-icon-theme-extras - extra icons
* gnome-icon-theme-symbolic - theme extension for special UI contexts
* gnome-themes-extras - extra themes
* tango-icon-theme (+tango-icon-theme-extras) - Tango icon theme