summary refs log tree commit diff
path: root/gnu/packages/gtk.scm
AgeCommit message (Collapse)Author
2021-11-20gnu: gtk: Guard against timeouts in the test suite.Maxim Cournoyer
This change piggy backs on the improvements to the meson-build-system made in dfcc96d8f48716ae5aefb383c58b153d5bcb407c; it's motivated by timeouts that occurred in the GTK test suite while building on a heavily loaded machine. * gnu/packages/gtk.scm (gtk)[parallel-tests]: New argument. [test-options]: New argument, which now includes --suite=gtk and --no-suite=gsk-compare-broadway, to match what upstream uses. [phases]{check}: Remove override.
2021-11-17gnu: graphene: Depend on a fixed version of 'git-minimal'.Ludovic Courtès
* gnu/packages/version-control.scm (git-minimal/fixed): New variable. * gnu/packages/gtk.scm (graphene)[native-inputs]: Use it instead of GIT-MINIMAL.
2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès
2021-11-11gnu: gtkmm: Update to 4.4.0.Maxim Cournoyer
* gnu/packages/gtk.scm (gtkmm): Update to 4.4.0. Delete trailing #t.
2021-11-11gnu: gtkmm-3: Update to 3.24.5.Maxim Cournoyer
* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.5. [arguments]: Use meson-0.59.
2021-11-11gnu: gdk-pixbuf: Remove obsolete jasper support.Maxim Cournoyer
The newer meson 0.60 failed the build because the jasper flag no longer exists. * gnu/packages/gtk.scm (gdk-pixbuf)[configure-flags]<jasper>: Remove configure flag. [phases]{patch-docbook}: Remove condition and TODO comment. [inputs]: Remove jasper.
2021-11-11gnu: gtk: Replace gdk-pixbuf+svg by librsvg.Maxim Cournoyer
With the addition of a profile hook for computing the gdk-pixbuf loaders cache file, there is no longer a need for gdk-pixbuf+svg, and librsvg can propagate gdk-pixbuf without fear, so replace the former for the latter. The replacement was automated with the following command: $ git grep -l ',gdk-pixbuf+svg)' \ | xargs sed 's/(".*" ,gdk-pixbuf+svg)/("librsvg" ,librsvg)/' -i * gnu/packages/gtk.scm (gdk-pixbuf+svg): Delete package. (gtk+-2)[propagated-inputs]: Replace gdk-pixbuf+svg with librsvg. (gtk+)[propagated-inputs]: Likewise. * gnu/packages/gnome.scm (gdk-pixbuf+svg): Add deprecated package.
2021-11-11gnu: gdk-pixbuf: Add a search path for the loaders cache file.Maxim Cournoyer
Fixes <https://issues.guix.gnu.org/50957>. The previous commit added a profile hook to compute a gdk-pixbuf loaders cache file. This change enables gdk-pixbuf to make use of it. * gnu/packages/gtk.scm (gdk-pixbuf)[native-search-paths]: Add a search path specification to set the GDK_PIXBUF_MODULE_FILE environment variable.
2021-11-11gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.Maxim Cournoyer
* gnu/packages/gtk.scm (gtk+)[arguments]: Import the (guix build glib-or-gtk-build-system) module and put it in scope. [phases]{generate-gdk-pixbuf-loaders-cache-file}: New phase. (gtk): Likewise.
2021-11-11gnu: libthai: Make datrie a normal native-input.Maxim Cournoyer
* gnu/packages/gtk.scm (libthai)[native-input]: Remove conditional on the datrie input.
2021-11-11gnu: pango: Update to 1.48.10.Maxim Cournoyer
* gnu/packages/gtk.scm (pango): Update to 1.48.10. Remove trailing #t. [inputs]: Remove conditional on the bash-minimal input.
2021-11-11gnu: libcloudproviders-minimal: Introduce minimal variant.Maxim Cournoyer
* gnu/packages/gnome.scm (libcloudproviders-minimal): New minimal variant that doesn't require Inkscape to be built (through gtk-doc). [source]: Adjust URI. [outputs]: Remove field. [configure-flags]: Disable introspection, docs and vala bindings. [phases]{move-doc}: Move phase to ... (libcloudproviders)[phases]: ... here. Rewrite in terms of libcloudproviders-minimal. The "doc" output is moved here. [configure-flags]: Clear inherited flags and enable doc. * gnu/packages/gtk.scm (gtk+)[inputs]{libcloudproviders}: Use the minimal variant to prevent a cycle with Inkscape.
2021-11-11gnu: colord-minimal: Introduce minimal variant.Maxim Cournoyer
* gnu/packages/gnome.scm (colord-minimal): New minimal variant that doesn't require Inkscape to be built (through gtk-doc). Remove trailing #t. [configure-flags]: Disable docs and manpage generation. Sort order. (colord): Rewrite in terms of colord-minimal. [configure-flags]: Enable manpages and bash completion. [phases]{fix-bash-completion-dir}: New phase. [native-inputs]: Add bash_completion, docbook-xsl-ns and libxml2. * gnu/packages/gtk.scm (gtk+)[inputs]{colord}: Use the colord-minimal variant to prevent a cycle with Inkscape.
2021-11-11gnu: json-glib-minimal: Introduce minimal variant.Maxim Cournoyer
* gnu/packages/gnome.scm (json-glib-minimal): New variable. [source]: Adjust URI. [outputs]: Move doc output to... (json-glib)[outputs]: ... here. Rewrite in terms of json-glib-minimal. * gnu/packages/gtk.scm (gtk+): Use json-glib-minimal to break a cycle with Inkscape.
2021-11-11gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape.Maxim Cournoyer
* gnu/packages/gtk.scm (at-spi2-atk) [propagated-inputs]: Replace at-spi2-core with at-spi2-core-minimal.
2021-11-11gnu: at-spi2-core: Reverse inheritance relationship with minimal variant.Maxim Cournoyer
Since the minimal variant is here to stay, this should make things easier to maintain. * gnu/packages/gtk.scm (at-spi2-core-minimal): Rewrite after removing inheritance, making it the base minimal package, with no documentation-related inputs or build phases. (at-spi2-core): Rewrite definition, inherit from the above minimal variant, adding the documentation-related inputs and build phases.
2021-11-11gnu: gtk+-2: Fix ‘builder’ test.Thiago Jung Bauermann
The signal callbacks in the ‘builder’ testcase have wrong prototypes. This causes it to fail the “/Builder/Signal Autoconnect” test on powerpc64le-linux. Solve the problem by backporting the upstream fix that was applied to GTK+ 3.0. * gnu/packages/patches/gtk2-fix-builder-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gtk.scm (gtk+-2): Use it. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: gdk-pixbuf+svg: Fix typo in comment.Maxim Cournoyer
* gnu/packages/gtk.scm (gdk-pixbuf+svg): Fix typo in comment.
2021-11-11gnu: gdk-pixbuf: Add a debug output.Maxim Cournoyer
* gnu/packages/gtk.scm (gdk-pixbuf)[outputs]{debug}: New output. [phases]: Strip trailing #t.
2021-11-11gnu: gtk+: Add a debug output.Maxim Cournoyer
* gnu/packages/gtk.scm (gtk+-2)[outputs]{debug}: New output.
2021-11-08gnu: packages: Remove last year's deprecations.Tobias Geerinckx-Rice
* gnu/packages/admin.scm (guile3.0-shepherd): Remove variable. * gnu/packages/benchmark.scm (imb-openmpi): Likewise. * gnu/packages/boost.scm (boost-with-python3): Likewise. * gnu/packages/pep.scm (python-pep-adapter)[inputs]: Adjust accordingly. * gnu/packages/cpp.scm (nlohmann-json-cpp): Likewise. * gnu/packages/games.scm (openrct2)[inputs]: Adjust accordingly. * gnu/packages/cups.scm (escpr): Likewise. * gnu/packages/django.scm (python-django-jsonfield): Likewise. * gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme) (emacs-modus-vivendi-theme): Likewise. * gnu/packages/engineering.scm (kicad-i18l): Likewise. * gnu/packages/enlightenment.scm (enlightenment-wayland): Likewise. * gnu/packages/firmware.scm (opensbi-qemu-virt, opensbi-qemu-sifive-u): Likewise. * gnu/packages/fonts.scm (font-gnu-freefont-ttf, font-open-dyslexic): Likewise. * gnu/packages/game-development.scm (guile3.0-chickadee) (python-sge-pygame): Likewise. * gnu/packages/games.scm (retux)[inputs]: Adjust accordingly. * gnu/packages/gnome-xyz.scm (numix-theme): Likewise. * gnu/packages/gnupg.scm (guile3.0-gcrypt): Likewise. * gnu/packages/gstreamer.scm (gst-transcoder): Likewise. * gnu/packages/gtk.scm (guile3.0-cairo, guile3.0-present, guile3.0-rsvg): Likewise. * gnu/packages/guile-xyz.scm (guile3.0-colorized, guile3.0-commonmark) (guile3.0-config, guile3.0-email, guile3.0-fibers, guile3.0-gi) (guile3.0-hall, guile3.0-hashing, guile3.0-haunt, guile3.0-ics) (guile3.0-irregex, guile3.0-lib, guile3.0-mcron, guile3.0-minikanren) (guile3.0-ncurses, guile3.0-ncurses/gpm, guile3.0-newt, guile3.0-parted) (guile3.0-pfds, guile3.0-picture-language, guile3.0-semver) (guile3.0-simple-zmq, guile3.0-squee, guile3.0-syntax-highlight) (guile3.0-websocket, guile3.0-wisp, guile3.0-xapian): Likewise. * gnu/packages/guile.scm (define-deprecated-guile3.0-package) (guile3.0-json, guile3.0-gdbm-ffi, guile3.0-sqlite3) (guile3.0-bytestructures, guile3.0-git): Likewise. * gnu/packages/haskell-apps.scm (ghc-stylish-haskell): Likewise. * gnu/packages/linux.scm (linux-libre-arm-veyron): Likewise. * gnu/packages/mail.scm (guile3.0-mailutils): Likewise. * gnu/packages/monitoring.scm (python2-graphite-web): Likewise. * gnu/packages/package-management.scm (guile3.0-guix): Likewise. * gnu/packages/package-management.scm (python-conda): Likewise. * gnu/packages/phabricator.scm (libphutil): Likewise. * gnu/packages/plotutils.scm (guile3.0-charting): Likewise. * gnu/packages/python-xyz.scm (python2-smmap2, python-glances) (python-smmap2): Likewise. * gnu/packages/shells.scm (oil-shell): Likewise. * gnu/packages/sqlite.scm (sqlite-with-column-metadata): Likewise. * gnu/packages/ssh.scm (guile3.0-ssh): Likewise. * gnu/packages/terminals.scm (et): Likewise. * gnu/packages/tls.scm (guile3.0-gnutls): Likewise. * gnu/packages/vlang.scm (v): Likewise. * gnu/packages/vpn.scm (wireguard): Likewise. * gnu/packages/web-browsers.scm (next, sbcl-next): Likewise. * gnu/packages/xorg.scm (transset-df): Likewise.
2021-10-21gnu: gtksheet: Fix build.Ricardo Wurmus
* gnu/packages/gtk.scm (gtksheet)[arguments]: Pass -fcommon option to GCC; rename phase 'rename-type to 'patch-for-compatibility and update a reference to a renamed macro.
2021-10-18Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe
2021-10-15gnu: font-abattis-cantarell: Update variable name.Tobias Geerinckx-Rice
* gnu/packages/fonts.scm (font-cantarell): Rename to… (font-abattis-cantarell): …this. * gnu/packages/gnome.scm (gnome)[propagated-inputs]: Adjust accordingly. * gnu/packages/mate.scm (mate)[inputs]: Likewise. * gnu/services/xorg.scm (<gdm-configuration>): Likewise.
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-10-02gnu: harfbuzz: Add 3.0.Marius Bakke
* gnu/packages/gtk.scm (harfbuzz-3.0): New public variable.
2021-10-02gnu: graphene: Update to 1.10.6.Mathieu Othacehe
* gnu/packages/gtk.scm (graphene): Update to 1.10.6.
2021-10-02gnu: Update gtkmm to 4.2.0, add gtkmm@3, and adjust gtkmm@2.Raghav Gururajan
* gnu/packages/gtk.scm (gtkmm)[version]: Update to 4.2.0. [arguments](meson): New argument. [native-inputs]: Add glib:bin. [propagated-inputs]: Replace gtk+ with gtk. (gtkmm-3): New variable. (gtkmm-2)[arguments]: Strip certain inherited arguments. * gnu/packages/animation.scm (synfigstudio)[inputs]: Switch to gtkmm-3. * gnu/packages/astronomy.scm (stackistry)[inputs]: Ditto. * gnu/packages/audio.scm (guitarix)[inputs]: Ditto. * gnu/packages/disk.scm (parted)[inputs]: Ditto. * gnu/packages/gnome.scm (gnome-system-monitor)[inputs]: Ditto. (workrave)[inputs]: Ditto. (gnote)[inputs]: Ditto. * gnu/packages/gobby.scm (gobby)[inputs]: Ditto. * gnu/packages/inkscape.scm (inkscape)[inputs]: Ditto. * gnu/packages/mail.scm (astroid)[inputs]: Ditto. * gnu/packages/mate.scm (mate-system-monitor)[inputs]: Ditto. * gnu/packages/music.scm (tascam-gtk)[inputs]: Ditto. * gnu/packages/photo.scm (rawtherapee)[inputs]: Ditto. * gnu/packages/pulseaudio.scm (pavucontrol)[inputs]: Ditto. (paprefs)[inputs]: Ditto. * gnu/packages/text-editors.scm (jucipp)[inputs]: Ditto. * gnu/packages/wm.scm (waybar)[inputs]: Ditto.
2021-10-02gnu: Add gtk.Raghav Gururajan
* gnu/packages/gtk.scm (gtk): New variable. * gnu/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2021-09-20gnu: at-spi2-atk: Don't compile tests when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-atk)[arguments]<#:configure-flags>: Set tests=false when cross-compiling.
2021-09-20gnu: pango: Add bash-minimal input when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (pango)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: gdk-pixbuf: Add bash-minimal input when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: gdk-pixbuf: Find docbook when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Look for docbook in 'native-inputs' instead of 'inputs' when cross-compiling.
2021-09-20gnu: at-spi2-core: Add missing "bash-minimal" input.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-core)[inputs]: Add "bash-minimal" when cross-compiling.
2021-09-20gnu: at-spi2-core: Find docbook when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:phases>{patch-docbook-sgml}: Look up "docbook-sxml" in 'native-inputs' instead of 'inputs' when cross-compiling.
2021-09-20gnu: at-spi2-core: Don't cross-compile documentation.Maxime Devos
* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:configure-flags>: Set docs=false when cross-compiling. (at-spi2-core)[arguments]<#:phases>{move-documentation}: Remove when cross-compiling.
2021-09-20gnu: libthai: Add datrie as native-input when cross-compiling.Maxime Devos
This allows the cross-build to succeed. * gnu/packages/gnome.scm (libthai)[native-inputs]: Add "datrie" when cross-compiling.
2021-09-20gnu: graphene: Don't build introspection data when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set introspection=false when cross-compiling.
2021-09-20gnu: atk: Disable introspection when cross-compiling.Maxime Devos
* gnu/packages/gtk.scm (atk)[arguments]<#:configure-flags>: Set -Dintrospection=false when cross-compiling.
2021-09-20gnu: dbus-cairo: Add missing bash-minimal input.Maxime Devos
If absent, this causes the 'glib-or-gtk-wrap' phase to fail. * gnu/packages/glib.scm (cairo)[inputs]: Add "bash-minimal", but only when cross-compiling to avoid a world-rebuild.
2021-09-19gnu: gtk+: Fix testsuite failure on non-x86_64 platforms.Thiago Jung Bauermann
On non-x86_64 platforms, gtk+ is linked with a gdk-pixbuf version that doesn’t support SVG. This causes the ‘icontheme’ test to fail because it tries to fetch SVG icons in some of the tests. Therefore, we need to disable the test when SVG support isn’t available. * gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Use the ‘target-x86-64?’ convenience function. [arguments]<#:phases>{disable-failing-tests}: Disable ‘icontheme’ test on non-x86_64 platforms. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-08-23gnu: pango: Update to 1.48.9.Efraim Flashner
* gnu/packages/gtk.scm (pango): Update to 1.48.9.
2021-08-19gnu: gtk-doc: Update to 1.33.2.Mathieu Othacehe
* gnu/packages/patches/gtk-doc-respect-xml-catalog.patch: New file. * gnu/local.mk (DIST_PATCH_DATA): Add it. * gnu/packages/gtk.scm (gtk-doc): Update to 1.33.2. [source]: Add gtk-doc-respect-xml-catalog.patch patch. [build-system]: Switch to meson. [arguments]: Remove fix-docbook phase. Remove configure flags that are no longer needed. [outputs]: Remove the help output since the help-dir option no longer exists.
2021-08-19gnu: gtk+: Update to 3.24.27.Mathieu Othacehe
* gnu/packages/gtk.scm (gtk+): Update to 3.24.27.
2021-08-01Merge branch 'master' into core-updates-frozenMarius Bakke
2021-08-01gnu: girara: Update to 0.3.6.Marius Bakke
* gnu/packages/gtk.scm (girara): Update to 0.3.6.
2021-07-25gnu: gs-font: Rename to 'font-ghostscript'.Maxime Devos
According to (guix)Fonts, font package names must be prefixed with 'font-'. Adjust 'gs-fonts' to follow this convention. * gnu/packages/fontutils.scm (gs-fonts)[name]: Set to "font-ghostscript". (gs-fonts): Rename variable to 'font-ghostscript'. (gs-fonts): Add deprecated package. * gnu/packages/ghostscript.scm (ghostscript)[arguments]<#:configure-flags>: Replace 'gs-fonts' with 'font-ghostscript'. (ghostscript)[inputs]: Likewise. * gnu/packages/fontutils.scm (fontconfig)[inputs]: Likewise. * gnu/packages/gtk.scm (pango-1.42)[arguments]{disable-layout-test}: Likewise. * gnu/packages/imagemagick.scm (graphicsmagick)[arguments]{configure-flags}: Likewise. (graphicsmagick)[inputs]: Likewise. * gnu/packages/mp3.scm (ripperx)[propagated-inputs]: Likewise. * doc/guix.texi (X11 Fonts): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-23gnu: pango: Update to 1.48.7.Marius Bakke
* gnu/packages/gtk.scm (pango): Update to 1.48.7.
2021-07-23gnu: harfbuzz: Update to 2.8.2.Marius Bakke
* gnu/packages/gtk.scm (harfbuzz): Update to 2.8.2.
2021-07-18Merge branch 'master' into core-updatesLudovic Courtès