Commit graph

995 commits

Author SHA1 Message Date
Maxim Cournoyer
401d21b277
gnu: harfbuzz: Update to 11.4.4.
* gnu/packages/gtk.scm (harfbuzz): Update to 11.4.4.

Change-Id: I0716fcaee731e062a250b5c9d4a04a433f2310b0
2025-09-29 17:05:35 +09:00
John Kehayias
594a75442a
gnu: gtk+: Fix build on i686-linux.
Looks like the (graft) update to gtk+ to 3.24.49 never built on i686-linux due
to a failing test.  It is unclear why, but since we use an old librsvg on this
platform compared to x86_64, that is a major difference in the build/tests.

* gnu/packages/gtk.scm (gtk+)[arguments]<#:phases>: Skip the linear-gradient
on i686-linux.

Change-Id: I61e2fccaeaa92889c5519ad7845483f0e6a6715f
2025-09-29 17:05:33 +09:00
John Kehayias
deae1354e8
gnu: gtk-doc: Fix test.
* gnu/packages/gtk.scm (gtk-doc)[source]: Add patch.
* gnu/packages/patches/gtk-doc-mkhtml-test-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Ie1cc25bbef294755534db00380b880719c9ee9ff
2025-09-29 17:05:32 +09:00
John Kehayias
b41eb6e047
gnu: libxml2: Update to 2.14.6; deprecate python-libxml2.
Python bindings for libxml2 are now built as part of libxml2; remove all
python-libxml2 inputs for libxml2 (nearly all already had libxml2) and
deprecate the package.  This was done manually using

git grep python-libxml2 gnu/packages

to find affected packages and then check all their input fields.

With the update to libxml2, we can remove all the libxml2-next* variants.
This change was automated with:

git grep -rl libxml2-next | xargs sed -i 's/\(libxml2-next\|libxml2-next-for-grafting\)/libxml2/g'

* gnu/packages/xml.scm (libxml2): Update to 2.14.6.
[arguments]<#:phases>: Add configure-python phase (from python-libxml2).
[native-inputs]: Add pkg-config and python-minimal.
(libxml2-next, libxml2-next/fixed, libxml2-next-for-grafting): Remove.
(python-libxml2): Deprecate in favor of libxml2.

Change-Id: I2976f2fde086e9bc345d661edbdc125abbb7a753
2025-09-29 17:05:31 +09:00
John Kehayias
660ccb7da6
gnu: gtk+: Ungraft.
* gnu/packages/gtk.scm (gtk+): Update to 3.24.43.
[replacement]: Remove.
[source]: Use git-fetch.
[arguments]<#:phases>: Add some test to disable-failing-tests phase.
(gtk+/fixed): Remove.

Change-Id: Ia34ac538f36424748e0a813cfc4e0dad2d643d0b
2025-09-29 17:05:31 +09:00
Nicolas Graves
464c5c6e09
gnu: python-pycairo: Update to 1.28.0.
* gnu/packages/gtk.scm (python-pycairo): Update to 1.28.0.

Change-Id: I45ae25f074b9b5ca8cd87dbf4577a1adb48cd57a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:52 +01:00
Nicolas Graves
05c075b85c
gnu: python-pycairo: Switch to meson-build-system.
For some reason, we lost pkg-config files using pyproject.
Here the fix is trivial, but this might indicate a bigger issue.

* gnu/packages/gtk.scm (python-pycairo)
[source]: Switch to git-fetch.
[build-system]: Switch to meson.
[native-inputs]: Add python.
Also remove a trailing lost comment.

Change-Id: I3f59ab7b8150ce0b9de1a5b342ccfbb546039ec7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:36:52 +01:00
Sharlatan Hellseher
bb55c28ea7
gnu: python-pycairo: Switch to pyproject-build-system.
* gnu/packages/gtk.scm (python-pycairo):
  [build-system]: Use pyproject.
  [arguments] <phases>: Add 'build-extensions.
  [native-inputs]: Add python-setuptools.

