/gnu/packages/bootstrap/aarch64-linux/

et'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/glib.scm
AgeCommit message (Expand)Author
2022-06-30gnu: itstool: Update home page....* gnu/packages/glib.scm (itstool)[home-page]: Use HTTPS and remove defunct subdomain. Marius Bakke
2022-06-14gnu: Add dbus-verbose....* gnu/packages/glib.scm (dbus-verbose): New variable. Maxim Cournoyer
2022-06-10services: jami: Modernize to adjust to Shepherd 0.9+ changes....This partially fixes <https://issues.guix.gnu.org/54786>, allowing the 'jami' and 'jami-provisioning' system tests to pass again. In version 0.9.0, Shepherd constructors are now run concurrently, via cooperative scheduling (Guile Fibers). The Jami service previously relied on blocking sleeps while polling for D-Bus services to become ready after forking a process; this wouldn't work anymore since while blocking the service process wouldn't be given the chance to finish starting. The new reliance on Fibers in Shepherd's fork+exec-command in the helper 'send-dbus' procedure also meant that it wouldn't work outside of Shepherd anymore. Finally, the 'start-service' Shepherd procedure used in the test suite would cause the Jami daemon to be spawned multiple times (a bug introduced in Shepherd 0.9.0). To fix/simplify these problems, this change does the following: 1. Use the Guile AC/D-Bus library for D-Bus communication, which simplify things, such as avoiding the need to fork 'dbus-send' processes. 2. The non-blocking 'sleep' version of Fiber is used for the 'with-retries' waiting syntax. 3. A 'dbus' package variant is used to adjust the session bus configuration, tailoring it for the use case at hand. 4. Avoid start-service in the tests, preferring 'jami-service-available?' for now. * gnu/build/jami-service.scm (parse-dbus-reply, strip-quotes) (deserialize-item, serialize-boolean, dbus-dict->alist) (dbus-array->list, parse-account-ids, parse-account-details) (parse-contacts): Delete procedures. (%send-dbus-binary, %send-dbus-bus, %send-dbus-user, %send-dbus-group) (%send-dbus-debug): Delete parameters. (jami-service-running?): New procedure. (send-dbus/configuration-manager): Rename to... (call-configuration-manager-method): ... this. Turn METHOD into a positional argument. Turn ARGUMENTS into an optional argument. Invoke `call-dbus-method' instead of `send-dbus', adjusting callers accordingly. (get-account-ids, id->account-details, id->account-details) (id->volatile-account-details, username->id, add-account remove-account) (username->contacts, remove-contact, add-contact, set-account-details) (set-all-moderators, username->all-moderators?, username->moderators) (set-moderator): Adjust accordingly. (with-retries, send-dbus, dbus-available-services) (dbus-service-available?): Move to ... * gnu/build/dbus-service.scm: ... this new module. (send-dbus): Rewrite to use the Guile AC/D-Bus library. (%dbus-query-timeout, sleep*): New variables. (%current-dbus-connection): New parameter. (initialize-dbus-connection!, argument->signature-type) (call-dbus-method): New procedures. (dbus-available-services): Adjust accordingly. * gnu/local.mk (GNU_SYSTEM_MODULES): Register new module. * gnu/packages/glib.scm (dbus-for-jami): New variable. * gnu/services/telephony.scm: (jami-configuration)[dbus]: Default to dbus-for-jami. (jami-dbus-session-activation): Write a D-Bus daemon configuration file at '/var/run/jami/session-local.conf'. (jami-shepherd-services): Add the closure of guile-ac-d-bus and guile-fibers as extensions. Adjust imported modules. Remove no longer used parameters. <jami-dbus-session>: Use a PID file, avoiding the need for the manual synchronization. <jami>: Set DBUS_SESSION_BUS_ADDRESS environment variable. Poll using 'jami-service-available?' instead of 'dbus-service-available?'. * gnu/tests/telephony.scm (run-jami-test): Add needed Guile extensions. Set DBUS_SESSION_BUS_ADDRESS environment variable. Adjust all tests to use 'jami-service-available?' to determine if the service is started rather than the now problematic Shepherd's 'start-service'. Maxim Cournoyer
2022-05-31gnu: Remove python2-pygobject....* gnu/packages/glib.scm (python2-pygobject, python2-pygobject-2): Delete variables. (python-pygobject)[properties]: Delete field. * gnu/packages/patches/python2-pygobject-2-deprecation.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. * gnu/packages/gnome.scm (libsecret): Remove commented Python 2 inputs. Maxim Cournoyer
2022-01-10gnu: glib: Update to 2.70.2....* gnu/packages/glib.scm (glib): Update to 2.70.2. Maxim Cournoyer
2022-01-10gnu: glibmm: Update to 2.70.0 and apply guix style....* gnu/packages/glib.scm (glibmm): Update to 2.70.0. [native-inputs]: Use new style. Maxim Cournoyer
2022-01-10gnu: glibmm-2.64: Fix libsigc++ propagation....Fixes <https://issues.guix.gnu.org/52519>. The package was propagating two variants of libsigc++. * gnu/packages/glib.scm (glibmm-2.64)[propagated-inputs]: Replace existing libsigc++ package instead of prepending an extra one. Reported-by: Leo Famulari <leo@famulari.name> Maxim Cournoyer
2022-01-10gnu: glibmm: Remove trailing #t....* gnu/packages/glib.scm (glibmm): Remove trailing #t. Maxim Cournoyer
2022-01-10gnu: glib: Fix cross-compilation....Fixes <https://issues.guix.gnu.org/52574>. Reported by L p R n d n <guix@lprndn.info>. Thanks to Maxime Devos for the suggested fix. * gnu/packages/glib.scm (glib)[configure-flags]: Define as a G-expression. (glib-with-documentation)[configure-flags]: Likewise. Maxim Cournoyer
2022-01-10gnu: gobject-introspection: Unconditionally use flex and bison....* gnu/packages/glib.scm (gobject-introspection): Delete trailing #t. [native-inputs]: Unconditionally use flex and bison. Maxim Cournoyer
2021-12-17gnu: telepathy-glib: Update to 0.24.2....* gnu/packages/glib.scm (telepathy-glib): Update to 0.24.2. [source]: Drop upstreamed patches. * gnu/packages/patches/telepathy-glib-channel-memory-leak.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Liliana Marie Prikler
2021-12-13gnu: Further simplify package inputs....This is the result of running: ./pre-inst-env guix style --input-simplification=safe and manually undoing changes on a dozen of packages to reduce rebuilds (derivations for emacs, icecat, and libreoffice are unchanged.) Ludovic Courtès
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-11-12gnu: appstream-glib: Fix build....* gnu/packages/glib.scm (appstream-glib) [inputs]: Use libsoup-minimal-2. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Vivien Kraus
2021-11-11gnu: glib: Update to 2.70, specify a bindir prefix and hide package....* gnu/packages/glib.scm (glib): Update to 2.70. Remove trailing #t. [outputs]: Add a debug output. [configure-flags]: Specify --bindir and disable manpage generation. [phases]{disable-failing-tests}: Disable the flaky testfilemonitor test. {move-static-libraries}: Use rename-file instead of link and delete. {move-bin}: Rename to... {patch-pkg-config-files}: ... this, and adjust the substitutions. [native-inputs]: Remove docbook-xsl, libxml2 and libxslt. [properties]: Re-add the hidden? property that commit 18f73d80416 had temporarily removed. (glib-with-documentation)[properties]: Revert to a visible package. [native-inputs]: Add docbook-xsl and libxslt. [configure-flags]: Delete the inherited "-Dman=false" flag. Maxim Cournoyer
2021-11-11gnu: dbus-c++: Fix build....* gnu/packages/glib.scm (dbus-c++)[inputs]: Add libunwind. Maxim Cournoyer
2021-11-11Revert commits made to resolve a gdk-pixbuf+svg propagation issue....Fixes <https://issues.guix.gnu.org/50957>. This reverts the following commits: - 42231bc (gnu: cheese: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - ad6a950 (gnu: mutter: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - 5e02d1a (gnu: cogl: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - 5c467b2 (gnu: libgweather: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - 26487f6 (gnu: librsvg-next: Do not propagate gdk-pixbuf) - d891922 (gnu: librsvg: Do not propagate gdk-pixbuf) - 22476d3 (gnu: libgsf: Do not propagate gdk-pixbuf) - 099ca0e (gnu: libnotify: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - fb6a1ff (gnu: appstream-glib: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) - 4fb525d (gnu: weasyprint: Propagate gdk-pixbuf+svg rather than gdk-pixbuf) These commits were made to resolve a gdk-pixbuf loaders clash that could occur in a profile when both gdk-pixbuf and gdk-pixbuf+svg were propagated. Unfortunately, librsvg really needs to propagate gdk-pixbuf itself, which would introduce a cycle. Packages such as 'efl' were broken as a result of not propagating gdk-pixbuf. A more definitive fix will be proposed for core-updates, which includes a profile hook to generate the gdk-pixbuf loaders.cache file, as well as a build phase and search path specification, that should resolve the issue for good. Maxim Cournoyer
2021-11-11gnu: python-pygobject: Update to 3.40.1....* gnu/packages/glib.scm (python-pygobject)[version]: Update to 3.40.1. [native-inputs]: Add python-wrapper. Raghav Gururajan
2021-11-11gnu: appstream-glib: Propagate gdk-pixbuf+svg rather than gdk-pixbuf....Propagating gdk-pixbuf rather than gdk-pixbuf+svg is dangerous as it clashes with GTK+'s own gdk-pixbuf+svg propagation. * gnu/packages/glib.scm (appstream-glib)[propagated-inputs]: Replace gdk-pixbuf by gdk-pixbuf+svg. Maxim Cournoyer
2021-09-22gnu: glib: Actually skip tests that fail on i686....* gnu/packages/glib.scm (glib)[arguments]: In 'disable-failing-tests' phase, when 'target-x86-32?' returns true, skip several tests in timer.c. Ludovic Courtès
2021-09-20gobject-introspection: Correct library name when cross-compiling....* gnu/packages/glib.scm (python-extension-suffix, correct-library-name-phase): New procedures. (gobject-introspection)[arguments]<#:phases>{rename-library}: New phase, correct the name of the python extension when cross-compiling. Maxime Devos
2021-09-20gobject-introspection: Fix inputs when cross-compiling....* gnu/packages/glib.scm (gobject-introspection)[native-inputs]: Add 'bison' and 'flex' when cross-compiling. (gobject-introspection)[inputs]: Use 'python' instead of 'python-wrapper' when cross-compiling. Remove 'bison', 'flex' when cross-compiling. Maxime Devos
2021-09-20gnu: gobject-introspection: Don't build introspection data when cross-compiling....* gnu/packages/glib.scm (gobject-introspection)[arguments]<#:configure-flags>: Set gi_cross_use_prebuilt_gi to 'true'. (gobject-introspection)[arguments]<#:phases>{set-typelibs}: New phase, avoid undefined variable in "meson.build". Maxime Devos
2021-09-20gnu: dbus-glib: Support cross-compilation....This allows cross-compilation to succeed when not using QEMU's transparent emulation, and the cross-compilation is not a pointless cross-compilation like x86_64 -> i686. * gnu/packages/glib.scm (dbus-glib)[arguments]: Set --with-dbus-binding-tool to a native version of "dbus-binding-tool" when cross-compiling. Maxime Devos
2021-09-15gnu: glib: Avoid timer.c test failure on i686-linux....* gnu/packages/glib.scm (glib)[arguments]: In 'disable-failing-tests' phase, modify "glib/tests/timer.c" on i[56]86 to address test failure. Ludovic Courtès
2021-08-29gnu: python-pygobject: Extend test timeout....* gnu/packages/glib.scm (python-pygobject)[arguments]: Replace check phase and extend the test timeout. Efraim Flashner
2021-07-27gnu: appstream-glib: Fix failing tests....* gnu/packages/glib.scm (appstream-glib)[arguments]<#:phases>{set-home}: Add a new phase 'set-home' for tests that want to write to $HOME. Signed-off-by: Leo Famulari <leo@famulari.name> Maxime Devos
2021-08-19gnu: glib: Update to 2.68.3....* gnu/packages/glib.scm (glib): Update to 2.68.3 and remove a left over comment. Mathieu Othacehe