diff options
Diffstat (limited to 'nonprism')
-rw-r--r-- | nonprism/gnome-online-accounts/PKGBUILD | 20 | ||||
-rw-r--r-- | nonprism/gnome-settings-daemon/PKGBUILD | 12 | ||||
-rw-r--r-- | nonprism/gnome-settings-daemon/nonprism.patch | 279 |
3 files changed, 194 insertions, 117 deletions
diff --git a/nonprism/gnome-online-accounts/PKGBUILD b/nonprism/gnome-online-accounts/PKGBUILD index 39a30c6de..f0cbb8c01 100644 --- a/nonprism/gnome-online-accounts/PKGBUILD +++ b/nonprism/gnome-online-accounts/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 290527 2017-03-11 08:39:06Z heftig $ # Contributor (Arch): Ionut Biru <ibiru@archlinux.org> # Maintainer: Márcio Silva <coadde@parabola.nu> +# Contributor: Isaac David <isacdaavid@at@isacdaavid@dot@info> pkgname=gnome-online-accounts -pkgver=3.22.5 +pkgver=3.24.1 pkgrel=1.nonprism1 pkgdesc="Single sign-on framework for GNOME, without support for unsafe and dangerous for privacy protocols" url="https://wiki.gnome.org/Projects/GnomeOnlineAccounts" -arch=(i686 x86_64) +arch=(i686 x86_64 armv7h) license=(LGPL) depends=(webkit2gtk json-glib libnotify rest libsecret telepathy-glib krb5 gcr) makedepends=(intltool gobject-introspection gtk-doc vala git gnome-common) conflicts=("${pkgname}-coherence" "${pkgname}-nonprism" ) replaces=("${pkgname}-coherence" "${pkgname}-nonprism") optdepends=('gvfs-goa: Virtual file systems (e.g. OwnCloud)') -_commit=9f6d764e2792363daae2e7e7d99037e3cf508127 # tags/3.22.5^0 +_commit=4f26391fc5b3d54cb73d9cd05599acec33d90928 # tags/3.24.1^0 source=("git+https://git.gnome.org/browse/gnome-online-accounts#commit=$_commit" "git+https://git.gnome.org/browse/telepathy-account-widgets") sha256sums=('SKIP' @@ -42,18 +42,18 @@ build() { --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --disable-static \ - --enable-media-server \ - --disable-kerberos \ - --enable-lastfm \ --enable-gtk-doc \ + --enable-media-server \ + --enable-kerberos \ + --enable-telepathy \ + --enable-owncloud \ + --enable-imap-smtp \ + --disable-lastfm \ --disable-exchange \ --disable-facebook \ --disable-flickr \ --disable-google \ - --enable-imap-smtp \ - --enable-owncloud \ --disable-pocket \ - --enable-telepathy \ --disable-windows-live \ --disable-twitter \ --disable-yahoo \ diff --git a/nonprism/gnome-settings-daemon/PKGBUILD b/nonprism/gnome-settings-daemon/PKGBUILD index 2afb9c137..c1347740b 100644 --- a/nonprism/gnome-settings-daemon/PKGBUILD +++ b/nonprism/gnome-settings-daemon/PKGBUILD @@ -1,26 +1,26 @@ -# $Id: PKGBUILD 290900 2017-03-15 21:17:22Z heftig $ # Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Maintainer: André Silva <emulatorman@parabola.nu> +# Contributor: Isaac David <isacdaavid@at@isacdaavid.info> pkgname=gnome-settings-daemon -pkgver=3.22.2 +pkgver=3.24.2 pkgrel=1.nonprism1 pkgdesc="GNOME Settings Daemon, without geoclue2 support" url="https://git.gnome.org/browse/gnome-settings-daemon" -arch=(i686 x86_64) +arch=(i686 x86_64 armv7h) license=(GPL) depends=(dconf gnome-desktop gsettings-desktop-schemas libcanberra-pulse libnotify libsystemd libwacom pulseaudio pulseaudio-alsa upower librsvg libgweather geocode-glib nss libgudev gtk3-print-backends libnm) makedepends=(intltool xf86-input-wacom libxslt docbook-xsl python git gnome-common) groups=(gnome) -_commit=239ccb035d17380d801d9cdde3a10dce5b64ac85 # tags/GNOME_SETTINGS_DAEMON_3_22_2^0 +_commit=2ff67385f2b7c7adb0ab438cb41d114235a8e40a # tags/GNOME_SETTINGS_DAEMON_3_24_2^0 source=("git+https://git.gnome.org/browse/gnome-settings-daemon#commit=$_commit" "git+https://git.gnome.org/browse/libgnome-volume-control" nonprism.patch) sha256sums=('SKIP' 'SKIP' - '27fba52c36ee9d072e9602e843af55d970f128eb7ede1a828e86ea874765b1a6') + '04217ba23fe3d76b04bdb92059257972ee7511aec6f713d807434f6a10e3d1a5') pkgver() { cd $pkgname @@ -34,8 +34,8 @@ prepare() { git config --local submodule."panels/media-keys/gvc".url "$srcdir/libgnome-volume-control" git submodule update - NOCONFIGURE=1 ./autogen.sh patch -p1 -i $srcdir/nonprism.patch + NOCONFIGURE=1 ./autogen.sh } build() { diff --git a/nonprism/gnome-settings-daemon/nonprism.patch b/nonprism/gnome-settings-daemon/nonprism.patch index 1604431d9..2e35a49c1 100644 --- a/nonprism/gnome-settings-daemon/nonprism.patch +++ b/nonprism/gnome-settings-daemon/nonprism.patch @@ -1,110 +1,188 @@ -diff --git a/configure b/configure -index 3a9699a..045264f 100755 ---- a/configure -+++ b/configure -@@ -17691,7 +17691,6 @@ POLKIT_REQUIRED_VERSION=0.103 - UPOWER_REQUIRED_VERSION=0.99.0 - GSETTINGS_DESKTOP_SCHEMAS_REQUIRED_VERSION=3.19.3 - GEOCODE_GLIB_REQUIRED_VERSION=3.10.0 --GEOCLUE_REQUIRED_VERSION=2.3.1 - NM_REQUIRED_VERSION=1.0 - - -@@ -20529,12 +20528,12 @@ if test -n "$DATETIME_CFLAGS"; then - pkg_cv_DATETIME_CFLAGS="$DATETIME_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgeoclue-2.0 >= \$GEOCLUE_REQUIRED_VERSION -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" - geocode-glib-1.0 >= \$GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= \$LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION - \""; } >&5 -- ($PKG_CONFIG --exists --print-errors "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ ($PKG_CONFIG --exists --print-errors " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION -@@ -20542,7 +20541,7 @@ if test -n "$DATETIME_CFLAGS"; then - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_DATETIME_CFLAGS=`$PKG_CONFIG --cflags "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ pkg_cv_DATETIME_CFLAGS=`$PKG_CONFIG --cflags " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION -@@ -20558,12 +20557,12 @@ if test -n "$DATETIME_LIBS"; then - pkg_cv_DATETIME_LIBS="$DATETIME_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ -- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgeoclue-2.0 >= \$GEOCLUE_REQUIRED_VERSION -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" - geocode-glib-1.0 >= \$GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= \$LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION - \""; } >&5 -- ($PKG_CONFIG --exists --print-errors "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ ($PKG_CONFIG --exists --print-errors " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION -@@ -20571,7 +20570,7 @@ if test -n "$DATETIME_LIBS"; then - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then -- pkg_cv_DATETIME_LIBS=`$PKG_CONFIG --libs "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ pkg_cv_DATETIME_LIBS=`$PKG_CONFIG --libs " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION -@@ -20596,13 +20595,13 @@ else - _pkg_short_errors_supported=no - fi - if test $_pkg_short_errors_supported = yes; then -- DATETIME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ DATETIME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION - " 2>&1` - else -- DATETIME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ DATETIME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION -@@ -20611,7 +20610,7 @@ fi - # Put the nasty error message in config.log where it belongs - echo "$DATETIME_PKG_ERRORS" >&5 - -- as_fn_error $? "Package requirements (libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION -+ as_fn_error $? "Package requirements ( - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION diff --git a/configure.ac b/configure.ac -index e239a76..3427700 100644 +index 84c8ce234..856eaeb49 100644 --- a/configure.ac +++ b/configure.ac -@@ -58,7 +58,6 @@ POLKIT_REQUIRED_VERSION=0.103 +@@ -57,7 +57,6 @@ POLKIT_REQUIRED_VERSION=0.103 UPOWER_REQUIRED_VERSION=0.99.0 - GSETTINGS_DESKTOP_SCHEMAS_REQUIRED_VERSION=3.19.3 + GSETTINGS_DESKTOP_SCHEMAS_REQUIRED_VERSION=3.23.3 GEOCODE_GLIB_REQUIRED_VERSION=3.10.0 -GEOCLUE_REQUIRED_VERSION=2.3.1 NM_REQUIRED_VERSION=1.0 + LCMS_REQUIRED_VERSION=2.2 - EXTRA_COMPILE_WARNINGS(yes) -@@ -264,7 +263,6 @@ AC_CHECK_LIBM - AC_SUBST(LIBM) +@@ -162,13 +161,11 @@ PKG_CHECK_MODULES(COLOR, + colord >= 1.0.2 + gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION + libcanberra-gtk3 +- libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION + lcms2 >= $LCMS_REQUIRED_VERSION + libnotify) PKG_CHECK_MODULES(DATETIME, -- libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION - geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION - gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION - polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION + libnotify >= $LIBNOTIFY_REQUIRED_VERSION +- libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION + geocode-glib-1.0 >= $GEOCODE_GLIB_REQUIRED_VERSION + gweather-3.0 >= $LIBGWEATHER_REQUIRED_VERSION + polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) +diff --git a/plugins/color/gcm-self-test.c b/plugins/color/gcm-self-test.c +index 83c06c525..c22191e86 100644 +--- a/plugins/color/gcm-self-test.c ++++ b/plugins/color/gcm-self-test.c +@@ -70,9 +70,6 @@ gcm_test_night_light (void) + datetime_override = g_date_time_new_utc (2017, 2, 8, 20, 0, 0); + gsd_night_light_set_date_time_now (nlight, datetime_override); + +- /* do not start geoclue */ +- gsd_night_light_set_geoclue_enabled (nlight, FALSE); +- + /* do not smooth the transition */ + gsd_night_light_set_smooth_enabled (nlight, FALSE); + +diff --git a/plugins/color/gsd-night-light.c b/plugins/color/gsd-night-light.c +index 67415f1d8..7f5118468 100644 +--- a/plugins/color/gsd-night-light.c ++++ b/plugins/color/gsd-night-light.c +@@ -20,7 +20,6 @@ + + #include "config.h" + +-#include <geoclue.h> + + #define GNOME_DESKTOP_USE_UNSTABLE_API + #include "gnome-datetime-source.h" +@@ -34,12 +33,9 @@ struct _GsdNightLight { + GObject parent; + GSettings *settings; + gboolean disabled_until_tmw; +- gboolean geoclue_enabled; + GSource *source; + guint validate_id; + gint disabled_day_of_month; +- GClueClient *geoclue_client; +- GClueSimple *geoclue_simple; + gdouble cached_sunrise; + gdouble cached_sunset; + gdouble cached_temperature; +@@ -407,66 +403,6 @@ settings_changed_cb (GSettings *settings, gchar *key, gpointer user_data) + night_light_recheck (self); + } + +-static void +-on_location_notify (GClueSimple *simple, +- GParamSpec *pspec, +- gpointer user_data) +-{ +- GsdNightLight *self = GSD_NIGHT_LIGHT (user_data); +- GClueLocation *location; +- gdouble latitude, longitude; +- +- location = gclue_simple_get_location (simple); +- latitude = gclue_location_get_latitude (location); +- longitude = gclue_location_get_longitude (location); +- +- g_settings_set_value (self->settings, +- "night-light-last-coordinates", +- g_variant_new ("(dd)", latitude, longitude)); +- +- g_debug ("got geoclue latitude %f, longitude %f", latitude, longitude); +- +- /* recheck the levels if the location changed significantly */ +- if (update_cached_sunrise_sunset (self)) +- night_light_recheck_schedule (self); +-} +- +-static void +-on_geoclue_simple_ready (GObject *source_object, +- GAsyncResult *res, +- gpointer user_data) +-{ +- GsdNightLight *self = GSD_NIGHT_LIGHT (user_data); +- GClueSimple *geoclue_simple; +- g_autoptr(GError) error = NULL; +- +- geoclue_simple = gclue_simple_new_finish (res, &error); +- if (geoclue_simple == NULL) { +- if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) +- g_warning ("Failed to connect to GeoClue2 service: %s", error->message); +- return; +- } +- +- self->geoclue_simple = geoclue_simple; +- self->geoclue_client = gclue_simple_get_client (self->geoclue_simple); +- +- g_signal_connect (self->geoclue_simple, "notify::location", +- G_CALLBACK (on_location_notify), user_data); +- +- on_location_notify (self->geoclue_simple, NULL, user_data); +-} +- +-static void +-register_geoclue (GsdNightLight *self) +-{ +- gclue_simple_new (DESKTOP_ID, +- GCLUE_ACCURACY_LEVEL_CITY, +- self->cancellable, +- on_geoclue_simple_ready, +- self); +- +-} +- + void + gsd_night_light_set_disabled_until_tmw (GsdNightLight *self, gboolean value) + { +@@ -511,19 +447,10 @@ gsd_night_light_get_temperature (GsdNightLight *self) + return self->cached_temperature; + } + +-void +-gsd_night_light_set_geoclue_enabled (GsdNightLight *self, gboolean enabled) +-{ +- self->geoclue_enabled = enabled; +-} +- + gboolean + gsd_night_light_start (GsdNightLight *self, GError **error) + { + +- if (self->geoclue_enabled) +- register_geoclue (self); +- + night_light_recheck (self); + poll_timeout_create (self); + +@@ -554,9 +481,6 @@ gsd_night_light_finalize (GObject *object) + self->validate_id = 0; + } + +- if (self->geoclue_client != NULL) +- gclue_client_call_stop (self->geoclue_client, NULL, NULL, NULL); +- g_clear_object (&self->geoclue_simple); + G_OBJECT_CLASS (gsd_night_light_parent_class)->finalize (object); + } + +@@ -675,7 +599,6 @@ gsd_night_light_class_init (GsdNightLightClass *klass) + static void + gsd_night_light_init (GsdNightLight *self) + { +- self->geoclue_enabled = TRUE; + self->smooth_enabled = TRUE; + self->cached_sunrise = -1.f; + self->cached_sunset = -1.f; +diff --git a/plugins/color/gsd-night-light.h b/plugins/color/gsd-night-light.h +index 4f086dc67..4a63ecfab 100644 +--- a/plugins/color/gsd-night-light.h ++++ b/plugins/color/gsd-night-light.h +@@ -42,8 +42,6 @@ void gsd_night_light_set_disabled_until_tmw (GsdNightLight *self, + gboolean value); + + /* only for the self test program */ +-void gsd_night_light_set_geoclue_enabled (GsdNightLight *self, +- gboolean enabled); + void gsd_night_light_set_date_time_now (GsdNightLight *self, + GDateTime *datetime); + void gsd_night_light_set_smooth_enabled (GsdNightLight *self, diff --git a/plugins/datetime/gsd-timezone-monitor.c b/plugins/datetime/gsd-timezone-monitor.c -index 2ac8648..534f815 100644 +index 2ac864875..5bc4b2932 100644 --- a/plugins/datetime/gsd-timezone-monitor.c +++ b/plugins/datetime/gsd-timezone-monitor.c @@ -25,7 +25,6 @@ @@ -190,22 +268,21 @@ index 2ac8648..534f815 100644 GsdTimezoneMonitor * gsd_timezone_monitor_new (void) { -@@ -343,11 +281,7 @@ gsd_timezone_monitor_finalize (GObject *obj) +@@ -343,11 +281,8 @@ gsd_timezone_monitor_finalize (GObject *obj) g_clear_object (&priv->cancellable); } - if (priv->geoclue_client) - gclue_client_call_stop (priv->geoclue_client, NULL, NULL, NULL); -- + g_clear_object (&priv->dtm); - g_clear_object (&priv->geoclue_simple); g_clear_object (&priv->permission); g_clear_pointer (&priv->current_timezone, g_free); g_clear_pointer (&priv->tzdb, tz_db_free); -@@ -413,6 +347,4 @@ gsd_timezone_monitor_init (GsdTimezoneMonitor *self) - priv->current_timezone = timedate1_dup_timezone (priv->dtm); +@@ -414,5 +349,4 @@ gsd_timezone_monitor_init (GsdTimezoneMonitor *self) priv->tzdb = tz_load_db (); priv->weather_tzdb = weather_tz_db_new (); -- + - register_geoclue (self); } |