summary refs log tree commit diff
path: root/gnu/packages/glib.scm
AgeCommit message (Collapse)Author
2023-09-01gnu: dbus-cxx: Update to 2.4.0.宋文武
* gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. [source]: Switch to git-fetch. [arguments]: Use g-exps. Adjust configure-flags. <phases>: Skip 'test-machine-uuid-method' test in check phase override. [inputs]: Add libcppgenerate. Remove python and glibmm. Move libsigc++ to... [propagated-inputs]: ...here. Add glib. [native-inputs]: Remove m4. [license]: Change to lgpl3+ and bsd-3. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-08-21gnu: Add sdbus-cpp.Maxim Cournoyer
* gnu/packages/glib.scm (sdbus-cpp): New variable. Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-07-20gnu: glib: Disable hanging and failing tests for the Hurd.Janneke Nieuwenhuizen
* gnu/packages/glib.scm (glib)[arguments]: When building for the Hurd, in phase `disable-failing-tests', neutralize 20 hanging tests, and 37 more failing tests.
2023-06-04gnu: gobject-introspection: Fix cross-compiling.Zheng Junjie
* gnu/packages/glib.scm(gobject-introspection)[native-inputs]: When cross-compiling add python. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-28gnu: Add glibmm-next.Saku Laesvuori
* gnu/packages/glib.scm (glibmm-next): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-04-22gnu: perl-glib: Update to 1.3293.Efraim Flashner
* gnu/packages/glib.scm (perl-glib): Update to 1.3293.
2023-04-21gnu: libsigc++-2: Remove patch-docbook-xml phase.Maxim Cournoyer
* gnu/packages/glib.scm (libsigc++-2) [arguments]: Remove patch-docbook-xml phase. Remove trailing #t. Use gexps.
2023-04-21gnu: libsigc++: Remove patch-docbook-xml phase.Maxim Cournoyer
* gnu/packages/glib.scm (libsigc++) [arguments]: Remove patch-docbook-xml phase. Remove trailing #t. Use gexps. [native-inputs]: Remove labels.
2023-04-21gnu: glib-with-documentation: Remove patch-docbook-xml phase.Maxim Cournoyer
* gnu/packages/glib.scm (glib-with-documentation) [arguments]: Remove patch-docbook-xml phase. [native-inputs]: Use modify-inputs. Remove labels.
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
2022-11-21gnu: Add libaccounts-glib.Brendan Tildesley
* gnu/packages/glib.scm (libaccounts-glib): New variable. Co-authored-by: Marius Bakke <marius@gnu.org>
2022-09-16gnu: glib-next: Use G-expression.Marius Bakke
* gnu/packages/glib.scm (glib-next)[arguments]: Use gexp.
2022-09-15Merge branch 'staging' into core-updatesMaxim Cournoyer
Conflicts resolved in: gnu/local.mk gnu/packages/cmake.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/sdl.scm pango-next, vala-next and librsvg-bootstrap were removed in the process.
2022-09-13gnu: Add glib-next.Maxim Cournoyer
* gnu/packages/glib.scm (glib-next): New variable. (glib-with-documentation): Inherit from it.
2022-09-13gnu: Add gobject-introspection-next.Maxim Cournoyer
* gnu/packages/glib.scm (gobject-introspection-next): New variable. * gnu/packages/patches/gobject-introspection-absolute-shlib-path-1.72.patch: New file. * gnu/packages/patches/gobject-introspection-cc-1.72.patch: Likewise. * gnu/local.mk (dist_patch_DATA): Register them.
2022-09-09gnu: python-pygobject: Update to 3.42.2.Marius Bakke
* gnu/packages/glib.scm (python-pygobject): Update to 3.42.2.
2022-08-28gnu: glibmm: Update to 2.72.1 and use gexps.Maxim Cournoyer
* gnu/packages/glib.scm (glibmm): Update to 2.72.1. [phases]: Use gexps.
2022-08-28gnu: glib: Use gexps.Maxim Cournoyer
* gnu/packages/glib.scm (glib)[arguments]: Use a plain list. [disallowed-references]: Adjust accordingly. [configure-flags]: Likewise. [phases]: Use gexps. (glib-with-documentation)[phases]: Use gexps.
2022-08-08gnu: glib: Remove unneeded inputs.Efraim Flashner
* gnu/packages/glib.scm (glib)[inputs]: Remove bash-completion, elfutils. Move dbus from here ... [native-inputs]: ... to here.
2022-07-23gnu: glib: Build with Elfutils instead of libelf.Marius Bakke
* gnu/packages/glib.scm (glib)[inputs]: Change from LIBELF to ELFUTILS.
2022-07-22Merge branch 'staging' into core-updatesMarius Bakke
2022-07-16gnu: python-pygobject: Update to 3.42.1.Marius Bakke
* gnu/packages/glib.scm (python-pygobject): Update to 3.42.1.
2022-07-16gnu: python-pygobject: Add 'upstream-name' property.Marius Bakke
* gnu/packages/glib.scm (python-pygobject)[properties]: New field.
2022-07-16gnu: gobject-introspection: Update to 1.72.0.Marius Bakke
* gnu/packages/glib.scm (gobject-introspection): Update to 1.72.0. * gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch, gnu/packages/patches/gobject-introspection-cc.patch: Rebase.
2022-07-16gnu: glib: Update to 2.72.3.Marius Bakke
* gnu/packages/glib.scm (glib): Update to 2.72.3.
2022-07-06gnu: dbus: Update to 1.14.0.Marius Bakke
* gnu/packages/glib.scm (dbus): Update to 1.14.0. [source](uri): Use .xz tarball.
2022-06-30gnu: itstool: Use G-expression.Marius Bakke
* gnu/packages/glib.scm (itstool)[arguments]: Convert to gexp.
2022-06-30gnu: itstool: Update to 2.0.7.Marius Bakke
* gnu/packages/glib.scm (itstool): Update to 2.0.7.
2022-06-30gnu: itstool: Update home page.Marius Bakke
* gnu/packages/glib.scm (itstool)[home-page]: Use HTTPS and remove defunct subdomain.
2022-06-22Merge branch master into core-updatesLudovic Courtès
2022-06-14gnu: Add dbus-verbose.Maxim Cournoyer
* gnu/packages/glib.scm (dbus-verbose): New variable.
2022-06-08Merge branch 'master' into core-updatesLudovic Courtès
2022-06-10services: jami: Modernize to adjust to Shepherd 0.9+ changes.Maxim Cournoyer
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'.
2022-05-31gnu: Remove python2-pygobject.Maxim Cournoyer
* 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.
2022-01-25Merge branch 'staging' into core-updates.Maxim Cournoyer
With "conflicts" resolved in (mostly in favor of master/staging): gnu/packages/admin.scm gnu/packages/gnuzilla.scm gnu/packages/gtk.scm gnu/packages/kerberos.scm gnu/packages/linux.scm guix/lint.scm
2022-01-25Merge branch 'master' into staging.Maxim Cournoyer
With "conflicts" solved (all in favor of master except git) in: gnu/local.mk gnu/packages/databases.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/gnuzilla.scm gnu/packages/graphics.scm gnu/packages/gstreamer.scm gnu/packages/gtk.scm gnu/packages/linux.scm gnu/packages/machine-learning.scm gnu/packages/networking.scm gnu/packages/polkit.scm gnu/packages/pulseaudio.scm gnu/packages/rpc.scm gnu/packages/rust.scm gnu/packages/version-control.scm gnu/packages/w3m.scm
2022-01-10gnu: glib: Update to 2.70.2.Maxim Cournoyer
* gnu/packages/glib.scm (glib): Update to 2.70.2.
2022-01-10gnu: glibmm: Update to 2.70.0 and apply guix style.Maxim Cournoyer
* gnu/packages/glib.scm (glibmm): Update to 2.70.0. [native-inputs]: Use new style.
2022-01-10gnu: glibmm-2.64: Fix libsigc++ propagation.Maxim Cournoyer
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>
2022-01-10gnu: glibmm: Remove trailing #t.Maxim Cournoyer
* gnu/packages/glib.scm (glibmm): Remove trailing #t.
2022-01-10gnu: glib: Fix cross-compilation.Maxim Cournoyer
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.
2022-01-10gnu: gobject-introspection: Unconditionally use flex and bison.Maxim Cournoyer
* gnu/packages/glib.scm (gobject-introspection): Delete trailing #t. [native-inputs]: Unconditionally use flex and bison.
2021-12-19Merge branch 'master' into core-updatesEfraim Flashner
2021-12-17gnu: telepathy-glib: Update to 0.24.2.Liliana Marie Prikler
* 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.
2021-12-13gnu: Further simplify package inputs.Ludovic Courtès
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.)
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-11-12gnu: appstream-glib: Fix build.Vivien Kraus
* gnu/packages/glib.scm (appstream-glib) [inputs]: Use libsoup-minimal-2. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: glib: Update to 2.70, specify a bindir prefix and hide package.Maxim Cournoyer
* 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.
2021-11-11gnu: dbus-c++: Fix build.Maxim Cournoyer
* gnu/packages/glib.scm (dbus-c++)[inputs]: Add libunwind.
2021-11-11Revert commits made to resolve a gdk-pixbuf+svg propagation issue.Maxim Cournoyer
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.