Change-Id: I0c5352aaca6e258c7f425e55dfaead3056fe78fe
2025-09-25 09:35:44 +01:00
Sharlatan Hellseher
7372201a62
gnu: python-docutils: Update to 0.21.2.
This change updates python-docutils to the latests version and pins some
older packages on 0.19 to resolve build documentation issue which uses
rst2man.

* gnu/packages/python-xyz.scm (python-docutils): Update to 0.21.2.
[build-system]: Use pyproject.
[arguments] <phases>: Do not overwrite 'check use {#:test-backend} and
{#:test-flags}.
[native-inputs]: Add python-flit-core.

(python-docutils-0.16)[native-inputs]: Add python-wheel.

(python-docutils-0.19): New variable.

* gnu/packages/diffoscope.scm (trydiffoscope) [native-inputs]: Remove
python-docutils; add python-docutils-0.19.
* gnu/packages/gtk.scm (gtk): Likewise.
* gnu/packages/linux.scm (rdma-core): Likewise.
* gnu/packages/power.scm (apcupsd): Likewise.
* gnu/packages/version-control.scm (cgit): Likewise.
* gnu/packages/virtualization.scm (ganeti)) Likewise.

Change-Id: If58b9b12732347245e66e3c2cb5e67b0a8450913
2025-09-25 09:35:40 +01:00
Hilton Chain
92c63391ee
gnu: gtk+/fixed: Apply input method patches.
Follow-up to 80cb493b9e.

* gnu/packages/gtk.scm (gtk+/fixed) [source]: Apply gtk+ patches for input
method support.

Fixes: #2059
Change-Id: Ie2d8d4b0a7c65ae8f7a8a14795f0ca60a550bfbc
2025-09-08 20:32:51 +08:00
Nicolas Graves
5bd5624982
gnu: packages: Avoid libxml2@2.9 propagation.
libxml2@2.9 has CVEs, we don't want it in user profiles.

* gnu/packages/augeas.scm (augeas)
* gnu/packages/bioinformatics.scm (libsbml)
* gnu/packages/elf.scm (libabigail)
* gnu/packages/freedesktop.scm (telepathy-logger)
* gnu/packages/glib.scm (libaccounts-glib)
* gnu/packages/gtk.scm (gtksourceview)
* gnu/packages/image-processing.scm (vips)
* gnu/packages/mate.scm (libmateweather)
* gnu/packages/messaging.scm (libgnt)
* gnu/packages/virtualization.scm (libvirt-glib)
* gnu/packages/vpn.scm (openconnect)
* gnu/packages/xml.scm (xmlsec)
[propagated-inputs]: Replace libxml2 by libxml2-next.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-09-04 11:13:05 +02:00
Gabriel Wicki
80cb493b9e
gnu: gtk+: Replace with 3.24.49.
This fixes a segfault error in Gimp and possibly other applications.

* gnu/packages/gtk.scm (gtk+)[replacement]: Add field to graft with...
(gtk+/fixed): ... this new package.

Change-Id: I46d6b043593716f970ea7c898a01ed4f78fa540d
2025-08-04 10:45:44 +02:00
Andreas Enge
1f01028ef5
gnu: gtksheet: Fix build with gcc-14.
* gnu/packages/gtk.scm (gtksheet)[arguments]<#:configure-flags>: Expand
CFLAGS.

Change-Id: Ieac93c560566832b1cff413fa7aee37a9175135d
2025-08-01 16:12:26 +02:00
Andreas Enge
b48383cdeb
gnu: Remove gtksourceview-2.
The variable has no dependents anymore, and we carry three more
recent versions.

* gnu/packages/gtk.scm (gtksourceview-2): Delete variable.

Change-Id: I9258c2d7294c8df347e5bb1daea588f82f8f8d58
2025-07-24 15:19:37 +02:00
Jussi Timperi
082d152cbe
gnu: murrine: Fix build with GCC 14.
* gnu/packages/gtk.scm (murrine)[arguments]<#:configure-flags>: Add
CFLAGS with '-Wno-error=implicit-function-declaration'.

