Commit graph

766 commits

Author SHA1 Message Date
Maxim Cournoyer 3f814d1878
gnu: gtk: Use new style inputs.
* gnu/packages/gtk.scm (gtk)[native-inputs]: Use new style.
[propagated-inputs]: Likewise.
2022-07-12 23:23:26 -04:00
Maxim Cournoyer 9819aac1d8
gnu: gtk: Update to 4.6.6.
* gnu/packages/gtk.scm (gtk): Update to 4.6.6.
[phases]{patch}: Disable 'unaligned-offscreen' test.
2022-07-12 23:23:26 -04:00
Liliana Marie Prikler 15b4579a5a
gnu: Add pango-1.90.
* gnu/packages/gtk.scm (pango-1.90): New variable.
2022-07-09 10:41:41 +02:00
Liliana Marie Prikler bcf6730e68
gnu: Add harfbuzz-4.
* gnu/packages/gtk.scm (harfbuzz-4): New variable.
2022-07-09 10:41:41 +02:00
Liliana Marie Prikler 3af9282853
gnu: harfbuzz-3: Update to 3.4.0.
* gnu/packages/gtk.scm (harfbuzz-3.0): Rename to...
(harfbuzz-3): ... this.  Update to 3.4.0.
* gnu/packages/chromium.scm (ungoogled-chromium): Adjust accordingly.
2022-07-09 10:41:40 +02:00
Liliana Marie Prikler 48ff4bfcd7
gnu: gdk-pixbuf: Add removal hint for libx11.
* gnu/packages/gtk.scm (gdk-pixbuf)[propagated-inputs]: Add hint to remove
libx11 on core-updates.
2022-07-02 13:49:42 +02:00
Tomasz Jeneralczyk b02225b614
gnu: Add gdk-pixbuf-xlib.
This was part of gtk-pixbuf before but was split into its own library
in version 2.42.0: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/tags/2.42.0

