ba43c61917
We started to support Soup3 in GNOME 41, and used it by default since GNOME 43. This should be enough time for distros to adapt, so GNOME 45 looks like a good moment to drop the old Soup2 support. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2776>
22 lines
764 B
JavaScript
22 lines
764 B
JavaScript
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
|
const pkg = imports.package;
|
|
|
|
/* The name of this package (not localized) */
|
|
var PACKAGE_NAME = '@PACKAGE_NAME@';
|
|
/* The version of this package */
|
|
var PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
|
var HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
|
/* gettext package */
|
|
var GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
|
/* locale dir */
|
|
var LOCALEDIR = '@datadir@/locale';
|
|
/* other standard directories */
|
|
var LIBEXECDIR = '@libexecdir@';
|
|
var PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
|
/* g-i package versions */
|
|
var LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@'
|
|
|
|
var HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0',
|
|
'Client.default_adapter_state')
|