Change-Id: I48906f707decd9bd7d904ca6a85994b88390307d
2025-07-22 21:27:49 +02:00
Maxim Cournoyer
3a6d0e8eb1
gnu: Add xpm-pixbuf.
* gnu/packages/gtk.scm (xpm-pixbuf): New variable.

Change-Id: Ie50cad45f76285c756c570769d75a020158890c5
2025-07-22 15:26:45 +09:00
Maxim Cournoyer
ffa2d91cad
gnu: gtksourceview-2: Fix build with GCC 14.
* gnu/packages/gtk.scm (gtksourceview-2) [#:configure-flags]: Add
-Wno-error=incompatible-pointer-types to CFLAGS.
[#:phases]: Delete trailing #t. Use gexps and modernize.

Fixes: #1396
Change-Id: I2a5284e309bec4058683b84f3f9bc9936f44f961
2025-07-22 09:15:37 +09:00
Sharlatan Hellseher
071ce73040
gnu: goocanvas: Fix build with gcc@14.
* gnu/packages/gtk.scm (goocanvas) [arguments] <configure-flags>: Ignore
warning on "incompatible-pointer-types".

Change-Id: Iaf73e7bc701a68367528e9d7afc057f193153d4f
2025-07-20 23:52:30 +01:00
Cayetano Santos
d00b747235
gnu: girara: Update to 0.4.5.
* gnu/packages/gtk.scm (girara): Update to 0.4.5.
[source]: Update url.

Change-Id: Ia2b4acf44568180e2a7b1ecdfd8749ce7def3600
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-07-19 07:10:33 +08:00
Ludovic Courtès
157c0276a8
gnu: cairo: Ungraft.
* gnu/packages/gtk.scm (cairo): Update to 1.18.4.
[replacement]: Remove.
(cairo-1.18.4): Remove.

Change-Id: I44f2b05d813ace209ac49b463fb81699fbb3ba53
2025-07-18 20:17:34 +02:00
Janneke Nieuwenhuizen
e6d1cad44f
gnu: gtksourceview-3.24.11: Fix build with gcc-14.
* gnu/packages/gtk.scm (gtksourceview-3)[arguments]: Add #:configure-flags to
relax-gcc-14-strictness.

Change-Id: I160f107334cc9a5817227dd5513231933184a032
2025-07-18 20:17:24 +02:00
Janneke Nieuwenhuizen
c32ee518ec
gnu: pangox-compat: Fix build with gcc-14.
* gnu/packages/gtk.scm (pangox-compat)[arguments]: New field to relax gcc-14's
strictness.

Change-Id: I1f1c0ce20052b59a6d2e25490e3fcacf099f0757
2025-07-18 20:17:20 +02:00
Janneke Nieuwenhuizen
d606979ba3
gnu: gtk+-2: Fix build with gcc-14.
* gnu/packages/gtk.scm (gtk+-2)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.

Change-Id: If2433b1f905a9a01d31f439e77ee302840c92755
2025-07-18 20:17:16 +02:00
Efraim Flashner
aa23ca6be7
gnu: gtk: Fix building on riscv64-linux.
* gnu/packages/gtk.scm (gtk)[arguments]: When building for riscv64-linux
adjust the 'patch phase to skip some tests.

Change-Id: Ie5e590b042a96fee44c6fb0d0874175274c3e30a
2025-06-16 12:04:56 +03:00
Efraim Flashner
ce72ee3281
gnu: gtk: Adjust tests on powerpc64le-linux.
* gnu/packages/gtk.scm (gtk)[arguments]: Adjust the 'patch phase when
building for powerpc64le-linux to skip some tests.

Change-Id: Ie6a3f04adebdedcd0aa3492ec846a1a7e6941ff4
2025-06-12 15:45:46 +03:00
Maxim Cournoyer
6f14ee8ee1
gnu: Reduce the number of dependents on inkscape.
This reduces the number of dependents from close to 2000 packages to less than
100.  This is done by substituting gtk-doc for gtk-doc/stable in a few
packages: the latter depends on inkscape/pinned rather than inkscape.

* gnu/packages/display-managers.scm (lightdm)
* gnu/packages/freedesktop.scm (accountsservice)
(libqrtr-glib, libappindicator)
* gnu/packages/gnome.scm (gcr, upower, libzapojit, gnome-software)
* gnu/packages/gtk.scm (cairo-with-documentation, gtk, libdbusmenu)
* gnu/packages/ibus.scm (ibus-minimal)
* gnu/packages/mail.scm (gmime)
* gnu/packages/music.scm (libgpod)
* gnu/packages/package-management.scm (flatpak)
* gnu/packages/xfce.scm (xfce4-dev-tools)
[propagated-inputs]: Remove gtk-doc; add gtk-doc/stable.
2025-05-27 14:04:35 +09:00
Maxim Cournoyer
81e43f43d0
gnu: gtk: Update to 4.16.13.
* gnu/packages/gtk.scm (gtk): Update to 4.16.13.
[phases] {patch}: Disable the gsk scaling test and mask-half-pixel gsk compare
test variants.

Change-Id: I041a22ea60fd24f74c705716c1bd1e9a10e2acee
2025-04-11 13:32:01 +01:00
Remco van 't Veer
e124661486
gnu: cairo: Fix regression writing PDFs with fonts via graft.
Fix out of memory errors when writing PDFs with fonts embedded in
xournalpp and others.  See also:

  https://gitlab.freedesktop.org/cairo/cairo/-/issues/870

* gnu/packages/gtk.scm (cairo)[replacement]: New field pointing to cairo-1.18.4.
* gnu/packages/gtk.scm (cairo-1.18.4): Add package.

Change-Id: I6efa5a3acdf39fe78e558173f896f3a6abbc5c27
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-03-13 10:10:07 +09:00
Efraim Flashner
1c6441876f
gnu: gtk: Adjust skipped tests on aarch64-linux.
* gnu/packages/gtk.scm (gtk)[arguments]: When building for aarch64-linux
  adjust the 'patch phase to skip some additional tests.

Change-Id: I7ef2b51d35500ea4b3b0e47657ee32e0fa5cbbc2
2025-03-02 20:31:49 +01:00
宋文武
4838b7b0e9
gnu: gdk-pixbuf: Honor GUIX_GDK_PIXBUF_MODULE_FILES search path.
* gnu/packages/patches/gdk-pixbuf-honor-GUIX_GDK_PIXBUF_MODULE_FILES.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/gtk.scm (gdk-pixbuf)[source]: Add patch.
[native-search-paths]: Replace GDK_PIXBUF_MODULE_FILE with GUIX_GDK_PIXBUF_MODULE_FILES.

Change-Id: Ibcf6ebf33f5de2c889bc27a88d59a5f444b77906
Fixes: GDK_PIXBUF_MODULE_FILE conflicts on foreign distros
  <https://issues.guix.gnu.org/75523>
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-03-02 20:31:48 +01:00
Liliana Marie Prikler
5a361d46ba
gnu: harfbuzz: Build with meson.
* gnu/packages/gtk.scm (harfbuzz)[build-system]: Use meson-build-system.
[#:configure-flags]: Replace “--with-graphite2” with “-Dgraphite2=enabled”.
Remove other flags.
2025-03-02 20:31:47 +01:00
Liliana Marie Prikler
12e505dbf9
gnu: graphene: Update to 1.10.8.
* gnu/packages/gtk.scm (graphene): Update to 1.10.8.
2025-03-02 20:31:44 +01:00
Liliana Marie Prikler
f90c1c6613
gnu: webp-pixbuf-loader: Update to 0.2.7.
* gnu/packages/gtk.scm (webp-pixbuf-loader): Update to 0.2.7.
2025-03-02 20:31:43 +01:00
Liliana Marie Prikler
5a7dce55b7
gnu: gtksourceview-4: Update to 4.8.4.
* gnu/packages/gtk.scm (gtksourceview-4): Update to 4.8.4.
2025-03-02 20:31:41 +01:00
Liliana Marie Prikler
cc5255e535
gnu: cairomm: Update to 1.18.0.
* gnu/packages/gtk.scm (cairomm): Update to 1.18.0.
2025-03-02 20:31:41 +01:00
Liliana Marie Prikler
f65d0b3a1d
gnu: gdk-pixbuf: Build with other loaders enabled.
GTK+ 3 currently fails to build, as it requires the XPM loader be enabled.
See also <https://gitlab.gnome.org/GNOME/gtk/-/issues/7143>.

* gnu/packages/gtk.scm (gdk-pixbuf)[#:configure-flags]: Add “-Dothers=enabled”.
2025-03-02 20:31:39 +01:00
Navid Afkhami
f643c07ffe
gnu: gdk-pixbuf: Update to 2.42.12.
* gnu/packages/gtk.scm (gdk-pixbuf): Update to 2.42.12.

Change-Id: I312c353ccd2d8cb28485284c9e207ffc001f1b57
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-03-02 20:31:38 +01:00
Maxim Cournoyer
3144a3a6fb
gnu: libdbusmenu: Remove gtk+-2 input.
* gnu/packages/gtk.scm (libdbusmenu) [arguments]
<configure-flags>: Add '--disable-dumper'.
[inputs]: Remove gtk+-2.

Change-Id: Idd5b92e7f97f7885a75cb86af91eef5b53d5b45a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-03-02 20:31:36 +01:00
Liliana Marie Prikler
e289080871
gnu: cairo: Update to 1.18.2.
* gnu/packages/gtk.scm (cairo): Update to 1.18.2.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-03-02 20:31:33 +01:00
Liliana Marie Prikler
1e1b3dbe6e
gnu: gtk: Update to 4.16.1.
* gnu/packages/gtk.scm (gtk): Update to 4.16.1.
[arguments]<#:configure-flags>: Replace “-Dgtk_doc=…” with
“-Ddocumentation=true”.
<#:test-options>: Add “--no-suite=needs-udmabuf”.
<#:phases>: Adjust patches for failing tests.
2025-03-02 20:31:32 +01:00
Liliana Marie Prikler
3c551a83c0
gnu: gtk-doc: Update to 1.34.0.
* gnu/packages/gtk.scm (gtk-doc): Update to 1.34.0.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
11a2561120
gnu: gtk+: Update to 3.24.41.
* gnu/packages/gtk.scm (gtk+): Update to 3.24.41.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
437bee3b7e
gnu: pangomm: Update to 2.54.0.
* gnu/packages/gtk.scm (pangomm): Update to 2.54.0.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
09fd37ca96
gnu: gtkmm: Update to 4.14.0.
* gnu/packages/gtk.scm (gtkmm): Update to 4.14.0.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
2027e8c343
gnu: atkmm: Update to 2.36.3.
* gnu/packages/gtk.scm (atkmm): Update to 2.36.3.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
e2b731ff81
gnu: at-spi2-core: Update to 2.52.0.
* gnu/packages/gtk.scm (at-spi2-core): Update to 2.52.0.
2025-03-02 20:31:30 +01:00
Liliana Marie Prikler
feceda934f
gnu: pango: Update to 1.54.0.
* gnu/packages/gtk.scm (pango): Update to 1.54.0.
2025-03-02 20:31:29 +01:00
Liliana Marie Prikler
cd01dfd2f8
gnu: libpanel: Update to 1.7.0.
* gnu/packages/gtk.scm (libpanel): Update to 1.7.0.
2025-03-02 20:31:29 +01:00
Liliana Marie Prikler
fa931ff271
gnu: gtksourceview: Update to 5.12.1.
* gnu/packages/gtk.scm (gtksourceview): Update to 5.12.1.
2025-03-02 20:31:28 +01:00
Florian Pelz
2cb3df5c24
gnu: Add guile-cairo-next.
* gnu/packages/gtk.scm (guile-cairo-next): New variable.

Change-Id: I328afe58d46e60243e075edead12afc0d1c4a98a
2025-02-25 00:33:27 +01:00