* gnu/packages/gtk.scm (gtk-pixbuf-xlib): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-07-02 13:49:35 +02:00
Tobias Geerinckx-Rice e31ab8c248
gnu: cairomm: Remove input labels.
* gnu/packages/gtk.scm (cairomm)[native-inputs, inputs]:
Remove input labels.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 525f1013d1
gnu: cairomm: Update to 1.16.1.
* gnu/packages/gtk.scm (cairomm): Update to 1.16.1.
[arguments]: Don't explicitly return #t from phases.
2022-06-05 02:00:00 +02:00
Tobias Geerinckx-Rice 48e66b01d6
gnu: Add iso-codes variant for use within Guix.
* gnu/packages/iso-codes.scm (iso-codes):
Replace with hidden-package that inherits…
(iso-codes/official): …this ‘new’ variable with its previous value.
* gnu/packages/gtk.scm (gtk+)[inputs]:
Use iso-codes/official to prevent mass rebuilds.
2022-05-29 02:00:00 +02:00
Maxim Cournoyer 08c19564c4
gnu: libdbusmenu: Update to 16.04.0-496.
* gnu/packages/gtk.scm (libdbusmenu): Update to 16.04.0-496.
[source]: Fetch using Breezy.
[arguments]: Use gexps.
[phases]: Delete trailing #t.
{remove-deprecated-gnome-common-macros}: New phase.
{patch-paths}: Likewise.
[inputs]: Use new style.
[native-inputs]: Likewise. Replace gnome-doc-utils with gnome-common.  Replace python-2 with
python-wrapper.  Add autoconf, automake, libtool, libxslt and which.
2022-05-31 14:54:08 -04:00
Maxim Cournoyer 0e406da6a0
gnu: Remove python2-pycairo.
* gnu/packages/gtk.scm (python2-pycairo): Delete variable.
2022-05-31 14:53:46 -04:00
Maxim Cournoyer 1c09ed3721
gnu: Remove python2-pygtk.
* gnu/packages/gtk.scm (python2-pygtk): Delete variable.
2022-05-31 14:53:45 -04:00
Benjamin Slade 5ae78c523a
gnu: yad: Update to 12.0.
* gnu/packages/gtk.scm (yad): Update to 12.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-27 23:10:03 +02:00
Zhu Zihao 095c609dfd
gnu: gtkmm: Update to 4.6.1.
* gnu/packages/gtk.scm (gtkmm): Update to 4.6.1.
[propagated-inputs]: Remove atkmm because it's no longer needed.
* gnu/packages/gtk.scm (pangomm): Update to 2.50.0.
[propagated-inputs]: Replace 'pango' with 'pango-next'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-04 22:58:02 +02:00
Zhu Zihao ef3cae59a2
gnu: gtk: Update to 4.6.1.
* gnu/local.mk (dist_patch_DATA): Remove gtk-introspection-test.patch.
* gnu/packages/patches/gtk-introspection-test.patch: Remove.
* gnu/packages/gtk.scm (gtk): Update to 4.6.1.
[source]: Remove stale patch.
[arguments]<phases>: Add 'patch-rst2man' phase, correct the binary name of
rst2man to 'rst2man.py'
[inputs]: Add libjpeg-turbo, libpng, libtiff.
[native-inputs]: Add python-docutils.
[propagated-inputs]: Use pango-next.
* gnu/packages/fcitx5.scm (fcitx5-gtk)[arguments]: Disable GTK4 build.
<configure-flags>: Add "-DENABLE_GTK_IM_MODULE=OFF".
<phases>: In phase "patch-install-prefix", Remove GTK4 code.
[inputs]: Remove package gtk.
[outputs]: Remove output "gtk4".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-04 22:58:02 +02:00
Zhu Zihao 4df7fe14ff
gnu: pango 1.50: Add version 1.50.4.
* gnu/packages/gtk.scm(pango-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-04 22:58:02 +02:00
Zhu Zihao b3b9b68040
gnu: Add webp-pixbuf-loader.
* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-11 23:12:48 +01:00
Lars-Dominik Braun 57d0b1afb2
gnu: Add gromit-mpx.
* gnu/packages/gtk.scm (gromit-mpx): New variable.
2022-02-24 13:53:39 +01:00
Efraim Flashner 1fd74a7e5a
gnu: girara: Update to 0.3.7.
* gnu/packages/gtk.scm (girara): Update to 0.3.7.
[native-inputs]: Replace check-0.14 with check.
2022-02-19 19:09:20 +02:00
Maxim Cournoyer 5d231df3cc
gnu: gtkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer b78f0cbff4
gnu: gtk: Update to 4.4.1.
* gnu/packages/patches/gtk-introspection-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gtk.scm (gtk): Update to 4.4.1.
[origin]: Apply new patch.
[phases]{pre-check}: Set TZDIR.
[native-inputs]: Add graphene, python-pygobject and tzdata.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 5c3d2db4fd
gnu: pangomm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (pangomm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer e25772628d
gnu: atkmm-2.28: Do not propagate two variants of glibmm.
* gnu/packages/gtk.scm (atkmm-2.28)[propagated-inputs]: Replace rather than
append glibmm-2.64.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 9e0dfe61e9
gnu: atkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (atkmm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 771550b280
gnu: cairo: Use bash-minimal unconditionally.
* gnu/packages/gtk.scm (cairo)[inputs]: Use bash-minimal unconditionally.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer 41ec0573b8
gnu: Remove meson-0.59 workarounds.
Mostly automated with the following command:

$ grep --include='*.scm' '#:meson ,meson-0.59' -rl \
    | xargs sed -z 's/#:meson[^\n]*\s*//' -i

* gnu/packages/freedesktop.scm (malcontent)
(accountsservice): Delete #:meson argument.
* gnu/packages/games.scm (gnome-2048): Likewise.
* gnu/packages/geo.scm (gnome-maps): Likewise.
* gnu/packages/gnome.scm (gnome-photos, gnome-music)
(gnome-initial-setup, gnome-user-share, gnome-characters)
(gnome-disk-utility, gnome-font-viewer, evince, glade3)
(gnome-mines, gnome-sudoku, gnome-settings-daemon, devhelp)
(totem, eog, gvfs, simple-scan, epiphany, gnome-session, gedit)
(network-manager-applet, gnome-control-center, gnome-shell, nautilus)
(gnome-default-applications, gnome-weather, gnome-tweaks, cheese, gthumb)
(gitg, polari, gnome-boxes, gtranslator): Likewise.
* gnu/packages/gtk.scm: (gtkmm-3): Likewise.
* gnu/packages/pdf.scm (zathura): Likewise.
* gnu/packages/photo.scm (entangle): Likewise.
* gnu/packages/video.scm (pitivi): Likewise.
* gnu/packages/virtualization.scm (libvirt-glib): Likewise.
2022-01-10 11:44:29 -05:00
Jaft 21d1bffb61
gnu: Add pnmixer.
* gnu/packages/gtk.scm (pnmixer): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-12-17 09:05:02 +01:00
Leo Famulari 94836b2156
gnu: python2-pygtk2: Temporarily revert to the old style of inputs.
This fixes the build of this package.

Reported in #guix by jpoiret, ss2, and tschilptschilp23.

* gnu/packages/gtk.scm (python2-pygtk)[propagated-inputs]: Restore the label
expected in the 'fix-codegen' build phase.
2021-12-13 19:15:23 -05: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
Efraim Flashner c89940a43a
gnu: Use librsvg-bootstrap.
* gnu/packages/emacs.scm (emacs)[inputs]: Use librsvg-bootstrap.
* gnu/pacakges/gtk.scm (gtk+-2, gtk+)[propagated-inputs]: Same.
2021-12-12 15:19:00 +02:00
Ludovic Courtès dcf308a8bf
gnu: gtk+: Simplify inputs.
Obtained by running:

  guix style --input-simplification=always gtk+ gtk+@2

* gnu/packages/gtk.scm (gtk+-2, gtk+): Simplify inputs.
2021-12-05 23:24:48 +01:00
Ludovic Courtès 597119937d
gnu: gtk+@2: Use 'librsvg-for-system'.
* gnu/packages/gtk.scm (gtk+-2)[propagated-inputs]: Use
'librsvg-for-system' unconditionally.
2021-12-05 23:15:24 +01:00
Ludovic Courtès 2561f2720f
gnu: gtk+: Use 'librsvg-for-system'.
This brings back SVG support on non-x86_64 platforms.

* gnu/packages/gtk.scm (gtk+)[inputs]: Use 'librsvg-for-system'
unconditionally.
[arguments]: In 'disable-failing-tests' phase, remove conditional
substitutions aimed for non-x86_64 targets lacking librsvg support.
* gnu/packages/gnome.scm (libhandy)[arguments]: Likewise, remove
'skip-test-that-requires-svg' phase.
2021-12-05 22:42:26 +01:00
Ludovic Courtès 689d141cd8
gnu: Remove librsvg@2.50 from the Xfce dependency graph.
This allows us to build Xfce on non-x86_64 platforms.

* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Use
'librsvg-for-system' instead of 'librsvg'.
* gnu/packages/gtk.scm (guile-rsvg)[inputs]: Likewise.
* gnu/packages/xfce.scm (xfce4-xkb-plugin)[inputs]: Likewise.
2021-12-02 14:59:57 +01:00
Ludovic Courtès 96d3c3eee8
Revert "gnu: gtk+: Skip test that requires SVG support on non-x86_64."
This reverts commit fa35a5f649, which is
redundant with 8a8e491258.
2021-11-26 10:53:24 +01:00
Ludovic Courtès fa35a5f649
gnu: gtk+: Skip test that requires SVG support on non-x86_64.
* gnu/packages/gtk.scm (gtk+)[arguments]: In 'disable-failing-tests',
skip 'tree-relationships' when not 'target-x86-64?'.
2021-11-25 23:15:38 +01:00
Maxim Cournoyer 8a8e491258
gnu: gtk+: Conditionally disable the tree-relationships test.
* gnu/packages/gtk.scm (gtk+)[phases] {disable-failing-tests}: Disable the
tree-relationships test on non-x86_64 targets.
2021-11-25 14:01:04 -05:00
Maxim Cournoyer 76df1ad3df
gnu: gtk: Guard against timeouts in the test suite.
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-20 08:57:02 -05:00
Ludovic Courtès 669d150f48
gnu: graphene: Depend on a fixed version of 'git-minimal'.
* 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-17 23:59:09 +01:00
Ludovic Courtès 3a317f7476
Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
Maxim Cournoyer bc4f219ba4
gnu: gtkmm: Update to 4.4.0.
* gnu/packages/gtk.scm (gtkmm): Update to 4.4.0.  Delete trailing #t.
2021-11-11 12:18:26 -05:00
Maxim Cournoyer 7137befc43
gnu: gtkmm-3: Update to 3.24.5.
* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.5.
[arguments]: Use meson-0.59.
2021-11-11 12:18:26 -05:00
Maxim Cournoyer 86528cab04
gnu: gdk-pixbuf: Remove obsolete jasper support.
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-11 12:18:23 -05:00
Maxim Cournoyer feab09f72a
gnu: gtk: Replace gdk-pixbuf+svg by librsvg.
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-11 12:18:20 -05:00
Maxim Cournoyer 831c08d8f2
gnu: gdk-pixbuf: Add a search path for the loaders cache file.
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-11 12:18:19 -05:00
Maxim Cournoyer 7541598fe2
gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
* 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-11 12:18:19 -05:00
Maxim Cournoyer 6d08d40cfa
gnu: libthai: Make datrie a normal native-input.
* gnu/packages/gtk.scm (libthai)[native-input]: Remove conditional on the
datrie input.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer b071402d35
gnu: pango: Update to 1.48.10.
* gnu/packages/gtk.scm (pango): Update to 1.48.10.  Remove trailing #t.
[inputs]: Remove conditional on the bash-minimal input.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer 0195d4b1c3
gnu: libcloudproviders-minimal: Introduce minimal variant.
* 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-11 12:18:14 -05:00