Commit Graph

447 Commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
1d5f1a5462
gnu: glib-next: Disable failing tests on the Hurd.
* gnu/packages/glib.scm (glib-next)[arguments]: In phase `disable-tests',
disable four extra failing tests when building on the Hurd.
2023-09-14 23:52:37 +02:00
宋文武
62a33ffc43
gnu: 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-09-01 10:56:33 -04:00
Maxim Cournoyer
4c7627dfec
gnu: Add sdbus-cpp.
* gnu/packages/glib.scm (sdbus-cpp): New variable.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-08-21 14:11:40 -04:00
Janneke Nieuwenhuizen
e65647119e
gnu: glib: Disable hanging and failing tests for the Hurd.
* 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-07-20 10:11:36 +02:00
Zheng Junjie
3f45c3b12b
gnu: gobject-introspection: Fix cross-compiling.
* gnu/packages/glib.scm(gobject-introspection)[native-inputs]: When
cross-compiling add python.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-04 14:58:28 +03:00
Saku Laesvuori
10ac7c9ab5
gnu: Add glibmm-next.
* gnu/packages/glib.scm (glibmm-next): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-05-28 13:12:50 +02:00
Efraim Flashner
b211cd6bac
gnu: perl-glib: Update to 1.3293.
* gnu/packages/glib.scm (perl-glib): Update to 1.3293.
2023-04-22 23:36:48 +03:00
Maxim Cournoyer
71b596a928
gnu: libsigc++-2: Remove patch-docbook-xml phase.
* gnu/packages/glib.scm (libsigc++-2) [arguments]: Remove patch-docbook-xml phase.
Remove trailing #t.  Use gexps.
2023-04-21 00:44:03 -04:00
Maxim Cournoyer
a2b20f1d37
gnu: libsigc++: Remove patch-docbook-xml phase.
* gnu/packages/glib.scm (libsigc++) [arguments]: Remove patch-docbook-xml phase.
Remove trailing #t.  Use gexps.
[native-inputs]: Remove labels.
2023-04-21 00:44:03 -04:00
Maxim Cournoyer
911aa1a5ad
gnu: glib-with-documentation: Remove patch-docbook-xml phase.
* gnu/packages/glib.scm (glib-with-documentation) [arguments]: Remove
patch-docbook-xml phase.
[native-inputs]: Use modify-inputs.  Remove labels.
2023-04-21 00:44:02 -04:00
Efraim Flashner
4cf1acc7f3
Merge remote-tracking branch 'origin/master' into core-updates
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
2023-01-30 12:39:40 +02:00
Brendan Tildesley
6d98b42ca5
gnu: Add libaccounts-glib.
* gnu/packages/glib.scm (libaccounts-glib): New variable.

Co-authored-by: Marius Bakke <marius@gnu.org>
2022-11-21 22:01:07 +01:00
Marius Bakke
cc562eb47c
gnu: glib-next: Use G-expression.
* gnu/packages/glib.scm (glib-next)[arguments]: Use gexp.
2022-09-16 19:03:43 +02:00
Maxim Cournoyer
4920f6e634
Merge branch 'staging' into core-updates
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-15 11:43:21 -04:00
Maxim Cournoyer
7ad9360bd6
gnu: Add glib-next.
* gnu/packages/glib.scm (glib-next): New variable.
(glib-with-documentation): Inherit from it.
2022-09-13 02:04:39 -04:00
Maxim Cournoyer
b48162d3c9
gnu: Add gobject-introspection-next.
* 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-13 00:20:38 -04:00
Marius Bakke
44119bf51d
gnu: python-pygobject: Update to 3.42.2.
* gnu/packages/glib.scm (python-pygobject): Update to 3.42.2.
2022-09-09 17:03:57 +02:00
Maxim Cournoyer
111d525d8a
gnu: glibmm: Update to 2.72.1 and use gexps.
* gnu/packages/glib.scm (glibmm): Update to 2.72.1.
[phases]: Use gexps.
2022-08-28 21:07:47 -04:00
Maxim Cournoyer
c6e4a14458
gnu: glib: Use gexps.
* 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-28 21:07:46 -04:00
Efraim Flashner
126648f578
gnu: glib: Remove unneeded inputs.
* gnu/packages/glib.scm (glib)[inputs]: Remove bash-completion,
elfutils. Move dbus from here ...
[native-inputs]: ... to here.
2022-08-08 20:54:39 +03:00
Marius Bakke
e9bac3e872
gnu: glib: Build with Elfutils instead of libelf.
* gnu/packages/glib.scm (glib)[inputs]: Change from LIBELF to ELFUTILS.
2022-07-23 19:43:11 +02:00
Marius Bakke
9044b086dd
Merge branch 'staging' into core-updates 2022-07-22 01:09:14 +02:00
Marius Bakke
ed1fbf9996
gnu: python-pygobject: Update to 3.42.1.
* gnu/packages/glib.scm (python-pygobject): Update to 3.42.1.
2022-07-16 23:25:19 +02:00
Marius Bakke
a862fe6cbb
gnu: python-pygobject: Add 'upstream-name' property.
* gnu/packages/glib.scm (python-pygobject)[properties]: New field.
2022-07-16 23:25:19 +02:00
Marius Bakke
13d858413c
gnu: gobject-introspection: Update to 1.72.0.
* 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-16 23:25:19 +02:00
Marius Bakke
413888ffea
gnu: glib: Update to 2.72.3.
* gnu/packages/glib.scm (glib): Update to 2.72.3.
2022-07-16 23:25:19 +02:00
Marius Bakke
ee449b5348
gnu: dbus: Update to 1.14.0.
* gnu/packages/glib.scm (dbus): Update to 1.14.0.
[source](uri): Use .xz tarball.
2022-07-06 00:35:16 +02:00
Marius Bakke
8cdb8e10e2
gnu: itstool: Use G-expression.
* gnu/packages/glib.scm (itstool)[arguments]: Convert to gexp.
2022-06-30 23:26:20 +02:00
Marius Bakke
0d6e7e54ed
gnu: itstool: Update to 2.0.7.
* gnu/packages/glib.scm (itstool): Update to 2.0.7.
2022-06-30 23:26:20 +02:00
Marius Bakke
f9dd754fb1
gnu: itstool: Update home page.
* gnu/packages/glib.scm (itstool)[home-page]: Use HTTPS and remove defunct
subdomain.
2022-06-30 23:01:28 +02:00
Ludovic Courtès
8655a71445
Merge branch master into core-updates 2022-06-22 18:48:00 +02:00
Maxim Cournoyer
3aaf52a129
gnu: Add dbus-verbose.
* gnu/packages/glib.scm (dbus-verbose): New variable.
2022-06-14 14:23:21 -04:00
Ludovic Courtès
8c3e9da13a
Merge branch 'master' into core-updates 2022-06-08 14:46:24 +02:00
Maxim Cournoyer
85b4dabd94
services: 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'.
2022-06-10 23:52:33 -04:00
Maxim Cournoyer
88a77bdda1
gnu: 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.
2022-05-31 14:53:46 -04:00
Maxim Cournoyer
0d41fe4855
Merge branch 'staging' into core-updates.
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-25 23:48:37 -05:00
Maxim Cournoyer
1a5302435f
Merge branch 'master' into staging.
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-25 22:07:13 -05:00
Maxim Cournoyer
db912d77a8
gnu: glib: Update to 2.70.2.
* gnu/packages/glib.scm (glib): Update to 2.70.2.
2022-01-10 11:44:52 -05:00
Maxim Cournoyer
abb5a92cbc
gnu: 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.
2022-01-10 11:44:51 -05:00
Maxim Cournoyer
0c5bfcadfd
gnu: 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>
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
946c5e05a4
gnu: glibmm: Remove trailing #t.
* gnu/packages/glib.scm (glibmm): Remove trailing #t.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer
8faa04c316
gnu: 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.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer
a9d27c30dc
gnu: gobject-introspection: Unconditionally use flex and bison.
* gnu/packages/glib.scm (gobject-introspection): Delete trailing #t.
[native-inputs]: Unconditionally use flex and bison.
2022-01-10 11:44:31 -05:00
Efraim Flashner
6ccf8ea81f
Merge branch 'master' into core-updates 2021-12-19 15:15:11 +02:00
Liliana Marie Prikler
47843a14a4
gnu: 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.
2021-12-17 04:43:08 +01:00
Ludovic Courtès
e3196755e6
gnu: 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.)
2021-12-13 22:15:07 +01:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Vivien Kraus
b82cb1ff14
gnu: appstream-glib: Fix build.
* gnu/packages/glib.scm (appstream-glib) [inputs]: Use libsoup-minimal-2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-12 11:26:35 -05:00
Maxim Cournoyer
f22f6fc3b6
gnu: 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 18f73d8041 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-11 12:18:17 -05:00
Maxim Cournoyer
81bda13ad2
gnu: dbus-c++: Fix build.
* gnu/packages/glib.scm (dbus-c++)[inputs]: Add libunwind.
2021-11-11 10:31:28 -05:00