diff --git a/x11/gnome/controlcenter/Makefile b/x11/gnome/controlcenter/Makefile
index 210d5b7f1e4..3d41991ae6b 100644
--- a/x11/gnome/controlcenter/Makefile
+++ b/x11/gnome/controlcenter/Makefile
@@ -1,12 +1,11 @@
-# $OpenBSD: Makefile,v 1.36 2011/09/26 07:33:25 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.37 2011/09/27 12:15:23 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= GNOME control center
GNOME_PROJECT= gnome-control-center
-GNOME_VERSION= 3.0.2
-REVISION= 4
+GNOME_VERSION= 3.2.0
SHARED_LIBS += gnome-control-center 0.0 # 1.0
@@ -20,33 +19,37 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += GL ICE ORBit-2 SM X11 X11-xcb Xau Xcomposite Xcursor
WANTLIB += Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender
-WANTLIB += Xtst Xxf86vm asn1 atk-1.0 c cairo cairo-gobject canberra
-WANTLIB += canberra-gtk3 crypto cups dbus-1 dbus-glib-1 drm execinfo
-WANTLIB += expat ffi fontconfig freetype gconf-2 gdbm gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-desktop-3 gnome-menu
-WANTLIB += gnomekbd gnomekbdui gobject-2.0 gssapi gthread-2.0
-WANTLIB += gtk-3 gtop-2.0 krb5 kvm ltdl m ogg pango-1.0 pangocairo-1.0
-WANTLIB += pangoft2-1.0 pcre pixman-1 png polkit-gobject-1 pthread
-WANTLIB += pthread-stubs pulse pulse-mainloop-glib sndfile ssl
-WANTLIB += vorbis vorbisfile xcb
-WANTLIB += xcb-render xcb-shm xkbfile xklavier xml2 z
-
-EXTRACT_SUFX= .tar.bz2
+WANTLIB += Xt Xtst Xxf86vm asn1 atk-1.0 c cairo cairo-gobject
+WANTLIB += canberra canberra-gtk3 crypto cups dbus-1 dbus-glib-1
+WANTLIB += drm enchant execinfo expat ffi fontconfig freetype
+WANTLIB += gailutil-3 gconf-2 gcrypt gdbm gdk-3 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gnome-desktop-3 gnome-keyring
+WANTLIB += gnome-menu-3 gnomekbd gnomekbdui goa-1.0 goa-backend-1.0
+WANTLIB += gobject-2.0 gpg-error gssapi gstapp-0.10 gstbase-0.10
+WANTLIB += gstinterfaces-0.10 gstpbutils-0.10 gstreamer-0.10 gstvideo-0.10
+WANTLIB += gthread-2.0 gtk-3 gtop-2.0 icudata icui18n icuuc jpeg
+WANTLIB += json-glib-1.0 krb5 kvm ltdl m notify ogg pango-1.0
+WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png polkit-gobject-1
+WANTLIB += pthread pthread-stubs pulse pulse-mainloop-glib rest-0.7
+WANTLIB += sndfile soup-2.4 soup-gnome-2.4 sqlite3 ssl stdc++
+WANTLIB += vorbis vorbisfile webkitgtk-3.0 xcb xcb-render xcb-shm
+WANTLIB += xkbfile xklavier xml2 xslt z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= x11/gnome/desktop \
- x11/gnome/menus \
+ x11/gnome/menus>=3.2.0 \
x11/gnome/libgnomekbd \
+ x11/gnome/online-accounts \
sysutils/upower \
devel/libgtop2 \
print/cups \
audio/pulseaudio
-BUILD_DEPENDS= x11/gnome/settings-daemon \
+BUILD_DEPENDS= x11/gnome/settings-daemon>=3.2.0 \
devel/gsettings-desktop-schemas
-RUN_DEPENDS= x11/gnome/settings-daemon \
+RUN_DEPENDS= x11/gnome/settings-daemon>=3.2.0 \
devel/gsettings-desktop-schemas
# NOTE that a11y dependencies (e.g. mousetweaks, caribou...) are not
@@ -93,13 +96,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/gnome-control-center \
pkgconfigdir=${PREFIX}/lib/pkgconfig/
-# Plugins that are not fully working yet:
+# XXX plugins that are not fully working yet:
# * gnome-media-panel needs udev to take appropriate action on device
# plug (see patch-schemas_org_gnome_desktop_media-handling_gschema_xml_in_in
# in devel/gsettings-desktop-schemas).
# * gnome-power-panel needs a fully working gnome-power-manager
# (userland cannot be made aware of power/button events yet).
-DISABLED_PLUGINS= media power
+# * gnome-wacom-panel needs device detection support
+DISABLED_PLUGINS= media power wacom
pre-configure:
${SUBST_CMD} ${WRKSRC}/panels/printers/cc-printers-panel.c
@@ -107,7 +111,7 @@ pre-configure:
post-install:
.for i in ${DISABLED_PLUGINS}
cd ${PREFIX} && \
- rm lib/control-center-1/panels/lib$i.* ;\
+ rm lib/control-center-1/panels/lib$i* ;\
rm share/applications/gnome-$i-panel.desktop ;\
rm share/gnome-control-center/ui/*$i*.ui
.endfor
diff --git a/x11/gnome/controlcenter/distinfo b/x11/gnome/controlcenter/distinfo
index be275032b56..9e57ad4f241 100644
--- a/x11/gnome/controlcenter/distinfo
+++ b/x11/gnome/controlcenter/distinfo
@@ -1,5 +1,5 @@
-MD5 (gnome/gnome-control-center-3.0.2.tar.bz2) = W1YB+66L44oxOhabD7TZvw==
-RMD160 (gnome/gnome-control-center-3.0.2.tar.bz2) = 4ZA8hNf2pmYqY4bnEQdzunifY0s=
-SHA1 (gnome/gnome-control-center-3.0.2.tar.bz2) = wNXSA+JbwYKeJXgLEl77PZpOdB8=
-SHA256 (gnome/gnome-control-center-3.0.2.tar.bz2) = R3sJoGCnXjZkvZzJqsa3gAZ+UBmCF+PhHcZJgONBSJY=
-SIZE (gnome/gnome-control-center-3.0.2.tar.bz2) = 4567179
+MD5 (gnome/gnome-control-center-3.2.0.tar.xz) = oXpSqPjo5S0NyG55GrapBw==
+RMD160 (gnome/gnome-control-center-3.2.0.tar.xz) = /eF4riMLSfGSI8NCgFN1cttGg6I=
+SHA1 (gnome/gnome-control-center-3.2.0.tar.xz) = LHBGrVthefyHxbwsYkD2vyoQ2TY=
+SHA256 (gnome/gnome-control-center-3.2.0.tar.xz) = Bskn3L7iv2PklgRBzLm+pV0SqoMHjl1x6YMtUv0ZZqo=
+SIZE (gnome/gnome-control-center-3.2.0.tar.xz) = 4233912
diff --git a/x11/gnome/controlcenter/patches/patch-configure b/x11/gnome/controlcenter/patches/patch-configure
new file mode 100644
index 00000000000..2652f84cd0d
--- /dev/null
+++ b/x11/gnome/controlcenter/patches/patch-configure
@@ -0,0 +1,103 @@
+$OpenBSD: patch-configure,v 1.13 2011/09/27 12:15:23 ajacoutot Exp $
+
+No colord on OpenBSD.
+
+--- configure.orig Tue Sep 27 11:36:47 2011
++++ configure Tue Sep 27 11:37:11 2011
+@@ -14929,96 +14929,6 @@ $as_echo "yes" >&6; }
+
+ fi
+
+-pkg_failed=no
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COLOR_PANEL" >&5
+-$as_echo_n "checking for COLOR_PANEL... " >&6; }
+-
+-if test -n "$COLOR_PANEL_CFLAGS"; then
+- pkg_cv_COLOR_PANEL_CFLAGS="$COLOR_PANEL_CFLAGS"
+- elif test -n "$PKG_CONFIG"; then
+- if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMMON_MODULES colord >= 0.1.8\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "$COMMON_MODULES colord >= 0.1.8") 2>&5
+- ac_status=$?
+- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+- test $ac_status = 0; }; then
+- pkg_cv_COLOR_PANEL_CFLAGS=`$PKG_CONFIG --cflags "$COMMON_MODULES colord >= 0.1.8" 2>/dev/null`
+- test "x$?" != "x0" && pkg_failed=yes
+-else
+- pkg_failed=yes
+-fi
+- else
+- pkg_failed=untried
+-fi
+-if test -n "$COLOR_PANEL_LIBS"; then
+- pkg_cv_COLOR_PANEL_LIBS="$COLOR_PANEL_LIBS"
+- elif test -n "$PKG_CONFIG"; then
+- if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMMON_MODULES colord >= 0.1.8\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "$COMMON_MODULES colord >= 0.1.8") 2>&5
+- ac_status=$?
+- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+- test $ac_status = 0; }; then
+- pkg_cv_COLOR_PANEL_LIBS=`$PKG_CONFIG --libs "$COMMON_MODULES colord >= 0.1.8" 2>/dev/null`
+- test "x$?" != "x0" && pkg_failed=yes
+-else
+- pkg_failed=yes
+-fi
+- else
+- pkg_failed=untried
+-fi
+-
+-
+-
+-if test $pkg_failed = yes; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-
+-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+- _pkg_short_errors_supported=yes
+-else
+- _pkg_short_errors_supported=no
+-fi
+- if test $_pkg_short_errors_supported = yes; then
+- COLOR_PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$COMMON_MODULES colord >= 0.1.8" 2>&1`
+- else
+- COLOR_PANEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$COMMON_MODULES colord >= 0.1.8" 2>&1`
+- fi
+- # Put the nasty error message in config.log where it belongs
+- echo "$COLOR_PANEL_PKG_ERRORS" >&5
+-
+- as_fn_error $? "Package requirements ($COMMON_MODULES colord >= 0.1.8) were not met:
+-
+-$COLOR_PANEL_PKG_ERRORS
+-
+-Consider adjusting the PKG_CONFIG_PATH environment variable if you
+-installed software in a non-standard prefix.
+-
+-Alternatively, you may set the environment variables COLOR_PANEL_CFLAGS
+-and COLOR_PANEL_LIBS to avoid the need to call pkg-config.
+-See the pkg-config man page for more details." "$LINENO" 5
+-elif test $pkg_failed = untried; then
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
+-is in your PATH or set the PKG_CONFIG environment variable to the full
+-path to pkg-config.
+-
+-Alternatively, you may set the environment variables COLOR_PANEL_CFLAGS
+-and COLOR_PANEL_LIBS to avoid the need to call pkg-config.
+-See the pkg-config man page for more details.
+-
+-To get pkg-config, see .
+-See \`config.log' for more details" "$LINENO" 5; }
+-else
+- COLOR_PANEL_CFLAGS=$pkg_cv_COLOR_PANEL_CFLAGS
+- COLOR_PANEL_LIBS=$pkg_cv_COLOR_PANEL_LIBS
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-
+-fi
+
+ pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRINTERS_PANEL" >&5
diff --git a/x11/gnome/controlcenter/patches/patch-libgnome-control-center_Makefile_in b/x11/gnome/controlcenter/patches/patch-libgnome-control-center_Makefile_in
deleted file mode 100644
index 4aaeacfa34b..00000000000
--- a/x11/gnome/controlcenter/patches/patch-libgnome-control-center_Makefile_in
+++ /dev/null
@@ -1,18 +0,0 @@
-$OpenBSD: patch-libgnome-control-center_Makefile_in,v 1.1.1.1 2011/09/12 07:29:31 ajacoutot Exp $
-
-From f658ff61aa687a8aea7c6e098beb61c61a9233ce Mon Sep 17 00:00:00 2001
-From: Antoine Jacoutot
-Date: Thu, 26 May 2011 15:45:23 +0000
-Subject: Typo preventing compilation on some platforms.
-
---- libgnome-control-center/Makefile.in.orig Tue May 24 10:49:25 2011
-+++ libgnome-control-center/Makefile.in Tue May 24 11:13:07 2011
-@@ -363,7 +363,7 @@ libgnome_control_center_la_SOURCES = \
- $(NULL)
-
- libgnome_control_center_la_LDFLAGS = \
-- no-undefined \
-+ -no-undefined \
- -version-info $(LIBGNOMECONTROLCENTER_CURRENT):$(LIBGNOMECONTROLCENTER_REVISION):$(LIBGNOMECONTROLCENTER_AGE) \
- $(NULL)
-
diff --git a/x11/gnome/controlcenter/patches/patch-panels_Makefile_in b/x11/gnome/controlcenter/patches/patch-panels_Makefile_in
new file mode 100644
index 00000000000..a385f1dfe6a
--- /dev/null
+++ b/x11/gnome/controlcenter/patches/patch-panels_Makefile_in
@@ -0,0 +1,24 @@
+$OpenBSD: patch-panels_Makefile_in,v 1.3 2011/09/27 12:15:23 ajacoutot Exp $
+
+No colord on OpenBSD.
+
+--- panels/Makefile.in.orig Tue Sep 27 11:37:29 2011
++++ panels/Makefile.in Tue Sep 27 11:37:37 2011
+@@ -71,7 +71,7 @@ AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=
+ distdir
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = common background screen power color display media \
++DIST_SUBDIRS = common background screen power display media \
+ mouse online-accounts region info sound keyboard \
+ universal-access user-accounts datetime wacom printers network
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+@@ -309,7 +309,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = common background screen power color display media mouse \
++SUBDIRS = common background screen power display media mouse \
+ online-accounts region info sound keyboard universal-access \
+ user-accounts datetime wacom $(am__append_1) $(am__append_2)
+ all: all-recursive
diff --git a/x11/gnome/controlcenter/patches/patch-panels_common_Makefile_in b/x11/gnome/controlcenter/patches/patch-panels_common_Makefile_in
index 5b6f93bbcf8..6c8b6f3450c 100644
--- a/x11/gnome/controlcenter/patches/patch-panels_common_Makefile_in
+++ b/x11/gnome/controlcenter/patches/patch-panels_common_Makefile_in
@@ -1,12 +1,12 @@
-$OpenBSD: patch-panels_common_Makefile_in,v 1.1.1.1 2011/09/12 07:29:31 ajacoutot Exp $
---- panels/common/Makefile.in.orig Tue May 24 10:49:25 2011
-+++ panels/common/Makefile.in Tue May 24 11:13:07 2011
-@@ -312,7 +312,7 @@ AM_CPPFLAGS = \
+$OpenBSD: patch-panels_common_Makefile_in,v 1.2 2011/09/27 12:15:23 ajacoutot Exp $
+--- panels/common/Makefile.in.orig Mon Sep 19 22:26:43 2011
++++ panels/common/Makefile.in Mon Sep 26 14:01:58 2011
+@@ -356,7 +356,7 @@ AM_CPPFLAGS = \
$(LIBLANGUAGE_CFLAGS) \
-DDATADIR=\""$(datadir)"\" \
- -DUIDIR=\""$(pkgdatadir)/ui/user-accounts"\" \
+ -DUIDIR=\""$(pkgdatadir)/ui"\" \
- -DLIBLOCALEDIR=\""$(prefix)/lib/locale"\" \
-+ -DLIBLOCALEDIR=\""/usr/share/locale"\" \
++ -DLIBLOCALEDIR=\""/usr/share/locale"\" \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DUM_PIXMAP_DIR=\""$(pkgdatadir)/pixmaps"\"
diff --git a/x11/gnome/controlcenter/patches/patch-panels_common_gdm-languages_c b/x11/gnome/controlcenter/patches/patch-panels_common_gdm-languages_c
index 2f8f0c7018d..244191ee3b7 100644
--- a/x11/gnome/controlcenter/patches/patch-panels_common_gdm-languages_c
+++ b/x11/gnome/controlcenter/patches/patch-panels_common_gdm-languages_c
@@ -1,11 +1,11 @@
-$OpenBSD: patch-panels_common_gdm-languages_c,v 1.1.1.1 2011/09/12 07:29:31 ajacoutot Exp $
+$OpenBSD: patch-panels_common_gdm-languages_c,v 1.2 2011/09/27 12:15:23 ajacoutot Exp $
OpenBSD does not provide localedef(1), hence we don't have a
locale-archive file.
---- panels/common/gdm-languages.c.orig Fri Feb 4 15:39:15 2011
-+++ panels/common/gdm-languages.c Mon May 23 12:35:02 2011
-@@ -451,6 +451,7 @@ struct nameent
+--- panels/common/gdm-languages.c.orig Tue Aug 23 10:23:42 2011
++++ panels/common/gdm-languages.c Mon Sep 26 14:01:06 2011
+@@ -455,6 +455,7 @@ struct nameent
static gboolean
collect_locales_from_archive (void)
{
@@ -13,7 +13,7 @@ locale-archive file.
GMappedFile *mapped;
GError *error;
char *addr;
-@@ -508,6 +509,9 @@ collect_locales_from_archive (void)
+@@ -512,6 +513,9 @@ collect_locales_from_archive (void)
g_mapped_file_unref (mapped);
return locales_collected;
diff --git a/x11/gnome/controlcenter/patches/patch-panels_datetime_datetime_ui b/x11/gnome/controlcenter/patches/patch-panels_datetime_datetime_ui
index e8d9aa7381b..7dcc65e48d6 100644
--- a/x11/gnome/controlcenter/patches/patch-panels_datetime_datetime_ui
+++ b/x11/gnome/controlcenter/patches/patch-panels_datetime_datetime_ui
@@ -1,20 +1,20 @@
-$OpenBSD: patch-panels_datetime_datetime_ui,v 1.1.1.1 2011/09/12 07:29:31 ajacoutot Exp $
+$OpenBSD: patch-panels_datetime_datetime_ui,v 1.2 2011/09/27 12:15:23 ajacoutot Exp $
XXX don't show the NTP switch -- it requires /sbin/service, chkconfig or
update-rc...
---- panels/datetime/datetime.ui.orig Thu Jun 16 07:29:13 2011
-+++ panels/datetime/datetime.ui Thu Jun 16 07:28:51 2011
-@@ -114,7 +114,7 @@
+--- panels/datetime/datetime.ui.orig Mon Aug 29 16:08:11 2011
++++ panels/datetime/datetime.ui Mon Sep 26 14:01:06 2011
+@@ -118,7 +118,7 @@
12
-@@ -124,7 +124,7 @@
+ _Network Time
+ True
+@@ -130,7 +130,7 @@