import gnome-settings-daemon 2.24.0 (not linked to the builds yet)

GNOME settings deamon to control settings and preferences throughout the
desktop.

this used to be part of gnome-control-center, but it was split of.
it depends on some stuff not committed yet (e.g. gnome-desktop update),
but having it in tree allows the gtk-frogs to test it more easily.
This commit is contained in:
jasper 2008-11-11 22:22:41 +00:00
parent b7b123604a
commit 2a506ef207
9 changed files with 397 additions and 0 deletions

View File

@ -0,0 +1,53 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
COMMENT= GNOME settings daemon
GNOME_PROJECT= gnome-settings-daemon
GNOME_VERSION= 2.24.0
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender Xxf86misc art_lgpl_2 atk-1.0 audiofile bonobo-2 \
bonobo-activation bonoboui-2 c cairo crypto dbus-1 \
dbus-glib-1 esd expat fontconfig freetype gailutil \
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0 \
glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
gnomeui-2 gnomevfs-2 gobject-2.0 gstaudio-0.10 gstbase-0.10 \
gstinterfaces-0.10 gstreamer-0.10 gthread-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png popt pthread ssl startup-notification-1 util xkbfile \
xklavier xml2 z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= notify::devel/libnotify \
gnome-desktop-2.>=6::x11/gnome/desktop \
gnomekbd::x11/gnome/libgnomekbd
RUN_DEPENDS= :shared-mime-info->=0.21:misc/shared-mime-info \
::multimedia/gstreamer-0.10/plugins-good,-esd \
::multimedia/gstreamer-0.10/plugins-good,-gconf
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/control-center2 \
--disable-schemas-install \
--disable-scrollkeeper \
--disable-hal \
--disable-alsa \
--enable-esd \
--enable-gstreamer
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/gnome-settings-daemon-2.24.0.tar.bz2) = LjDp0XuBAQPUk+R0+/0g5Q==
RMD160 (gnome/gnome-settings-daemon-2.24.0.tar.bz2) = 2lF7KlhBukBEx+5p94SJT2IuxfM=
SHA1 (gnome/gnome-settings-daemon-2.24.0.tar.bz2) = fZWnVQxGXJpk5L2mQzHJIGmVi/0=
SHA256 (gnome/gnome-settings-daemon-2.24.0.tar.bz2) = mDd+1tfEq7dbdGVw8H4ApDRrpvWSRXQTAhG+ynZLuZ0=
SIZE (gnome/gnome-settings-daemon-2.24.0.tar.bz2) = 1119609

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-data_Makefile_in,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
--- data/Makefile.in.orig Tue Nov 11 22:16:32 2008
+++ data/Makefile.in Tue Nov 11 22:17:49 2008
@@ -270,7 +270,7 @@ schemas_in_files = \
$(NULL)
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
-desktopdir = $(sysconfdir)/xdg/autostart
+desktopdir = $(datadir)/gnome-settings-daemon/autostart
desktop_in_files = gnome-settings-daemon.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
servicedir = $(datadir)/dbus-1/services

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-plugins_media-keys_gsd-media-keys-manager_c,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
- Give eject(1) a slightly bigger chance of actually doing something.
- Set the correct "sleep" command for apm(8).
--- plugins/media-keys/gsd-media-keys-manager.c.orig Mon Aug 4 16:25:52 2008
+++ plugins/media-keys/gsd-media-keys-manager.c Tue Nov 11 21:33:36 2008
@@ -575,7 +575,11 @@ do_eject_action (GsdMediaKeysManager *manager)
if ((command != NULL) && (strcmp (command, "") != 0)) {
execute (manager, command, FALSE, FALSE);
} else {
+#if defined(__OpenBSD__)
+ execute (manager, "eject -t /dev/cd0", FALSE, FALSE);
+#else
execute (manager, "eject -T", FALSE, FALSE);
+#endif
}
g_free (command);
@@ -785,7 +789,11 @@ do_action (GsdMediaKeysManager *manager,
do_mail_action (manager);
break;
case SLEEP_KEY:
- do_sleep_action ("apm", "xset dpms force off");
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
+ do_sleep_action ("zzz", "xset dpms force off");
+#else
+ do_sleep_action ("apm", "xset dpms force off");
+#endif
break;
case SCREENSAVER_KEY:
if ((cmd = g_find_program_in_path ("gnome-screensaver-command"))) {

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-plugins_sound_gsd-sound-manager_c,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
--- plugins/sound/gsd-sound-manager.c.orig Fri Aug 8 15:38:52 2008
+++ plugins/sound/gsd-sound-manager.c Fri Aug 8 15:39:12 2008
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <signal.h>
#include <locale.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-plugins_typing-break_gsd-typing-break-manager_c,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
--- plugins/typing-break/gsd-typing-break-manager.c.orig Fri Aug 8 15:39:23 2008
+++ plugins/typing-break/gsd-typing-break-manager.c Fri Aug 8 15:39:35 2008
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <signal.h>
#include <locale.h>

View File

@ -0,0 +1,2 @@
GNOME settings deamon to control settings and preferences throughout the
desktop.

View File

@ -0,0 +1,17 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
lib/gnome-settings-daemon-2.0/liba11y-keyboard.so
lib/gnome-settings-daemon-2.0/libbackground.so
lib/gnome-settings-daemon-2.0/libclipboard.so
lib/gnome-settings-daemon-2.0/libdummy.so
lib/gnome-settings-daemon-2.0/libfont.so
lib/gnome-settings-daemon-2.0/libhousekeeping.so
lib/gnome-settings-daemon-2.0/libkeybindings.so
lib/gnome-settings-daemon-2.0/libkeyboard.so
lib/gnome-settings-daemon-2.0/libmedia-keys.so
lib/gnome-settings-daemon-2.0/libmouse.so
lib/gnome-settings-daemon-2.0/libscreensaver.so
lib/gnome-settings-daemon-2.0/libsound.so
lib/gnome-settings-daemon-2.0/libtyping-break.so
lib/gnome-settings-daemon-2.0/libxrandr.so
lib/gnome-settings-daemon-2.0/libxrdb.so
lib/gnome-settings-daemon-2.0/libxsettings.so

View File

@ -0,0 +1,254 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/11 22:22:41 jasper Exp $
@conflict control-center2-*=<2.22
%%SHARED%%
include/gnome-settings-daemon-2.0/
include/gnome-settings-daemon-2.0/gnome-settings-daemon/
include/gnome-settings-daemon-2.0/gnome-settings-daemon/gnome-settings-client.h
lib/gnome-settings-daemon-2.0/
lib/gnome-settings-daemon-2.0/a11y-keyboard.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/background.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/clipboard.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/dummy.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/font.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/housekeeping.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/keybindings.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/liba11y-keyboard.a
lib/gnome-settings-daemon-2.0/liba11y-keyboard.la
lib/gnome-settings-daemon-2.0/libbackground.a
lib/gnome-settings-daemon-2.0/libbackground.la
lib/gnome-settings-daemon-2.0/libclipboard.a
lib/gnome-settings-daemon-2.0/libclipboard.la
lib/gnome-settings-daemon-2.0/libdummy.a
lib/gnome-settings-daemon-2.0/libdummy.la
lib/gnome-settings-daemon-2.0/libfont.a
lib/gnome-settings-daemon-2.0/libfont.la
lib/gnome-settings-daemon-2.0/libhousekeeping.a
lib/gnome-settings-daemon-2.0/libhousekeeping.la
lib/gnome-settings-daemon-2.0/libkeybindings.a
lib/gnome-settings-daemon-2.0/libkeybindings.la
lib/gnome-settings-daemon-2.0/libkeyboard.a
lib/gnome-settings-daemon-2.0/libkeyboard.la
lib/gnome-settings-daemon-2.0/libmedia-keys.a
lib/gnome-settings-daemon-2.0/libmedia-keys.la
lib/gnome-settings-daemon-2.0/libmouse.a
lib/gnome-settings-daemon-2.0/libmouse.la
lib/gnome-settings-daemon-2.0/libscreensaver.a
lib/gnome-settings-daemon-2.0/libscreensaver.la
lib/gnome-settings-daemon-2.0/libsound.a
lib/gnome-settings-daemon-2.0/libsound.la
lib/gnome-settings-daemon-2.0/libtyping-break.a
lib/gnome-settings-daemon-2.0/libtyping-break.la
lib/gnome-settings-daemon-2.0/libxrandr.a
lib/gnome-settings-daemon-2.0/libxrandr.la
lib/gnome-settings-daemon-2.0/libxrdb.a
lib/gnome-settings-daemon-2.0/libxrdb.la
lib/gnome-settings-daemon-2.0/libxsettings.a
lib/gnome-settings-daemon-2.0/libxsettings.la
lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/mouse.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/screensaver.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/sound.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/typing-break.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/xrandr.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin
lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin
lib/pkgconfig/gnome-settings-daemon.pc
@bin libexec/gnome-settings-daemon
share/dbus-1/
share/dbus-1/services/
share/dbus-1/services/org.gnome.SettingsDaemon.service
share/gnome-settings-daemon/
@sample ${SYSCONFDIR}/xdg/
share/gnome-settings-daemon/acme-eject.png
share/gnome-settings-daemon/acme.glade
share/gnome-settings-daemon/autostart/
@sample ${SYSCONFDIR}/xdg/autostart/
share/gnome-settings-daemon/autostart/gnome-settings-daemon.desktop
@sample ${SYSCONFDIR}/xdg/autostart/gnome-setting-daemon.desktop
share/gnome-settings-daemon/gsd-a11y-preferences-dialog.glade
share/gnome-settings-daemon/modmap-dialog.glade
share/gnome-settings-daemon/xrdb/
share/gnome-settings-daemon/xrdb/Editres.ad
share/gnome-settings-daemon/xrdb/Emacs.ad
share/gnome-settings-daemon/xrdb/General.ad
share/gnome-settings-daemon/xrdb/Motif.ad
share/gnome-settings-daemon/xrdb/Tk.ad
share/gnome-settings-daemon/xrdb/Xaw.ad
share/icons/
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/gsd-xrandr.png
share/icons/hicolor/22x22/
share/icons/hicolor/22x22/apps/
share/icons/hicolor/22x22/apps/gsd-xrandr.png
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/gsd-xrandr.png
share/icons/hicolor/32x32/
share/icons/hicolor/32x32/apps/
share/icons/hicolor/32x32/apps/gsd-xrandr.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/gsd-xrandr.svg
share/locale/af/
share/locale/af/LC_MESSAGES/
share/locale/af/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/am/
share/locale/am/LC_MESSAGES/
share/locale/am/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/az/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/be/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/be@latin/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/bg/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/bn_IN/
share/locale/bn_IN/LC_MESSAGES/
share/locale/bn_IN/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/br/
share/locale/br/LC_MESSAGES/
share/locale/br/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/bs/
share/locale/bs/LC_MESSAGES/
share/locale/bs/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ca/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/cs/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/cy/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/da/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/de/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/dz/
share/locale/dz/LC_MESSAGES/
share/locale/dz/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/el/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
share/locale/en_CA/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/en_GB/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/es/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/et/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/eu/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/fa/
share/locale/fa/LC_MESSAGES/
share/locale/fa/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/fi/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/fr/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ga/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/gl/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/gu/
share/locale/gu/LC_MESSAGES/
share/locale/gu/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/he/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/hi/
share/locale/hi/LC_MESSAGES/
share/locale/hi/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/hr/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/hu/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/id/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/is/
share/locale/is/LC_MESSAGES/
share/locale/is/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/it/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ja/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/kn/
share/locale/kn/LC_MESSAGES/
share/locale/kn/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ko/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ku/
share/locale/ku/LC_MESSAGES/
share/locale/ku/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/lt/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/lv/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/mg/
share/locale/mg/LC_MESSAGES/
share/locale/mg/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ml/
share/locale/ml/LC_MESSAGES/
share/locale/ml/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/mn/
share/locale/mn/LC_MESSAGES/
share/locale/mn/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/mr/
share/locale/mr/LC_MESSAGES/
share/locale/mr/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ms/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/nb/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ne/
share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/nl/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/nn/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/nso/
share/locale/nso/LC_MESSAGES/
share/locale/nso/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/oc/
share/locale/oc/LC_MESSAGES/
share/locale/oc/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/pl/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/pt/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/pt_BR/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ro/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ru/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/rw/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/si/
share/locale/si/LC_MESSAGES/
share/locale/si/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sk/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sl/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sq/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sr/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sr@latin/
share/locale/sr@latin/LC_MESSAGES/
share/locale/sr@latin/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/sv/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/te/
share/locale/te/LC_MESSAGES/
share/locale/te/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/tr/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/uk/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/vi/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/wa/
share/locale/wa/LC_MESSAGES/
share/locale/wa/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/xh/
share/locale/xh/LC_MESSAGES/
share/locale/xh/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/zh_CN/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/zh_HK/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/zh_TW/LC_MESSAGES/gnome-settings-daemon.mo
share/locale/zu/
share/locale/zu/LC_MESSAGES/
share/locale/zu/LC_MESSAGES/gnome-settings-daemon.mo
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/control-center2/*.schemas > /dev/null
share/schemas/control-center2/
share/schemas/control-center2/apps_gnome_settings_daemon_keybindings.schemas
share/schemas/control-center2/apps_gnome_settings_daemon_screensaver.schemas
share/schemas/control-center2/apps_gnome_settings_daemon_xrandr.schemas
share/schemas/control-center2/desktop_gnome_font_rendering.schemas
share/schemas/control-center2/gnome-settings-daemon.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/control-center2/*.schemas > /dev/null
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true