Commit graph

984 commits

Author SHA1 Message Date
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
Florian Pelz
db172d1f64
gnu: guile-cairo: Remove expat from inputs.
expat is not needed by guile-cairo nor guile2.2-cairo.

* gnu/packages/gtk.scm (guile-cairo)[inputs]: Remove expat.

Change-Id: Ie8f2c35c52725326cc8f103c45125e4378d29793
2025-02-25 00:32:57 +01:00
宋文武
3104c70fae
gnu: perl-gtk2: Fix tests.
This fixes <https://issues.guix.gnu.org/75471>.

* gnu/packages/gtk.scm (perl-gtk2)[inputs]: Add gdk-pixbuf.
[arguments]: Set GDK_PIXBUF_MODULE_FILE in 'fix-tests phase.

Change-Id: Ic5013d66d5b5eefa59e156f0d48dfc113237de14
2025-01-10 11:36:51 +08:00
John Kehayias
4e13b59c98
gnu: gtk-layer-shell: Update to 0.9.0.
* gnu/packages/gtk.scm (gtk-layer-shell): Update to 0.9.0.

Change-Id: I4e519f95f8afc883d0374c13048d2c13ec6c787f
2024-11-05 11:56:41 -05:00
Roman Scherer
8e5c8303a4
gnu: iso-codes: Rename to iso-codes/pinned.
* gnu/packages/iso-codes.scm (iso-codes): Rename to…
(iso-codes/pinned): … this.
* doc/build.scm,
gnu/installer.scm,
gnu/packages/fcitx.scm,
gnu/packages/fcitx5.scm,
gnu/packages/gnome.scm,
gnu/packages/gstreamer.scm,
gnu/packages/gtk.scm,
gnu/packages/ibus.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/kde-plasma.scm,
gnu/packages/mate.scm,
gnu/packages/photo.scm,
gnu/packages/video.scm: Adjust accordingly.

Change-Id: Ia98fee15a27009583fee822cf411512727b1aa27
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-09-28 12:55:54 +02:00
Sergey Trofimov
fed44710b6
gnu: gromit-mpx: Update to 1.7.0.
* gnu/packages/gtk.scm (gromit-mpx): Update to 1.7.0.
[inputs, native-inputs]: Add new dependencies.

Signed-off-by: jgart <jgart@dismail.de>
2024-09-26 01:17:20 -05:00
Efraim Flashner
25dec7720e
gnu: gdk-pixbuf: Fix cross-compiling.
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: When cross-compiling
adjust the configure flags to not build the documentation.

Change-Id: I025658468ffaf9518b1debf6165424a587f2c694
2024-09-18 14:55:17 +03:00
Roman Scherer
54ec97bfda
gnu: gtk: Disable failing tests on aarch64.
* gnu/packages/gtk.scm (gtk): Disable failing tests on aarch64.

Change-Id: Ia950b25fa2141daff0a01a69d9dfb551e26116ea
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-09-05 21:51:30 +02:00
Liliana Marie Prikler
f2c8b4c07e
gnu: gtk: Update to 4.14.5.
Cherry picked from gnome-team 7dece4d20617d11284f280f8b7299c24a2305493.

A test failed after merging core-updates into master, though it passed
previously on both branches.  It is unclear what has changed to make it fail.
The test is "4941/5465 gtk:gtk / notify" and fails with

stderr:
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen

(test program exited with status code -5)

This newer version builds and passes all tests.

* gnu/packages/gtk.scm (gtk): Update to 4.14.5.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Change-Id: I6150b2df469358eb0e328f077a9c09a4c2259703
2024-08-31 17:29:12 -04:00
Nikola
20abe2a27f
gnu: at-spi2-core: Remove unnecessary test timeout.
Guix provides its own superior-quality time-outs.

* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove the
‘timeout’ argument from the test invocation.

Change-Id: Ic324c5992d48cafa4b6b9856b381d461083d8de2
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2024-08-31 10:45:47 +02:00
Efraim Flashner
0bae9e17c6
gnu: at-spi2-core: Honor the #:tests? flag.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Adjust the 'check
phase to honor the #:tests? flag.  Skip the tests when building for
powerpc-linux.

Change-Id: Ia1fc275ebca5d69b851b566ae7afb47fdad8f066
2024-08-31 10:45:01 +02:00
Maxim Cournoyer
6f057dfd8f
gnu: cairo: Remove labels and use gexps.
* gnu/packages/gtk.scm (cairo)
[arguments] <configure-flags>: Use gexps.
[native-inputs, inputs]: Remove labels.

Change-Id: Ifc4d9435bc1e203ee4427452ad26dedbac2de9fc
2024-08-31 10:44:59 +02:00