* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-04-05 16:54 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-04-05 16:54 UTC (permalink / raw
To: gentoo-commits
commit: 6e0918a0dd95df4bb77ddf004693dacab208698e
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 1 03:50:02 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Apr 5 16:54:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0918a0
gui-libs/gtk: Add new package
Bug: https://bugs.gentoo.org/764266
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.2.0.ebuild | 178 ++++++++++++++++++++++++++++++++++++++++++
gui-libs/gtk/metadata.xml | 20 +++++
3 files changed, 199 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
new file mode 100644
index 00000000000..dd8c3035545
--- /dev/null
+++ b/gui-libs/gtk/Manifest
@@ -0,0 +1 @@
+DIST gtk-4.2.0.tar.xz 25772584 BLAKE2B 38c29475050ff6d0aa41299201343d506e051387c44058f8d3e970470e49046bb11eae57d57d8d869577ca2d5f01da507edb3a87f79c98828ec938a0d87e6989 SHA512 12e825245b92f5dc652530c35b9a48a0bb284641d4128d054a19a35cb7814babe78bfbbdfd7fe3f2472d5028d078ae209a6da5d614b023c2b438223e4c5a04a0
diff --git a/gui-libs/gtk/gtk-4.2.0.ebuild b/gui-libs/gtk/gtk-4.2.0.ebuild
new file mode 100644
index 00000000000..da0781e043d
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.2.0.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson virtualx xdg
+
+DESCRIPTION="Gimp ToolKit +"
+HOMEPAGE="https://www.gtk.org/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudprint colord cups examples ffmpeg gstreamer gtk-doc +introspection sysprof test vulkan wayland +X xinerama"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ xinerama? ( X )
+"
+
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.47.0[introspection?]
+ >=media-libs/harfbuzz-0.9:=
+ x11-misc/shared-mime-info
+
+ cloudprint? (
+ >=net-libs/rest-0.7
+ >=dev-libs/json-glib-1.0
+ )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.14.91
+ >=dev-libs/wayland-protocols-1.20
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.3
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ xinerama? ( x11-libs/libXinerama )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ >=sys-devel/gettext-0.19.7
+ sysprof? ( >=dev-util/sysprof-capture-3.38:4 )
+ test? (
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ )
+ X? ( x11-base/xorg-proto )
+"
+# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
+# gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+ !<x11-libs/vte-0.31.0:2.90
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xsl-stylesheets
+ dev-lang/sassc
+ dev-libs/gobject-introspection-common
+ dev-libs/libxslt
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-am-1.20
+ virtual/pkgconfig
+ gtk-doc? (
+ app-text/docbook-xml-dtd:4.3
+ >=dev-util/gtk-doc-1.33
+ )
+"
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+ $(meson_feature cloudprint print-cloudprint)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature xinerama)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+
+ # Documentation and introspection
+ $(meson_use gtk-doc gtk_doc)
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/gui-libs/gtk/metadata.xml b/gui-libs/gtk/metadata.xml
new file mode 100644
index 00000000000..f8215d48ae1
--- /dev/null
+++ b/gui-libs/gtk/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="broadway">Enable the GDK Broadway backend.</flag>
+ <flag name="cloudprint">Enable printing via Google Cloud Print.</flag>
+ <flag name="colord">Use <pkg>x11-misc/colord</pkg> for color management
+ in printing</flag>
+ <flag name="sysprof">Enable profiling data capture support using
+ <pkg>dev-util/sysprof-capture</pkg></flag>
+ <flag name="vulkan">Enable support for the Vulkan graphics API</flag>
+ </use>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:gtk:gtk</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-01 3:39 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-05-01 3:39 UTC (permalink / raw
To: gentoo-commits
commit: 48403d1dcd09eaea89414e640b04d5e6224309c8
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat May 1 03:34:29 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May 1 03:35:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48403d1d
gui-libs/gtk: Apply suggested improvements
Bug: https://bugs.gentoo.org/764266
Suggested-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.0.ebuild | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.2.0.ebuild b/gui-libs/gtk/gtk-4.2.0.ebuild
index da0781e043d..c08b1a24df1 100644
--- a/gui-libs/gtk/gtk-4.2.0.ebuild
+++ b/gui-libs/gtk/gtk-4.2.0.ebuild
@@ -5,8 +5,8 @@ EAPI=7
inherit gnome.org gnome2-utils meson virtualx xdg
-DESCRIPTION="Gimp ToolKit +"
-HOMEPAGE="https://www.gtk.org/"
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
LICENSE="LGPL-2+"
SLOT="4"
@@ -61,19 +61,11 @@ COMMON_DEPEND="
)
"
DEPEND="${COMMON_DEPEND}
- >=sys-devel/gettext-0.19.7
sysprof? ( >=dev-util/sysprof-capture-3.38:4 )
- test? (
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc
- )
X? ( x11-base/xorg-proto )
"
-# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
-# gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90
RDEPEND="${COMMON_DEPEND}
>=dev-util/gtk-update-icon-cache-3
- !<x11-libs/vte-0.31.0:2.90
"
# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
PDEPEND="
@@ -89,11 +81,19 @@ BDEPEND="
>=dev-util/gdbus-codegen-2.48
dev-util/glib-utils
>=dev-util/gtk-doc-am-1.20
+ >=sys-devel/gettext-0.19.7
virtual/pkgconfig
gtk-doc? (
app-text/docbook-xml-dtd:4.3
>=dev-util/gtk-doc-1.33
)
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston )
+
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ )
"
src_configure() {
@@ -136,7 +136,7 @@ src_configure() {
}
src_test() {
- "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
if use X; then
einfo "Running tests under X"
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-03 22:39 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-05-03 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 9e1a78b4da64ca9d1531fce6f69b379edda9e62c
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon May 3 16:06:33 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon May 3 22:39:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1a78b4
gui-libs/gtk: Depend on dev-util/gi-docgen
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.0.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.2.0.ebuild b/gui-libs/gtk/gtk-4.2.0.ebuild
index c08b1a24df1..43ef1917efa 100644
--- a/gui-libs/gtk/gtk-4.2.0.ebuild
+++ b/gui-libs/gtk/gtk-4.2.0.ebuild
@@ -13,6 +13,7 @@ SLOT="4"
IUSE="aqua broadway cloudprint colord cups examples ffmpeg gstreamer gtk-doc +introspection sysprof test vulkan wayland +X xinerama"
REQUIRED_USE="
|| ( aqua wayland X )
+ gtk-doc? ( introspection )
xinerama? ( X )
"
@@ -80,12 +81,11 @@ BDEPEND="
dev-libs/libxslt
>=dev-util/gdbus-codegen-2.48
dev-util/glib-utils
- >=dev-util/gtk-doc-am-1.20
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
gtk-doc? (
app-text/docbook-xml-dtd:4.3
- >=dev-util/gtk-doc-1.33
+ dev-util/gi-docgen
)
test? (
dev-libs/glib:2
@@ -159,6 +159,11 @@ src_test() {
fi
}
+src_install() {
+ meson_src_install
+ mv "${ED}"/usr/share/doc/{gtk4,${P}} || die
+}
+
pkg_preinst() {
gnome2_schemas_savelist
}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-04 4:11 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-05-04 4:11 UTC (permalink / raw
To: gentoo-commits
commit: 4b99697d5fffa583eb120b8f780405d5d3084c47
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 03:52:47 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 4 03:52:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b99697d
gui-libs/gtk: Version bump to 4.2.1
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.2.1.ebuild | 183 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 184 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index dd8c3035545..ae1a4c9b845 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.2.0.tar.xz 25772584 BLAKE2B 38c29475050ff6d0aa41299201343d506e051387c44058f8d3e970470e49046bb11eae57d57d8d869577ca2d5f01da507edb3a87f79c98828ec938a0d87e6989 SHA512 12e825245b92f5dc652530c35b9a48a0bb284641d4128d054a19a35cb7814babe78bfbbdfd7fe3f2472d5028d078ae209a6da5d614b023c2b438223e4c5a04a0
+DIST gtk-4.2.1.tar.xz 25809520 BLAKE2B 63183950703375b092ce451be93d16d1149eb2095b5f304578a064422821546ae161235b46617647cd67a7d8898e2c3854d87bf31ede0cd6db2138d7e5c36c30 SHA512 a2721d6b9a72be481460081aedfbd713842cb5abdb24d810ec48e346342d0d91271f4ace321a9697214477ad4829d0b0ca67754ea316e719784f01c43f0fe732
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
new file mode 100644
index 00000000000..43ef1917efa
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudprint colord cups examples ffmpeg gstreamer gtk-doc +introspection sysprof test vulkan wayland +X xinerama"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ gtk-doc? ( introspection )
+ xinerama? ( X )
+"
+
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.47.0[introspection?]
+ >=media-libs/harfbuzz-0.9:=
+ x11-misc/shared-mime-info
+
+ cloudprint? (
+ >=net-libs/rest-0.7
+ >=dev-libs/json-glib-1.0
+ )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.14.91
+ >=dev-libs/wayland-protocols-1.20
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.3
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ xinerama? ( x11-libs/libXinerama )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.38:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xsl-stylesheets
+ dev-lang/sassc
+ dev-libs/gobject-introspection-common
+ dev-libs/libxslt
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ gtk-doc? (
+ app-text/docbook-xml-dtd:4.3
+ dev-util/gi-docgen
+ )
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston )
+
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ )
+"
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+ $(meson_feature cloudprint print-cloudprint)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature xinerama)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+
+ # Documentation and introspection
+ $(meson_use gtk-doc gtk_doc)
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+ mv "${ED}"/usr/share/doc/{gtk4,${P}} || die
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-04 19:25 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-05-04 19:25 UTC (permalink / raw
To: gentoo-commits
commit: 7ae43cd1c230ac3bdace90d848a596f654947e60
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Tue May 4 15:49:13 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 4 19:25:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae43cd1
gui-libs/gtk: Require media-libs/graphene[introspection?]
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.0.ebuild | 2 +-
gui-libs/gtk/gtk-4.2.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.2.0.ebuild b/gui-libs/gtk/gtk-4.2.0.ebuild
index 43ef1917efa..2ab650d33e3 100644
--- a/gui-libs/gtk/gtk-4.2.0.ebuild
+++ b/gui-libs/gtk/gtk-4.2.0.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="~amd64"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
>=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1
+ >=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[X(+)?]
>=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index 43ef1917efa..2ab650d33e3 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="~amd64"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
>=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1
+ >=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[X(+)?]
>=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-04 20:12 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2021-05-04 20:12 UTC (permalink / raw
To: gentoo-commits
commit: 29744120a6b62882342edc5400bf8b17600e52ed
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 14:35:53 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 4 20:12:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29744120
gui-libs/gtk: Install docs to html/
Suggested by Chris Mayo to avoid compressing included SVGs and fonts.
Thanks for David Michael for the initial patch.
Closes: https://bugs.gentoo.org/788082
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1.ebuild | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index 2ab650d33e3..0b4e9dad9c1 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -161,7 +161,19 @@ src_test() {
src_install() {
meson_src_install
- mv "${ED}"/usr/share/doc/{gtk4,${P}} || die
+
+ if use gtk-doc ; then
+ mkdir "${ED}"/usr/share/doc/${PF}/html || die
+
+ local docdirs=( gdk4 gsk4 gtk4 )
+ use wayland && docdirs+=( gdk4-wayland )
+ use X && docdirs+=( gdk4-x11 )
+
+ local d
+ for d in "${docdirs[@]}"; do
+ mv "${ED}"/usr/share/doc/{${d},${PF}/html/} || die
+ done
+ fi
}
pkg_preinst() {
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-08 2:08 Thomas Deutschmann
0 siblings, 0 replies; 128+ messages in thread
From: Thomas Deutschmann @ 2021-05-08 2:08 UTC (permalink / raw
To: gentoo-commits
commit: b1719376c13379ee540569678612a4afb0886c6a
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 02:05:24 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat May 8 02:05:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1719376
gui-libs/gtk: x86 keyworded (bug #787269)
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index 0b4e9dad9c1..d082e08d8dc 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-10 12:23 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2021-05-10 12:23 UTC (permalink / raw
To: gentoo-commits
commit: 4526430f37275c0b4e8f1832c25326d57139e69a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 10 12:21:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 10 12:23:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4526430f
gui-libs/gtk: Keyword 4.2.1 arm, #787269
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index d082e08d8dc..1d11ecfbc2a 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-10 12:23 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2021-05-10 12:23 UTC (permalink / raw
To: gentoo-commits
commit: 1abb4fa11425c67918897baf1367a3785d09628a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 10 12:21:57 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 10 12:23:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1abb4fa1
gui-libs/gtk: Keyword 4.2.1 arm64, #787269
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index 1d11ecfbc2a..1c39b4eafeb 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-05-15 1:59 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2021-05-15 1:59 UTC (permalink / raw
To: gentoo-commits
commit: d890da05f11ed0b3b92550b43629c831d64c4655
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 15 01:59:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 15 01:59:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d890da05
gui-libs/gtk: Keyword 4.2.1 ppc64, #787269
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1.ebuild
index 1c39b4eafeb..8376849026c 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-06-13 20:25 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2021-06-13 20:25 UTC (permalink / raw
To: gentoo-commits
commit: c5e42187eab6047806e489afd2cdff101f1e046b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 13 18:44:56 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 13 20:24:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e42187
gui-libs/gtk: revbump for newer sysprof-capture dependency
<sysprof 3.40.1 broke ABI (added various symbols) which was fixed in 3.40.1,
so upgrading to this newer version broke consumers. We force a rebuild of them
against the newer sysprof to resolve build failures.
Bug: https://bugs.gentoo.org/795507
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/{gtk-4.2.1.ebuild => gtk-4.2.1-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1.ebuild b/gui-libs/gtk/gtk-4.2.1-r1.ebuild
similarity index 98%
rename from gui-libs/gtk/gtk-4.2.1.ebuild
rename to gui-libs/gtk/gtk-4.2.1-r1.ebuild
index 53ecf01d29c..81c46977fd4 100644
--- a/gui-libs/gtk/gtk-4.2.1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1-r1.ebuild
@@ -62,7 +62,7 @@ COMMON_DEPEND="
)
"
DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.38:4 )
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
X? ( x11-base/xorg-proto )
"
RDEPEND="${COMMON_DEPEND}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-08-24 10:42 Marek Szuba
0 siblings, 0 replies; 128+ messages in thread
From: Marek Szuba @ 2021-08-24 10:42 UTC (permalink / raw
To: gentoo-commits
commit: 9689f7f06e9aa0b2ab8d9fb72b22460279133744
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 10:37:40 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 10:37:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9689f7f0
gui-libs/gtk: keyword 4.2.1-r1 for ~riscv
Fails some tests (see Bug #787293) but all failures look to me like
caused by fragility of relevant tests rather than actual problems.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
gui-libs/gtk/gtk-4.2.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.2.1-r1.ebuild b/gui-libs/gtk/gtk-4.2.1-r1.ebuild
index 81c46977fd4..c6d949ef102 100644
--- a/gui-libs/gtk/gtk-4.2.1-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.2.1-r1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
xinerama? ( X )
"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-09-11 13:15 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2021-09-11 13:15 UTC (permalink / raw
To: gentoo-commits
commit: 2491ef999d22a19b61a466c5d8df8542eb516435
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 11 13:13:56 2021 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Sep 11 13:14:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2491ef99
gui-libs/gtk: fix missing icon cache update with USE=examples
xdg.eclass was already used, but the phases were overridden without
chaining up to them for the eclass to just take care of it with
the code that automatically checks if any icons are installed.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/gtk-4.4.0.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gui-libs/gtk/gtk-4.4.0.ebuild b/gui-libs/gtk/gtk-4.4.0.ebuild
index f0a65fdf2fe..aaac1d34fc3 100644
--- a/gui-libs/gtk/gtk-4.4.0.ebuild
+++ b/gui-libs/gtk/gtk-4.4.0.ebuild
@@ -176,10 +176,12 @@ src_install() {
}
pkg_preinst() {
+ xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
+ xdg_pkg_postinst
gnome2_schemas_update
if ! has_version "app-text/evince"; then
@@ -190,5 +192,6 @@ pkg_postinst() {
}
pkg_postrm() {
+ xdg_pkg_postrm
gnome2_schemas_update
}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2021-11-10 21:53 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2021-11-10 21:53 UTC (permalink / raw
To: gentoo-commits
commit: 092bde1938597072d03dd0e322c055cc7da8e5c4
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 20:52:34 2021 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 21:51:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092bde19
gui-libs/gtk: bump to 4.4.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.4.1.ebuild | 197 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 198 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index bd6fcd30889..ce6a1090c6b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.2.1.tar.xz 25809520 BLAKE2B 63183950703375b092ce451be93d16d1149eb2095b5f304578a064422821546ae161235b46617647cd67a7d8898e2c3854d87bf31ede0cd6db2138d7e5c36c30 SHA512 a2721d6b9a72be481460081aedfbd713842cb5abdb24d810ec48e346342d0d91271f4ace321a9697214477ad4829d0b0ca67754ea316e719784f01c43f0fe732
DIST gtk-4.4.0.tar.xz 30008844 BLAKE2B 5fa6e8236772847961e09f282efed5386017e6ea7d0c78f310c90c93cc42b1c27fbc6c1a93f624b38365ecca8d6632af9b191ba2a3a4bcd8aa07907e842c85c9 SHA512 de0b6508df3fa4523a7e54cf417ac31292c833346409ff89fd4daf886edad16ffe60b6ed77a85451bd36b96098c8437d56c6fd42daca33c52db8dc57a25753b6
+DIST gtk-4.4.1.tar.xz 30031924 BLAKE2B c64d8c015e7cc2a0f21274af70be856bb37ef771af5df8ab8698455c70d25a02d6535a06718307c5c312915b4c3218c4d86f4d799d27e1b8ae4c0e877e218ee8 SHA512 4edf9c5c24a1853713dfabdf9a8853eca4477fdd64b391f55c25d8937bfa7e78fb2e357067dee30aebbc245a099244c637d07965a34a0bff51f090b8f45e3d16
diff --git a/gui-libs/gtk/gtk-4.4.1.ebuild b/gui-libs/gtk/gtk-4.4.1.ebuild
new file mode 100644
index 00000000000..a6873967ff2
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.4.1.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer gtk-doc +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ gtk-doc? ( introspection )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.47.0[introspection?]
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.16.91
+ >=dev-libs/wayland-protocols-1.21
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.3
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xsl-stylesheets
+ dev-libs/gobject-introspection-common
+ dev-libs/libxslt
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ gtk-doc? (
+ app-text/docbook-xml-dtd:4.3
+ dev-util/gi-docgen
+ )
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+
+ media-fonts/font-misc-misc
+ media-fonts/font-cursor-misc
+ )
+"
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ $(meson_use gtk-doc gtk_doc)
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ if use gtk-doc ; then
+ mkdir "${ED}"/usr/share/doc/${PF}/html || die
+
+ local docdirs=( gdk4 gsk4 gtk4 )
+ use wayland && docdirs+=( gdk4-wayland )
+ use X && docdirs+=( gdk4-x11 )
+
+ local d
+ for d in "${docdirs[@]}"; do
+ mv "${ED}"/usr/share/doc/{${d},${PF}/html/} || die
+ done
+ fi
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-01-07 22:56 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2022-01-07 22:56 UTC (permalink / raw
To: gentoo-commits
commit: 73356b3d7c3a015b9879c9513d93941e46dd89c3
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 7 22:20:35 2022 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Jan 7 22:36:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73356b3d
gui-libs/gtk: bump to 4.6.0
* Drop USE=gtk-doc and unconditionally ship pregenerated API docs instead, in a
location where our dev-util/devhelp will actually find them
* Require libXi-1.8 to ensure new xinput features for touchpad gestures on X11 to work
* Drop legacy font test deps that don't seem to affect anything
* Stop installing gtk4-update-icon-theme
* Standard version bump necessitated updates:
- GTK grew direct unconditional libpng, tiff and jpeg deps
- pango minimum dependency increased to 1.50.0
- docutils is now used instead of xsltproc and co for manpages, which needs a
sed to change program search from rst2man to rst2man.py
- Workaround writable+executable ELF sections issue in the 4.6.0 release
One testsuite reftest fails for me, which may be system-dependent.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.0.ebuild | 192 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 193 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index ce6a1090c6bf..4b95b13eb58b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.2.1.tar.xz 25809520 BLAKE2B 63183950703375b092ce451be93d16d1149eb2095b5f304578a064422821546ae161235b46617647cd67a7d8898e2c3854d87bf31ede0cd6db2138d7e5c36c30 SHA512 a2721d6b9a72be481460081aedfbd713842cb5abdb24d810ec48e346342d0d91271f4ace321a9697214477ad4829d0b0ca67754ea316e719784f01c43f0fe732
DIST gtk-4.4.0.tar.xz 30008844 BLAKE2B 5fa6e8236772847961e09f282efed5386017e6ea7d0c78f310c90c93cc42b1c27fbc6c1a93f624b38365ecca8d6632af9b191ba2a3a4bcd8aa07907e842c85c9 SHA512 de0b6508df3fa4523a7e54cf417ac31292c833346409ff89fd4daf886edad16ffe60b6ed77a85451bd36b96098c8437d56c6fd42daca33c52db8dc57a25753b6
DIST gtk-4.4.1.tar.xz 30031924 BLAKE2B c64d8c015e7cc2a0f21274af70be856bb37ef771af5df8ab8698455c70d25a02d6535a06718307c5c312915b4c3218c4d86f4d799d27e1b8ae4c0e877e218ee8 SHA512 4edf9c5c24a1853713dfabdf9a8853eca4477fdd64b391f55c25d8937bfa7e78fb2e357067dee30aebbc245a099244c637d07965a34a0bff51f090b8f45e3d16
+DIST gtk-4.6.0.tar.xz 22655868 BLAKE2B 197766af8b874cd0598eab1b2289ca329a61990240be55a07be13e25f1d35740ca220d099e1afa57a9c927818f4d2033ab287ea146d52567e696cf5db3f24e88 SHA512 9531d7183c46bd89e213eae6cfd64821536d1f4fe7371a5fef835e31cf2c8b3d5152baebe44633d0a69d3e1ddc34ef1e90123d6e7de9aa3f44d6e70dc83369fa
diff --git a/gui-libs/gtk/gtk-4.6.0.ebuild b/gui-libs/gtk/gtk-4.6.0.ebuild
new file mode 100644
index 000000000000..bc4022bf2b84
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.0.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ virtual/jpeg:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.16.91
+ >=dev-libs/wayland-protocols-1.21
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+src_prepare() {
+ xdg_src_prepare
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-01-20 9:42 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-01-20 9:42 UTC (permalink / raw
To: gentoo-commits
commit: 520a4f073a4bc076e58c7db9253a47259ed0858b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 09:42:17 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 09:42:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520a4f07
gui-libs/gtk: Stabilize 4.4.1 ppc64, #831048
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.4.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.4.1.ebuild b/gui-libs/gtk/gtk-4.4.1.ebuild
index a6873967ff21..06335c1bf38e 100644
--- a/gui-libs/gtk/gtk-4.4.1.ebuild
+++ b/gui-libs/gtk/gtk-4.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-01-20 10:02 Jakov Smolić
0 siblings, 0 replies; 128+ messages in thread
From: Jakov Smolić @ 2022-01-20 10:02 UTC (permalink / raw
To: gentoo-commits
commit: fe17ec2e523f4ca9ba441dc4735056054a79a38f
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 09:57:53 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 10:01:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe17ec2e
gui-libs/gtk: Stabilize 4.4.1 x86, #831048
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
gui-libs/gtk/gtk-4.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.4.1.ebuild b/gui-libs/gtk/gtk-4.4.1.ebuild
index 06335c1bf38e..4d8f47e3cc13 100644
--- a/gui-libs/gtk/gtk-4.4.1.ebuild
+++ b/gui-libs/gtk/gtk-4.4.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-01-24 3:39 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-01-24 3:39 UTC (permalink / raw
To: gentoo-commits
commit: 43674a469370d2812226a7dc3a98dd993f5fa50c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 24 03:39:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 03:39:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43674a46
gui-libs/gtk: Stabilize 4.4.1 amd64, #831048
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.4.1.ebuild b/gui-libs/gtk/gtk-4.4.1.ebuild
index 4d8f47e3cc13..2907ed713bbb 100644
--- a/gui-libs/gtk/gtk-4.4.1.ebuild
+++ b/gui-libs/gtk/gtk-4.4.1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-02-12 17:01 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-02-12 17:01 UTC (permalink / raw
To: gentoo-commits
commit: 1798261f158746f049bce4f258359cfb7aef918f
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 16:38:51 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Feb 12 17:00:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1798261f
gui-libs/gtk: Version bump to 4.6.1
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.1.ebuild | 192 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 193 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 24ee8fd9cd60..113acbe9fbf2 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.4.1.tar.xz 30031924 BLAKE2B c64d8c015e7cc2a0f21274af70be856bb37ef771af5df8ab8698455c70d25a02d6535a06718307c5c312915b4c3218c4d86f4d799d27e1b8ae4c0e877e218ee8 SHA512 4edf9c5c24a1853713dfabdf9a8853eca4477fdd64b391f55c25d8937bfa7e78fb2e357067dee30aebbc245a099244c637d07965a34a0bff51f090b8f45e3d16
DIST gtk-4.6.0.tar.xz 22655868 BLAKE2B 197766af8b874cd0598eab1b2289ca329a61990240be55a07be13e25f1d35740ca220d099e1afa57a9c927818f4d2033ab287ea146d52567e696cf5db3f24e88 SHA512 9531d7183c46bd89e213eae6cfd64821536d1f4fe7371a5fef835e31cf2c8b3d5152baebe44633d0a69d3e1ddc34ef1e90123d6e7de9aa3f44d6e70dc83369fa
+DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
diff --git a/gui-libs/gtk/gtk-4.6.1.ebuild b/gui-libs/gtk/gtk-4.6.1.ebuild
new file mode 100644
index 000000000000..2b60e61d6409
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.1.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ virtual/jpeg:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+src_prepare() {
+ xdg_src_prepare
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-03-09 15:39 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-03-09 15:39 UTC (permalink / raw
To: gentoo-commits
commit: cbefab13d8cd05256ea0b5982d1934e14ce5c667
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 15:38:35 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 15:38:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbefab13
gui-libs/gtk: Stabilize 4.6.1 ppc64, #834426
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.1.ebuild b/gui-libs/gtk/gtk-4.6.1.ebuild
index d1710c1121d9..9950bcb1a49b 100644
--- a/gui-libs/gtk/gtk-4.6.1.ebuild
+++ b/gui-libs/gtk/gtk-4.6.1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-03-20 22:15 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-03-20 22:15 UTC (permalink / raw
To: gentoo-commits
commit: f03d4f95c3afbaa64b316408d5476fe45899141a
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 21:38:58 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 22:15:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03d4f95
gui-libs/gtk: Version bump to 4.6.2
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.2.ebuild | 192 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 193 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index c3047b45383b..9144df81372b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
+DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
diff --git a/gui-libs/gtk/gtk-4.6.2.ebuild b/gui-libs/gtk/gtk-4.6.2.ebuild
new file mode 100644
index 000000000000..2b60e61d6409
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.2.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ virtual/jpeg:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+src_prepare() {
+ xdg_src_prepare
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-03-27 4:44 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-03-27 4:44 UTC (permalink / raw
To: gentoo-commits
commit: 840b90818081c7281d92c9cf01be658138ec0d6d
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 04:19:56 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 04:43:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840b9081
gui-libs/gtk: Depend on pygobject for USE=introspection
Closes: https://bugs.gentoo.org/835898
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.2.ebuild | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.2.ebuild b/gui-libs/gtk/gtk-4.6.2.ebuild
index 2b60e61d6409..b3e13e5d5acf 100644
--- a/gui-libs/gtk/gtk-4.6.2.ebuild
+++ b/gui-libs/gtk/gtk-4.6.2.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+PYTHON_COMPAT=( python3_{8..10} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -72,6 +73,12 @@ PDEPEND="
"
BDEPEND="
dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
dev-python/docutils
>=dev-util/gdbus-codegen-2.48
dev-util/glib-utils
@@ -83,6 +90,14 @@ BDEPEND="
)
"
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
src_prepare() {
xdg_src_prepare
# dev-python/docutils installs rst2man.py, not rst2man
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-03-27 4:44 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-03-27 4:44 UTC (permalink / raw
To: gentoo-commits
commit: 1c0c0e602025571bb556904f8d780a91e7f5ddb7
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 04:43:24 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 04:43:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0c0e60
gui-libs/gtk: Depend on gst-plugins-base[opengl]
Closes: https://bugs.gentoo.org/805506
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.2.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.2.ebuild b/gui-libs/gtk/gtk-4.6.2.ebuild
index b3e13e5d5acf..cfb36b206d83 100644
--- a/gui-libs/gtk/gtk-4.6.2.ebuild
+++ b/gui-libs/gtk/gtk-4.6.2.ebuild
@@ -36,7 +36,10 @@ COMMON_DEPEND="
colord? ( >=x11-misc/colord-0.1.9:0= )
cups? ( >=net-print/cups-2.0 )
ffmpeg? ( media-video/ffmpeg )
- gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
introspection? ( >=dev-libs/gobject-introspection-1.39:= )
vulkan? ( media-libs/vulkan-loader:= )
wayland? (
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-04-28 18:40 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-04-28 18:40 UTC (permalink / raw
To: gentoo-commits
commit: 07cdd00b6fb3f0ac4332d3c8c28bc9ed23624ca0
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 17:23:31 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 18:39:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cdd00b
gui-libs/gtk: Version bump to 4.6.3
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.3.ebuild | 210 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 211 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 9144df81372b..1de93e0ef6f9 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
+DIST gtk-4.6.3.tar.xz 23060172 BLAKE2B 6ca25528fea54c9be2b8961790bbd8bcb933966c0c5faa203da7d9740a86561954ab595edf31db01df22008f4384648ec748d643369574eae4c4cc54cd06e7f7 SHA512 0e96b39a8171ccefc24808d1af8af8e3cbcc9b403c1bdfd85778ed2e824c93e3687b7baa1237b05fa35181d300eacfd6cc9f79c7a6eef70b365991f0a2769f71
diff --git a/gui-libs/gtk/gtk-4.6.3.ebuild b/gui-libs/gtk/gtk-4.6.3.ebuild
new file mode 100644
index 000000000000..ab9340eab60f
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.3.ebuild
@@ -0,0 +1,210 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ xdg_src_prepare
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-07 18:28 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-05-07 18:28 UTC (permalink / raw
To: gentoo-commits
commit: bf37a9c4aad4d0e14f8da7e49797e13f8b564a8c
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May 7 18:28:33 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 7 18:28:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf37a9c4
gui-libs/gtk: Keyword 4.6.3 ppc, #838709
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.3.ebuild b/gui-libs/gtk/gtk-4.6.3.ebuild
index ab9340eab60f..07f570d05f40 100644
--- a/gui-libs/gtk/gtk-4.6.3.ebuild
+++ b/gui-libs/gtk/gtk-4.6.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-10 4:06 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-05-10 4:06 UTC (permalink / raw
To: gentoo-commits
commit: a3610f7e12fe447bfd70ecc88f2501ddc34d0ede
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 04:05:46 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue May 10 04:05:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3610f7e
gui-libs/gtk: Keyword 4.6.3 ia64, #838709
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.3.ebuild b/gui-libs/gtk/gtk-4.6.3.ebuild
index 07f570d05f40..03001840a3c5 100644
--- a/gui-libs/gtk/gtk-4.6.3.ebuild
+++ b/gui-libs/gtk/gtk-4.6.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-14 4:54 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-05-14 4:54 UTC (permalink / raw
To: gentoo-commits
commit: 4b1b5b8703380afd1f9b858f8dc5ac9c035df7c3
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 04:25:44 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May 14 04:54:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1b5b87
gui-libs/gtk: Version bump to 4.6.4
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.4.ebuild | 212 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 213 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 1de93e0ef6f9..455bd86e6c9b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
DIST gtk-4.6.3.tar.xz 23060172 BLAKE2B 6ca25528fea54c9be2b8961790bbd8bcb933966c0c5faa203da7d9740a86561954ab595edf31db01df22008f4384648ec748d643369574eae4c4cc54cd06e7f7 SHA512 0e96b39a8171ccefc24808d1af8af8e3cbcc9b403c1bdfd85778ed2e824c93e3687b7baa1237b05fa35181d300eacfd6cc9f79c7a6eef70b365991f0a2769f71
+DIST gtk-4.6.4.tar.xz 23074696 BLAKE2B 90368cc0023dcdba63f2412e67a65a0f4238f1c29e9faee969ada897c3fe21f55e7eb0f5470fc025692b4ea3af2956a32140db060663591b149186c2888cccc6 SHA512 ef18e3d084757a627f09f226cfe8da18634466575b726dd6200b74e65e0a7fc33fa8d8f609c2de09a907dfd6ca90af66e15015612675dc89d43de6e711b173e6
diff --git a/gui-libs/gtk/gtk-4.6.4.ebuild b/gui-libs/gtk/gtk-4.6.4.ebuild
new file mode 100644
index 000000000000..ac2b36e01d7a
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.4.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-15 3:10 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-05-15 3:10 UTC (permalink / raw
To: gentoo-commits
commit: 6d3a5292dda49018fe2cf9b9c4c74c9fe8aa116b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 03:09:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 15 03:09:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3a5292
gui-libs/gtk: Keyword 4.6.4 sparc, #838709
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.4.ebuild b/gui-libs/gtk/gtk-4.6.4.ebuild
index ac2b36e01d7a..bb75c447be3b 100644
--- a/gui-libs/gtk/gtk-4.6.4.ebuild
+++ b/gui-libs/gtk/gtk-4.6.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-26 3:57 WANG Xuerui
0 siblings, 0 replies; 128+ messages in thread
From: WANG Xuerui @ 2022-05-26 3:57 UTC (permalink / raw
To: gentoo-commits
commit: d3d419490a2aaf19e4e215868d0928f23478ab66
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 03:44:49 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Thu May 26 03:49:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d41949
gui-libs/gtk: keyword 4.6.4 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.4.ebuild b/gui-libs/gtk/gtk-4.6.4.ebuild
index bb75c447be3b..8203157779b1 100644
--- a/gui-libs/gtk/gtk-4.6.4.ebuild
+++ b/gui-libs/gtk/gtk-4.6.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-31 3:48 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-05-31 3:48 UTC (permalink / raw
To: gentoo-commits
commit: f28f4755e5c85b861add00f3a663a865d5bb6ef1
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 03:40:00 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 31 03:48:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28f4755
gui-libs/gtk: Version bump to 4.6.5
* Depend on media-libs/libepoxy[egl] (bug #804097)
Closes: https://bugs.gentoo.org/804097
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.5.ebuild | 212 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 213 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 455bd86e6c9b..73fed48f649c 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -2,3 +2,4 @@ DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe149
DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
DIST gtk-4.6.3.tar.xz 23060172 BLAKE2B 6ca25528fea54c9be2b8961790bbd8bcb933966c0c5faa203da7d9740a86561954ab595edf31db01df22008f4384648ec748d643369574eae4c4cc54cd06e7f7 SHA512 0e96b39a8171ccefc24808d1af8af8e3cbcc9b403c1bdfd85778ed2e824c93e3687b7baa1237b05fa35181d300eacfd6cc9f79c7a6eef70b365991f0a2769f71
DIST gtk-4.6.4.tar.xz 23074696 BLAKE2B 90368cc0023dcdba63f2412e67a65a0f4238f1c29e9faee969ada897c3fe21f55e7eb0f5470fc025692b4ea3af2956a32140db060663591b149186c2888cccc6 SHA512 ef18e3d084757a627f09f226cfe8da18634466575b726dd6200b74e65e0a7fc33fa8d8f609c2de09a907dfd6ca90af66e15015612675dc89d43de6e711b173e6
+DIST gtk-4.6.5.tar.xz 23082944 BLAKE2B 18855d5002a544a66b6129514633f9b560b224f7c654859aa3a545142879d6aa8835edd2373706ade3f701846e9cae3653237860bd07c45d81642bc67b6ef9c2 SHA512 a7bf28f6b9f5259fe1333432c205aeb8673f5f32ea0b1878c0724676f148e2d1680fe63ed9594ab5b92120d3497f06cddc5cde428247b3fc876e5785b3dd47ca
diff --git a/gui-libs/gtk/gtk-4.6.5.ebuild b/gui-libs/gtk/gtk-4.6.5.ebuild
new file mode 100644
index 000000000000..5901072e16fc
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.5.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-31 3:49 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-05-31 3:49 UTC (permalink / raw
To: gentoo-commits
commit: ba837ea9f8aa366a5f0eb454b5d2914fd3cabf06
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 03:48:59 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 31 03:48:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba837ea9
gui-libs/gtk: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 3 -
gui-libs/gtk/gtk-4.6.1.ebuild | 192 --------------------------------------
gui-libs/gtk/gtk-4.6.2.ebuild | 210 -----------------------------------------
gui-libs/gtk/gtk-4.6.3.ebuild | 210 -----------------------------------------
gui-libs/gtk/gtk-4.6.4.ebuild | 212 ------------------------------------------
5 files changed, 827 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 73fed48f649c..e9fd07b2eb03 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,5 +1,2 @@
-DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
-DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
-DIST gtk-4.6.3.tar.xz 23060172 BLAKE2B 6ca25528fea54c9be2b8961790bbd8bcb933966c0c5faa203da7d9740a86561954ab595edf31db01df22008f4384648ec748d643369574eae4c4cc54cd06e7f7 SHA512 0e96b39a8171ccefc24808d1af8af8e3cbcc9b403c1bdfd85778ed2e824c93e3687b7baa1237b05fa35181d300eacfd6cc9f79c7a6eef70b365991f0a2769f71
DIST gtk-4.6.4.tar.xz 23074696 BLAKE2B 90368cc0023dcdba63f2412e67a65a0f4238f1c29e9faee969ada897c3fe21f55e7eb0f5470fc025692b4ea3af2956a32140db060663591b149186c2888cccc6 SHA512 ef18e3d084757a627f09f226cfe8da18634466575b726dd6200b74e65e0a7fc33fa8d8f609c2de09a907dfd6ca90af66e15015612675dc89d43de6e711b173e6
DIST gtk-4.6.5.tar.xz 23082944 BLAKE2B 18855d5002a544a66b6129514633f9b560b224f7c654859aa3a545142879d6aa8835edd2373706ade3f701846e9cae3653237860bd07c45d81642bc67b6ef9c2 SHA512 a7bf28f6b9f5259fe1333432c205aeb8673f5f32ea0b1878c0724676f148e2d1680fe63ed9594ab5b92120d3497f06cddc5cde428247b3fc876e5785b3dd47ca
diff --git a/gui-libs/gtk/gtk-4.6.1.ebuild b/gui-libs/gtk/gtk-4.6.1.ebuild
deleted file mode 100644
index 9950bcb1a49b..000000000000
--- a/gui-libs/gtk/gtk-4.6.1.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit gnome.org gnome2-utils meson optfeature virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- virtual/jpeg:0=
- >=media-libs/harfbuzz-2.1.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.20.0
- >=dev-libs/wayland-protocols-1.23
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-src_prepare() {
- xdg_src_prepare
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.6.2.ebuild b/gui-libs/gtk/gtk-4.6.2.ebuild
deleted file mode 100644
index cfb36b206d83..000000000000
--- a/gui-libs/gtk/gtk-4.6.2.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- virtual/jpeg:0=
- >=media-libs/harfbuzz-2.1.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3
- >=media-libs/gst-plugins-base-1.12.3[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.20.0
- >=dev-libs/wayland-protocols-1.23
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- xdg_src_prepare
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.6.3.ebuild b/gui-libs/gtk/gtk-4.6.3.ebuild
deleted file mode 100644
index 03001840a3c5..000000000000
--- a/gui-libs/gtk/gtk-4.6.3.ebuild
+++ /dev/null
@@ -1,210 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- media-libs/libjpeg-turbo:0=
- >=media-libs/harfbuzz-2.1.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3
- >=media-libs/gst-plugins-base-1.12.3[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.20.0
- >=dev-libs/wayland-protocols-1.23
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- xdg_src_prepare
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.6.4.ebuild b/gui-libs/gtk/gtk-4.6.4.ebuild
deleted file mode 100644
index 8203157779b1..000000000000
--- a/gui-libs/gtk/gtk-4.6.4.ebuild
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- media-libs/libjpeg-turbo:0=
- >=media-libs/harfbuzz-2.1.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3
- >=media-libs/gst-plugins-base-1.12.3[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.20.0
- >=dev-libs/wayland-protocols-1.23
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-05-31 9:24 Jakov Smolić
0 siblings, 0 replies; 128+ messages in thread
From: Jakov Smolić @ 2022-05-31 9:24 UTC (permalink / raw
To: gentoo-commits
commit: 11b4ba318feb9ddc41848ec51029e35d1e06fd90
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 09:24:01 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue May 31 09:24:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b4ba31
gui-libs/gtk: Stabilize 4.6.4-r1 arm, #843794
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.4-r1.ebuild b/gui-libs/gtk/gtk-4.6.4-r1.ebuild
index 75580601f593..e1624ee52cca 100644
--- a/gui-libs/gtk/gtk-4.6.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.6.4-r1.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-07-03 18:46 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-07-03 18:46 UTC (permalink / raw
To: gentoo-commits
commit: 813d3e893e801c341441d938ff1a8d600b5462ff
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 18:16:16 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 18:45:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813d3e89
gui-libs/gtk: Version bump to 4.6.6
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.6.ebuild | 212 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 213 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index e9fd07b2eb03..879ef4868c1d 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.6.4.tar.xz 23074696 BLAKE2B 90368cc0023dcdba63f2412e67a65a0f4238f1c29e9faee969ada897c3fe21f55e7eb0f5470fc025692b4ea3af2956a32140db060663591b149186c2888cccc6 SHA512 ef18e3d084757a627f09f226cfe8da18634466575b726dd6200b74e65e0a7fc33fa8d8f609c2de09a907dfd6ca90af66e15015612675dc89d43de6e711b173e6
DIST gtk-4.6.5.tar.xz 23082944 BLAKE2B 18855d5002a544a66b6129514633f9b560b224f7c654859aa3a545142879d6aa8835edd2373706ade3f701846e9cae3653237860bd07c45d81642bc67b6ef9c2 SHA512 a7bf28f6b9f5259fe1333432c205aeb8673f5f32ea0b1878c0724676f148e2d1680fe63ed9594ab5b92120d3497f06cddc5cde428247b3fc876e5785b3dd47ca
+DIST gtk-4.6.6.tar.xz 23085304 BLAKE2B 2f0eacb9aaa3fad4e8d99feeadc93e04151f6c4552412d5b7485b972e97c8c9a7296143b39791e9e3230546770174a208ba6906179b9fed37414ee83a1980abb SHA512 b743d99029d7d51db19396641023eefd5d25bbacbd89ad6660d43e382b26fe6cc5e9ce8f0dbb3f4ac7d2143db617ea0c2e2d3cc8926fc93d735eb76ffb2f8309
diff --git a/gui-libs/gtk/gtk-4.6.6.ebuild b/gui-libs/gtk/gtk-4.6.6.ebuild
new file mode 100644
index 000000000000..5901072e16fc
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.6.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-07-18 17:44 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-07-18 17:44 UTC (permalink / raw
To: gentoo-commits
commit: 38c4872a3b3275f0f294b16aa171ff81f2ca3ec9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 17:44:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 17:44:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c4872a
gui-libs/gtk: Stabilize 4.6.5 arm, #853958
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.5.ebuild b/gui-libs/gtk/gtk-4.6.5.ebuild
index d0c8483ea273..eb71de2a1656 100644
--- a/gui-libs/gtk/gtk-4.6.5.ebuild
+++ b/gui-libs/gtk/gtk-4.6.5.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-07-21 0:13 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-07-21 0:13 UTC (permalink / raw
To: gentoo-commits
commit: ef128d8029d4d3b38de313966bce9f5e8b06f39b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 00:12:51 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 00:12:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef128d80
gui-libs/gtk: Stabilize 4.6.5 ppc, #853958
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.5.ebuild b/gui-libs/gtk/gtk-4.6.5.ebuild
index ab3514d58d06..08ff61a93cb5 100644
--- a/gui-libs/gtk/gtk-4.6.5.ebuild
+++ b/gui-libs/gtk/gtk-4.6.5.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-08-15 17:43 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-08-15 17:43 UTC (permalink / raw
To: gentoo-commits
commit: d302adbf5339833b5585bfb2caf659135d80b440
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 17:43:39 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 17:43:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d302adbf
gui-libs/gtk: Stabilize 4.6.6 arm, #861029
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.6.ebuild b/gui-libs/gtk/gtk-4.6.6.ebuild
index b3974fcf82b5..1ed94a1521f1 100644
--- a/gui-libs/gtk/gtk-4.6.6.ebuild
+++ b/gui-libs/gtk/gtk-4.6.6.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-08-15 19:13 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-08-15 19:13 UTC (permalink / raw
To: gentoo-commits
commit: 7b62e75a8810989e3cb4f2615c4a3d7918f3508d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 19:12:32 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 19:12:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b62e75a
gui-libs/gtk: Stabilize 4.6.6 ppc, #861029
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.6.ebuild b/gui-libs/gtk/gtk-4.6.6.ebuild
index 1ed94a1521f1..acf5a6b20331 100644
--- a/gui-libs/gtk/gtk-4.6.6.ebuild
+++ b/gui-libs/gtk/gtk-4.6.6.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-08-15 19:13 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-08-15 19:13 UTC (permalink / raw
To: gentoo-commits
commit: e51a615c42f98d9df720d9c811e27591a809eaa2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 19:12:42 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 19:12:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51a615c
gui-libs/gtk: Stabilize 4.6.6 ppc64, #861029
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.6.ebuild b/gui-libs/gtk/gtk-4.6.6.ebuild
index acf5a6b20331..08ff61a93cb5 100644
--- a/gui-libs/gtk/gtk-4.6.6.ebuild
+++ b/gui-libs/gtk/gtk-4.6.6.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-08-18 2:25 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-08-18 2:25 UTC (permalink / raw
To: gentoo-commits
commit: 91e78f07918fa9db7263e4e39b9ddb2dbe12b563
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 21:23:59 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 02:25:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e78f07
gui-libs/gtk: Version bump to 4.6.7
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.6.7.ebuild | 212 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 213 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 0480dda82773..a6c6143e99ff 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.6.6.tar.xz 23085304 BLAKE2B 2f0eacb9aaa3fad4e8d99feeadc93e04151f6c4552412d5b7485b972e97c8c9a7296143b39791e9e3230546770174a208ba6906179b9fed37414ee83a1980abb SHA512 b743d99029d7d51db19396641023eefd5d25bbacbd89ad6660d43e382b26fe6cc5e9ce8f0dbb3f4ac7d2143db617ea0c2e2d3cc8926fc93d735eb76ffb2f8309
+DIST gtk-4.6.7.tar.xz 22885556 BLAKE2B ff3647fbb87fb7743c6aaf84f4de463275ff5816ccdba7f29425ee5268677e53ef56507ddd71447def5a1707e7509958068d5b8a7c64816cc3a1541691d7a262 SHA512 7f9068f66b472e796c1611625a34466b13aa51bce2dfc7661928e6d8087ed39ed0f6adf47a6691609b85540c588621bebc5951e81435277071abe7d2facf28bb
diff --git a/gui-libs/gtk/gtk-4.6.7.ebuild b/gui-libs/gtk/gtk-4.6.7.ebuild
new file mode 100644
index 000000000000..5901072e16fc
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.6.7.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.1.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.20.0
+ >=dev-libs/wayland-protocols-1.23
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-09-13 17:21 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-09-13 17:21 UTC (permalink / raw
To: gentoo-commits
commit: aaaeb19632bbb0c8793aa93425b4bfa354f8442d
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 17:03:44 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 17:21:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaaeb196
gui-libs/gtk: Version bump to 4.8.0
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.8.0.ebuild | 213 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 214 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index a6c6143e99ff..6ccbf02adbef 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.6.6.tar.xz 23085304 BLAKE2B 2f0eacb9aaa3fad4e8d99feeadc93e04151f6c4552412d5b7485b972e97c8c9a7296143b39791e9e3230546770174a208ba6906179b9fed37414ee83a1980abb SHA512 b743d99029d7d51db19396641023eefd5d25bbacbd89ad6660d43e382b26fe6cc5e9ce8f0dbb3f4ac7d2143db617ea0c2e2d3cc8926fc93d735eb76ffb2f8309
DIST gtk-4.6.7.tar.xz 22885556 BLAKE2B ff3647fbb87fb7743c6aaf84f4de463275ff5816ccdba7f29425ee5268677e53ef56507ddd71447def5a1707e7509958068d5b8a7c64816cc3a1541691d7a262 SHA512 7f9068f66b472e796c1611625a34466b13aa51bce2dfc7661928e6d8087ed39ed0f6adf47a6691609b85540c588621bebc5951e81435277071abe7d2facf28bb
+DIST gtk-4.8.0.tar.xz 20502660 BLAKE2B 89a1cebc56cbb372dbdab6186b2661fa466bf6946fb5197b8c2334e228e4531749f96233a1243c6950d8ebcd0624b1d93d4d4d212ba1dec18a3d1b3857ba7da9 SHA512 c48fa63c197d9dbff98485cac57092d0af9ac56993fee5b622fc91c473f06489986105382222d75488fa95272377a9177f56a7cb3a4d2f159eb8d70f80cdadcc
diff --git a/gui-libs/gtk/gtk-4.8.0.ebuild b/gui-libs/gtk/gtk-4.8.0.ebuild
new file mode 100644
index 000000000000..874dd2d40730
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.8.0.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.6.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-09-19 1:38 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-09-19 1:38 UTC (permalink / raw
To: gentoo-commits
commit: 60d95eaac7c22c9eff778854ee00ab137c7fc4b5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 19 01:38:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 01:38:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d95eaa
gui-libs/gtk: Stabilize 4.6.7 arm, #868606
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.7.ebuild b/gui-libs/gtk/gtk-4.6.7.ebuild
index b3974fcf82b5..1ed94a1521f1 100644
--- a/gui-libs/gtk/gtk-4.6.7.ebuild
+++ b/gui-libs/gtk/gtk-4.6.7.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-09-28 16:29 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-09-28 16:29 UTC (permalink / raw
To: gentoo-commits
commit: 59af2ad006976ffb2213851cb32ab740beac666f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 28 16:29:02 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 16:29:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59af2ad0
gui-libs/gtk: Stabilize 4.6.7 ppc64, #868606
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.6.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.6.7.ebuild b/gui-libs/gtk/gtk-4.6.7.ebuild
index acf5a6b20331..08ff61a93cb5 100644
--- a/gui-libs/gtk/gtk-4.6.7.ebuild
+++ b/gui-libs/gtk/gtk-4.6.7.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-06 16:38 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-10-06 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 7537937e50a93d4ee8276795c87dfc93cb2d990b
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Mon Oct 3 14:50:16 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Oct 6 16:37:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7537937e
gui-libs/gtk: Version bump to 4.8.1
Closes: https://github.com/gentoo/gentoo/pull/27594
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.8.1.ebuild | 213 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 214 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 6ccbf02adbef..2b9f2a2e377c 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.6.6.tar.xz 23085304 BLAKE2B 2f0eacb9aaa3fad4e8d99feeadc93e04151f6c4552412d5b7485b972e97c8c9a7296143b39791e9e3230546770174a208ba6906179b9fed37414ee83a1980abb SHA512 b743d99029d7d51db19396641023eefd5d25bbacbd89ad6660d43e382b26fe6cc5e9ce8f0dbb3f4ac7d2143db617ea0c2e2d3cc8926fc93d735eb76ffb2f8309
DIST gtk-4.6.7.tar.xz 22885556 BLAKE2B ff3647fbb87fb7743c6aaf84f4de463275ff5816ccdba7f29425ee5268677e53ef56507ddd71447def5a1707e7509958068d5b8a7c64816cc3a1541691d7a262 SHA512 7f9068f66b472e796c1611625a34466b13aa51bce2dfc7661928e6d8087ed39ed0f6adf47a6691609b85540c588621bebc5951e81435277071abe7d2facf28bb
DIST gtk-4.8.0.tar.xz 20502660 BLAKE2B 89a1cebc56cbb372dbdab6186b2661fa466bf6946fb5197b8c2334e228e4531749f96233a1243c6950d8ebcd0624b1d93d4d4d212ba1dec18a3d1b3857ba7da9 SHA512 c48fa63c197d9dbff98485cac57092d0af9ac56993fee5b622fc91c473f06489986105382222d75488fa95272377a9177f56a7cb3a4d2f159eb8d70f80cdadcc
+DIST gtk-4.8.1.tar.xz 20502844 BLAKE2B 2e60b4a1985c2faa6990f0a2512a14f06ee30287ee8c4cb6cabd2100a4425c8e441879dd5b6d95b1f99ad49dd07909832ccfc4cb2738a467b32dad16074bee36 SHA512 26201c2ef0de24e0a530b0cb03af5c131a85d068ecb4dcbe22c1faaedf1d5c1555ebe2bf2da794ccfa24bea7de810179957d48474fa951ae691ac957bbdfd61e
diff --git a/gui-libs/gtk/gtk-4.8.1.ebuild b/gui-libs/gtk/gtk-4.8.1.ebuild
new file mode 100644
index 000000000000..874dd2d40730
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.8.1.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0=
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.6.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-atk-2.5.3
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # dev-python/docutils installs rst2man.py, not rst2man
+ sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-08 18:25 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2022-10-08 18:25 UTC (permalink / raw
To: gentoo-commits
commit: df96bee2f4e0aa601ad20f99c86f6078533eaad3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 8 18:23:07 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 8 18:25:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df96bee2
gui-libs/gtk: fix MissingUseDepDefault on cairo
Closes: https://bugs.gentoo.org/875926
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/{gtk-4.6.6.ebuild => gtk-4.6.6-r1.ebuild} | 2 +-
gui-libs/gtk/{gtk-4.6.7.ebuild => gtk-4.6.7-r1.ebuild} | 2 +-
gui-libs/gtk/{gtk-4.8.0.ebuild => gtk-4.8.0-r1.ebuild} | 2 +-
gui-libs/gtk/{gtk-4.8.1.ebuild => gtk-4.8.1-r1.ebuild} | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.6.6.ebuild b/gui-libs/gtk/gtk-4.6.6-r1.ebuild
similarity index 99%
rename from gui-libs/gtk/gtk-4.6.6.ebuild
rename to gui-libs/gtk/gtk-4.6.6-r1.ebuild
index 08ff61a93cb5..a33803ca3c52 100644
--- a/gui-libs/gtk/gtk-4.6.6.ebuild
+++ b/gui-libs/gtk/gtk-4.6.6-r1.ebuild
@@ -24,7 +24,7 @@ COMMON_DEPEND="
>=dev-libs/glib-2.66.0:2
>=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
>=x11-libs/pango-1.50.0[introspection?]
media-libs/libpng:0=
diff --git a/gui-libs/gtk/gtk-4.6.7.ebuild b/gui-libs/gtk/gtk-4.6.7-r1.ebuild
similarity index 99%
rename from gui-libs/gtk/gtk-4.6.7.ebuild
rename to gui-libs/gtk/gtk-4.6.7-r1.ebuild
index 08ff61a93cb5..a33803ca3c52 100644
--- a/gui-libs/gtk/gtk-4.6.7.ebuild
+++ b/gui-libs/gtk/gtk-4.6.7-r1.ebuild
@@ -24,7 +24,7 @@ COMMON_DEPEND="
>=dev-libs/glib-2.66.0:2
>=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
>=x11-libs/pango-1.50.0[introspection?]
media-libs/libpng:0=
diff --git a/gui-libs/gtk/gtk-4.8.0.ebuild b/gui-libs/gtk/gtk-4.8.0-r1.ebuild
similarity index 99%
rename from gui-libs/gtk/gtk-4.8.0.ebuild
rename to gui-libs/gtk/gtk-4.8.0-r1.ebuild
index 874dd2d40730..ea6f87056ab6 100644
--- a/gui-libs/gtk/gtk-4.8.0.ebuild
+++ b/gui-libs/gtk/gtk-4.8.0-r1.ebuild
@@ -24,7 +24,7 @@ COMMON_DEPEND="
>=dev-libs/glib-2.66.0:2
>=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
>=x11-libs/pango-1.50.0[introspection?]
media-libs/libpng:0=
diff --git a/gui-libs/gtk/gtk-4.8.1.ebuild b/gui-libs/gtk/gtk-4.8.1-r1.ebuild
similarity index 99%
rename from gui-libs/gtk/gtk-4.8.1.ebuild
rename to gui-libs/gtk/gtk-4.8.1-r1.ebuild
index 874dd2d40730..ea6f87056ab6 100644
--- a/gui-libs/gtk/gtk-4.8.1.ebuild
+++ b/gui-libs/gtk/gtk-4.8.1-r1.ebuild
@@ -24,7 +24,7 @@ COMMON_DEPEND="
>=dev-libs/glib-2.66.0:2
>=media-libs/graphene-1.9.1[introspection?]
>=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg,X?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
>=x11-libs/gdk-pixbuf-2.30:2[introspection?]
>=x11-libs/pango-1.50.0[introspection?]
media-libs/libpng:0=
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-14 4:00 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-10-14 4:00 UTC (permalink / raw
To: gentoo-commits
commit: bf20c228479f6ba280d40259ede78840e1f49a40
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 03:51:13 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 04:00:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf20c228
gui-libs/gtk: Drop unnecessary rst2man sed'ing
This has been unnecessary since upstream commit 91511a80ac ("Check for
'rst2man' misses installed 'rst2man.py' (#4728)") in 4.7.0.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.1-r1.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.8.1-r1.ebuild b/gui-libs/gtk/gtk-4.8.1-r1.ebuild
index ea6f87056ab6..48045b86652e 100644
--- a/gui-libs/gtk/gtk-4.8.1-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.8.1-r1.ebuild
@@ -105,8 +105,6 @@ src_prepare() {
default
xdg_environment_reset
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
# Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
# Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-14 14:29 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-10-14 14:29 UTC (permalink / raw
To: gentoo-commits
commit: c45765899e4facf983985915d559d6a5eadc7d8b
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 04:41:23 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 14:29:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4576589
gui-libs/gtk: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 2 -
gui-libs/gtk/gtk-4.6.6-r1.ebuild | 212 --------------------------------------
gui-libs/gtk/gtk-4.8.0-r1.ebuild | 213 ---------------------------------------
3 files changed, 427 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 2b9f2a2e377c..f25f9455d4f7 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,4 +1,2 @@
-DIST gtk-4.6.6.tar.xz 23085304 BLAKE2B 2f0eacb9aaa3fad4e8d99feeadc93e04151f6c4552412d5b7485b972e97c8c9a7296143b39791e9e3230546770174a208ba6906179b9fed37414ee83a1980abb SHA512 b743d99029d7d51db19396641023eefd5d25bbacbd89ad6660d43e382b26fe6cc5e9ce8f0dbb3f4ac7d2143db617ea0c2e2d3cc8926fc93d735eb76ffb2f8309
DIST gtk-4.6.7.tar.xz 22885556 BLAKE2B ff3647fbb87fb7743c6aaf84f4de463275ff5816ccdba7f29425ee5268677e53ef56507ddd71447def5a1707e7509958068d5b8a7c64816cc3a1541691d7a262 SHA512 7f9068f66b472e796c1611625a34466b13aa51bce2dfc7661928e6d8087ed39ed0f6adf47a6691609b85540c588621bebc5951e81435277071abe7d2facf28bb
-DIST gtk-4.8.0.tar.xz 20502660 BLAKE2B 89a1cebc56cbb372dbdab6186b2661fa466bf6946fb5197b8c2334e228e4531749f96233a1243c6950d8ebcd0624b1d93d4d4d212ba1dec18a3d1b3857ba7da9 SHA512 c48fa63c197d9dbff98485cac57092d0af9ac56993fee5b622fc91c473f06489986105382222d75488fa95272377a9177f56a7cb3a4d2f159eb8d70f80cdadcc
DIST gtk-4.8.1.tar.xz 20502844 BLAKE2B 2e60b4a1985c2faa6990f0a2512a14f06ee30287ee8c4cb6cabd2100a4425c8e441879dd5b6d95b1f99ad49dd07909832ccfc4cb2738a467b32dad16074bee36 SHA512 26201c2ef0de24e0a530b0cb03af5c131a85d068ecb4dcbe22c1faaedf1d5c1555ebe2bf2da794ccfa24bea7de810179957d48474fa951ae691ac957bbdfd61e
diff --git a/gui-libs/gtk/gtk-4.6.6-r1.ebuild b/gui-libs/gtk/gtk-4.6.6-r1.ebuild
deleted file mode 100644
index a33803ca3c52..000000000000
--- a/gui-libs/gtk/gtk-4.6.6-r1.ebuild
+++ /dev/null
@@ -1,212 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- media-libs/libjpeg-turbo:0=
- >=media-libs/harfbuzz-2.1.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3
- >=media-libs/gst-plugins-base-1.12.3[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.20.0
- >=dev-libs/wayland-protocols-1.23
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.8.0-r1.ebuild b/gui-libs/gtk/gtk-4.8.0-r1.ebuild
deleted file mode 100644
index ea6f87056ab6..000000000000
--- a/gui-libs/gtk/gtk-4.8.0-r1.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..11} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:0=
- media-libs/tiff:0=
- media-libs/libjpeg-turbo:0=
- >=media-libs/harfbuzz-2.6.0:=
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3
- >=media-libs/gst-plugins-base-1.12.3[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.25
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-atk-2.5.3
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # dev-python/docutils installs rst2man.py, not rst2man
- sed -i -e "s/'rst2man'/'rst2man.py'/" docs/reference/gtk/meson.build || die
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dupdate_screenshots=false
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-25 20:08 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-10-25 20:08 UTC (permalink / raw
To: gentoo-commits
commit: a11060231e40dbfcbcb67c853a9d0fecefc6ecc0
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 19:53:47 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 20:08:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1106023
gui-libs/gtk: Version bump to 4.8.2
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.8.2.ebuild | 214 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 215 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index f25f9455d4f7..daee2fd24269 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.6.7.tar.xz 22885556 BLAKE2B ff3647fbb87fb7743c6aaf84f4de463275ff5816ccdba7f29425ee5268677e53ef56507ddd71447def5a1707e7509958068d5b8a7c64816cc3a1541691d7a262 SHA512 7f9068f66b472e796c1611625a34466b13aa51bce2dfc7661928e6d8087ed39ed0f6adf47a6691609b85540c588621bebc5951e81435277071abe7d2facf28bb
DIST gtk-4.8.1.tar.xz 20502844 BLAKE2B 2e60b4a1985c2faa6990f0a2512a14f06ee30287ee8c4cb6cabd2100a4425c8e441879dd5b6d95b1f99ad49dd07909832ccfc4cb2738a467b32dad16074bee36 SHA512 26201c2ef0de24e0a530b0cb03af5c131a85d068ecb4dcbe22c1faaedf1d5c1555ebe2bf2da794ccfa24bea7de810179957d48474fa951ae691ac957bbdfd61e
+DIST gtk-4.8.2.tar.xz 20210736 BLAKE2B 0595ee5b497cdf1b0fff3bc468a7e79d9665f5552213b3bd794f9df6354e280f3d4747820bf3cd83ee903b8709e2902f70f6c3721322573b204447017a9c0ebf SHA512 400cdde53a4b76a912f52b1300286b2198d47195902ccfc034fbc518be7bc4c5817fe6df6386d764c95686083eede2e4582cc555fb38b0bce455942ea6c5fcb5
diff --git a/gui-libs/gtk/gtk-4.8.2.ebuild b/gui-libs/gtk/gtk-4.8.2.ebuild
new file mode 100644
index 000000000000..f8de8f482c10
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.8.2.ebuild
@@ -0,0 +1,214 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:0=
+ media-libs/tiff:0
+ media-libs/libjpeg-turbo:0=
+ >=media-libs/harfbuzz-2.6.0:=
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0
+ >=app-accessibility/at-spi2-atk-2.5.3
+ )
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-10-30 23:21 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-10-30 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 7ba938e69ea85e1cdc0832cc97b4995a07d39877
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 21:20:14 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 23:20:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba938e6
gui-libs/gtk: Set remote-id
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/metadata.xml | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/gui-libs/gtk/metadata.xml b/gui-libs/gtk/metadata.xml
index e89885b87dd9..ba004a3523be 100644
--- a/gui-libs/gtk/metadata.xml
+++ b/gui-libs/gtk/metadata.xml
@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
- </maintainer>
- <use>
- <flag name="broadway">Enable the GDK Broadway backend.</flag>
- <flag name="colord">Use <pkg>x11-misc/colord</pkg> for color management
- in printing</flag>
- <flag name="sysprof">Enable profiling data capture support using
- <pkg>dev-util/sysprof-capture</pkg></flag>
- <flag name="vulkan">Enable support for the Vulkan graphics API</flag>
- </use>
- <upstream>
- <remote-id type="cpe">cpe:/a:gtk:gtk</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="broadway">Enable the GDK Broadway backend.</flag>
+ <flag name="colord">Use <pkg>x11-misc/colord</pkg> for color management in printing</flag>
+ <flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag>
+ <flag name="vulkan">Enable support for the Vulkan graphics API</flag>
+ </use>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:gtk:gtk</remote-id>
+ <remote-id type="gnome-gitlab">GNOME/gtk</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-11-05 9:44 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2022-11-05 9:44 UTC (permalink / raw
To: gentoo-commits
commit: 40ee2933ea63b5830f0ab6954ffc0c79aeb5df90
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 5 09:43:50 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 5 09:43:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ee2933
gui-libs/gtk: Stabilize 4.8.2 arm, #879807
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.8.2.ebuild b/gui-libs/gtk/gtk-4.8.2.ebuild
index 4568eaad9b90..5544356d2451 100644
--- a/gui-libs/gtk/gtk-4.8.2.ebuild
+++ b/gui-libs/gtk/gtk-4.8.2.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-12-15 22:37 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-12-15 22:37 UTC (permalink / raw
To: gentoo-commits
commit: 7f79e15573b2439c1ef19699025cd391fd82cd9b
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 22:36:44 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 22:37:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f79e155
gui-libs/gtk: Depend on media-fonts/cantarell for tests
The test suite uses this font explicitly. Avoids failures in at least
the following tests:
gtk:gsk / parser empty-text.node
gtk:gsk / parser testswitch.node
gtk:gsk / parser widgetfactory.node
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.2.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/gui-libs/gtk/gtk-4.8.2.ebuild b/gui-libs/gtk/gtk-4.8.2.ebuild
index 2f2204164430..123e66a9d1b9 100644
--- a/gui-libs/gtk/gtk-4.8.2.ebuild
+++ b/gui-libs/gtk/gtk-4.8.2.ebuild
@@ -93,6 +93,7 @@ BDEPEND="
virtual/pkgconfig
test? (
dev-libs/glib:2
+ media-fonts/cantarell
wayland? ( dev-libs/weston[headless] )
)
"
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-12-15 22:37 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-12-15 22:37 UTC (permalink / raw
To: gentoo-commits
commit: 384c4455cc01436696386925a667ba1677ce59ba
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 18:55:11 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 22:37:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384c4455
gui-libs/gtk: Depend on app-text/iso-codes
meson.build says the dependency is not required, but
gtk/language-names.c uses files from iso-codes unconditionally, AFAICT.
Without iso-codes installed, the unit test "gtk:gtk / templates" fails
with a message:
Failed to open file "/usr/share/xml/iso-codes/iso_639.xml": No such file or directory
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.2.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/gui-libs/gtk/gtk-4.8.2.ebuild b/gui-libs/gtk/gtk-4.8.2.ebuild
index 67a4806b19e3..2f2204164430 100644
--- a/gui-libs/gtk/gtk-4.8.2.ebuild
+++ b/gui-libs/gtk/gtk-4.8.2.ebuild
@@ -31,6 +31,7 @@ COMMON_DEPEND="
media-libs/tiff:0
media-libs/libjpeg-turbo:0=
>=media-libs/harfbuzz-2.6.0:=
+ app-text/iso-codes
x11-misc/shared-mime-info
colord? ( >=x11-misc/colord-0.1.9:0= )
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2022-12-23 0:19 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2022-12-23 0:19 UTC (permalink / raw
To: gentoo-commits
commit: 0f0f0f658399189fc6a5f76f982ace04aaa67a8f
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 23:59:37 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 00:19:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0f0f65
gui-libs/gtk: Version bump to 4.8.3
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.8.3.ebuild | 213 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 214 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 391ebef5f840..4f845987619b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.8.2.tar.xz 20210736 BLAKE2B 0595ee5b497cdf1b0fff3bc468a7e79d9665f5552213b3bd794f9df6354e280f3d4747820bf3cd83ee903b8709e2902f70f6c3721322573b204447017a9c0ebf SHA512 400cdde53a4b76a912f52b1300286b2198d47195902ccfc034fbc518be7bc4c5817fe6df6386d764c95686083eede2e4582cc555fb38b0bce455942ea6c5fcb5
+DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
new file mode 100644
index 000000000000..089c19af93ad
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/fribidi-0.19.7
+ >=dev-libs/glib-2.66.0:2
+ >=media-libs/graphene-1.9.1[introspection?]
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/harfbuzz-2.6.0:=
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ $(meson_use test build-tests)
+ -Dinstall-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-02-16 18:39 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-02-16 18:39 UTC (permalink / raw
To: gentoo-commits
commit: 1eb1fa3163807ba73de5cbc2a40afce04ad3b094
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 18:38:19 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 18:38:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb1fa31
gui-libs/gtk: Stabilize 4.8.3 ppc64, #893302
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
index 3e3d68e1569f..6c241e6636e5 100644
--- a/gui-libs/gtk/gtk-4.8.3.ebuild
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-02-16 18:39 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-02-16 18:39 UTC (permalink / raw
To: gentoo-commits
commit: fa3f697c0770e9f379eb27ba0fbf2dc4dd6cf038
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 18:38:28 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 18:38:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3f697c
gui-libs/gtk: Stabilize 4.8.3 arm, #893302
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
index 6c241e6636e5..7486427b095f 100644
--- a/gui-libs/gtk/gtk-4.8.3.ebuild
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-02-17 8:23 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-02-17 8:23 UTC (permalink / raw
To: gentoo-commits
commit: f0adb51906a31519b89e2272a96449414081ec09
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 08:22:22 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 08:22:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0adb519
gui-libs/gtk: Stabilize 4.8.3 x86, #893302
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
index e30e9edce697..3ae726441708 100644
--- a/gui-libs/gtk/gtk-4.8.3.ebuild
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-02-20 17:32 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-02-20 17:32 UTC (permalink / raw
To: gentoo-commits
commit: 71596b5fbf0e9a2afd558aad0a82c6e9df8754b7
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 16:59:08 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 17:32:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71596b5f
gui-libs/gtk: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 -
gui-libs/gtk/gtk-4.8.2-r1.ebuild | 216 ---------------------------------------
2 files changed, 217 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 4f845987619b..3e90e7060d61 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1 @@
-DIST gtk-4.8.2.tar.xz 20210736 BLAKE2B 0595ee5b497cdf1b0fff3bc468a7e79d9665f5552213b3bd794f9df6354e280f3d4747820bf3cd83ee903b8709e2902f70f6c3721322573b204447017a9c0ebf SHA512 400cdde53a4b76a912f52b1300286b2198d47195902ccfc034fbc518be7bc4c5817fe6df6386d764c95686083eede2e4582cc555fb38b0bce455942ea6c5fcb5
DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.8.2-r1.ebuild b/gui-libs/gtk/gtk-4.8.2-r1.ebuild
deleted file mode 100644
index 7567590dad32..000000000000
--- a/gui-libs/gtk/gtk-4.8.2-r1.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-COMMON_DEPEND="
- >=dev-libs/fribidi-0.19.7
- >=dev-libs/glib-2.66.0:2
- >=media-libs/graphene-1.9.1[introspection?]
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=x11-libs/cairo-1.14[aqua?,glib,svg(+),X?]
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- >=x11-libs/pango-1.50.0[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/harfbuzz-2.6.0:=
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.39:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.25
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- || (
- >=app-accessibility/at-spi2-core-2.46.0
- >=app-accessibility/at-spi2-atk-2.5.3
- )
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- -Dcloudproviders=disabled # cloudprovider is not packaged in Gentoo yet
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dupdate_screenshots=false
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- $(meson_use test build-tests)
- -Dinstall-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-03-05 3:25 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-03-05 3:25 UTC (permalink / raw
To: gentoo-commits
commit: 3e9b5c2a2113ab99bf9971c7abf415d3bba8ccaf
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 5 03:23:37 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 5 03:25:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9b5c2a
gui-libs/gtk: Version bump to 4.10.0
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.0.ebuild | 215 +++++++++++++++++++++++++++++++++++++++++
gui-libs/gtk/metadata.xml | 1 +
3 files changed, 217 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 3e90e7060d61..0f599c00d73b 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
+DIST gtk-4.10.0.tar.xz 20471568 BLAKE2B 8fed349e7854a7845232da556b2949bc4eaf5d3aaface86c6e2c3a505aefeb754e3147c7a10f82e0fee713418bc8d78186942e98d59a42ed7288d48d88e52f28 SHA512 1283985ed64035e3b183cccc341dd38029112e8277065f8b39be56b4f489aaf03efc0ce5f9c36ddd746a776be3772f7606f1c54fd84292479d63d86b94281159
DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.10.0.ebuild b/gui-libs/gtk/gtk-4.10.0.ebuild
new file mode 100644
index 000000000000..162cca71d230
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.0.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/gui-libs/gtk/metadata.xml b/gui-libs/gtk/metadata.xml
index ba004a3523be..738bf162e983 100644
--- a/gui-libs/gtk/metadata.xml
+++ b/gui-libs/gtk/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="broadway">Enable the GDK Broadway backend.</flag>
+ <flag name="cloudproviders">Enable GtkPlacesSidebar to access cloud services</flag>
<flag name="colord">Use <pkg>x11-misc/colord</pkg> for color management in printing</flag>
<flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag>
<flag name="vulkan">Enable support for the Vulkan graphics API</flag>
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-03-14 17:48 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-03-14 17:48 UTC (permalink / raw
To: gentoo-commits
commit: 5f395cd22a2541857b873edc706cdd7dbac5afc0
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Tue Mar 14 14:40:18 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 17:48:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f395cd2
gui-libs/gtk: Version bump to 4.10.1
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30125
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.1.ebuild | 215 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 0f599c00d73b..822d4975e534 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.10.0.tar.xz 20471568 BLAKE2B 8fed349e7854a7845232da556b2949bc4eaf5d3aaface86c6e2c3a505aefeb754e3147c7a10f82e0fee713418bc8d78186942e98d59a42ed7288d48d88e52f28 SHA512 1283985ed64035e3b183cccc341dd38029112e8277065f8b39be56b4f489aaf03efc0ce5f9c36ddd746a776be3772f7606f1c54fd84292479d63d86b94281159
+DIST gtk-4.10.1.tar.xz 20481204 BLAKE2B 3a56905b84ec3ca4abb974ce22beb6422c0b48063a54b753ef74316535acfc59bf80fce6c44b06ae7266e8d82ed7cde92bd4461dfebb4df4d8378e3e72ed26d1 SHA512 1fb04c7f5f3cb2f728c2048b0053efc3bef1be371d8e24648d9c3d5fb0404fd1e4fa31a511e02750290aec032253c6bade53651d1f32a3438c104130759ff074
DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.10.1.ebuild b/gui-libs/gtk/gtk-4.10.1.ebuild
new file mode 100644
index 000000000000..162cca71d230
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.1.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-04-22 3:08 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-04-22 3:08 UTC (permalink / raw
To: gentoo-commits
commit: 6af2d971ab1246f0440622141f4949f06fdd3c83
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Fri Apr 21 15:45:13 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 03:08:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af2d971
gui-libs/gtk: Version bump to 4.10.2
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30689
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.2.ebuild | 215 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 56f2c0a15327..67d37ff8bd06 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.10.1.tar.xz 20481204 BLAKE2B 3a56905b84ec3ca4abb974ce22beb6422c0b48063a54b753ef74316535acfc59bf80fce6c44b06ae7266e8d82ed7cde92bd4461dfebb4df4d8378e3e72ed26d1 SHA512 1fb04c7f5f3cb2f728c2048b0053efc3bef1be371d8e24648d9c3d5fb0404fd1e4fa31a511e02750290aec032253c6bade53651d1f32a3438c104130759ff074
+DIST gtk-4.10.2.tar.xz 20480356 BLAKE2B f634359d13aac057c2c1083a88062cc969f5ee9f9f70461e69caae317e81340ea9794e365439f7c022347fd0d91f2bc0acaa983feb3b5a85630731744641c426 SHA512 cd36f87689e6457b8fe42f7e76a38b24cfc212f6cd180b698ec391505797c802de4481c8d3e3f6ba2410820aca1f9850ad240922253a2abf914f1ef1345d43e7
DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.10.2.ebuild b/gui-libs/gtk/gtk-4.10.2.ebuild
new file mode 100644
index 000000000000..162cca71d230
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.2.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-04-22 14:45 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-04-22 14:45 UTC (permalink / raw
To: gentoo-commits
commit: cd36b7e762f9a3b76c05547d5b69210ef6f98e06
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sat Apr 22 13:54:19 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 14:45:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd36b7e7
gui-libs/gtk: Version bump to 4.10.3
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30701
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.3.ebuild | 215 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 216 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 67d37ff8bd06..38108712eb5f 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.10.1.tar.xz 20481204 BLAKE2B 3a56905b84ec3ca4abb974ce22beb6422c0b48063a54b753ef74316535acfc59bf80fce6c44b06ae7266e8d82ed7cde92bd4461dfebb4df4d8378e3e72ed26d1 SHA512 1fb04c7f5f3cb2f728c2048b0053efc3bef1be371d8e24648d9c3d5fb0404fd1e4fa31a511e02750290aec032253c6bade53651d1f32a3438c104130759ff074
DIST gtk-4.10.2.tar.xz 20480356 BLAKE2B f634359d13aac057c2c1083a88062cc969f5ee9f9f70461e69caae317e81340ea9794e365439f7c022347fd0d91f2bc0acaa983feb3b5a85630731744641c426 SHA512 cd36f87689e6457b8fe42f7e76a38b24cfc212f6cd180b698ec391505797c802de4481c8d3e3f6ba2410820aca1f9850ad240922253a2abf914f1ef1345d43e7
+DIST gtk-4.10.3.tar.xz 20483468 BLAKE2B dcc845e567e3f921f1b479ac2b40b45922725452656d08e95579f3dd8d521261cedf73bf998c781e42318d0c2253967765a4bcb6223db4f29d45648bc524f843 SHA512 aac4703f9c135271febdd373b24995dabcd08fb0cea2d6014c812f2839ae88926c1939ddcc64ab9728ba3248a1f58260ce73fa6ef5679e54dbb798021adfa324
DIST gtk-4.8.3.tar.xz 20297060 BLAKE2B ad0f9e2998f3748afe4a03317e6d0438bfd9eaf804f202e96724541cce20597b7b6e69d5c50ce319450feed4f4a5653c0d99b949b23ce3a40c46a12da7e2d85f SHA512 56be0f5ce85a9cbbda4a5de53baeeb6b8cc527a5d34723ae5548759ec7c28f03d204b6b6758dffed02a9e226f3bfcd1f15971105c2f2f7be7cef22538be27754
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
new file mode 100644
index 000000000000..162cca71d230
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
+ # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
+ sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+ sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-04-25 19:01 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-04-25 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 596cdc7d36ad2165b38e73a47d64ce8e6f364998
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Mon Apr 24 15:29:35 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 19:00:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596cdc7d
gui-libs/gtk: crank up test timeouts
Bug: https://bugs.gentoo.org/902445
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.1.ebuild | 4 ++--
gui-libs/gtk/gtk-4.10.2.ebuild | 4 ++--
gui-libs/gtk/gtk-4.10.3.ebuild | 4 ++--
gui-libs/gtk/gtk-4.8.3.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.10.1.ebuild b/gui-libs/gtk/gtk-4.10.1.ebuild
index 162cca71d230..bb16f8073375 100644
--- a/gui-libs/gtk/gtk-4.10.1.ebuild
+++ b/gui-libs/gtk/gtk-4.10.1.ebuild
@@ -162,7 +162,7 @@ src_test() {
if use X; then
einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
fi
if use wayland; then
@@ -174,7 +174,7 @@ src_test() {
compositor=$!
export WAYLAND_DISPLAY=wayland-5
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
exit_code=$?
kill ${compositor}
diff --git a/gui-libs/gtk/gtk-4.10.2.ebuild b/gui-libs/gtk/gtk-4.10.2.ebuild
index 162cca71d230..bb16f8073375 100644
--- a/gui-libs/gtk/gtk-4.10.2.ebuild
+++ b/gui-libs/gtk/gtk-4.10.2.ebuild
@@ -162,7 +162,7 @@ src_test() {
if use X; then
einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
fi
if use wayland; then
@@ -174,7 +174,7 @@ src_test() {
compositor=$!
export WAYLAND_DISPLAY=wayland-5
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
exit_code=$?
kill ${compositor}
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index 162cca71d230..bb16f8073375 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -162,7 +162,7 @@ src_test() {
if use X; then
einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
fi
if use wayland; then
@@ -174,7 +174,7 @@ src_test() {
compositor=$!
export WAYLAND_DISPLAY=wayland-5
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
exit_code=$?
kill ${compositor}
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
index 3ae726441708..9be8e0c260d4 100644
--- a/gui-libs/gtk/gtk-4.8.3.ebuild
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -160,7 +160,7 @@ src_test() {
if use X; then
einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
fi
if use wayland; then
@@ -172,7 +172,7 @@ src_test() {
compositor=$!
export WAYLAND_DISPLAY=wayland-5
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
exit_code=$?
kill ${compositor}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-02 17:53 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-02 17:53 UTC (permalink / raw
To: gentoo-commits
commit: 06b92e1dc7b9ae427bb963a13cfc805b963d76a7
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue May 2 17:53:10 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue May 2 17:53:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b92e1d
gui-libs/gtk: Stabilize 4.8.3 sparc, #905567
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.8.3.ebuild b/gui-libs/gtk/gtk-4.8.3.ebuild
index 9be8e0c260d4..8c5456a3084e 100644
--- a/gui-libs/gtk/gtk-4.8.3.ebuild
+++ b/gui-libs/gtk/gtk-4.8.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/fribidi-0.19.7
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-02 20:50 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-05-02 20:50 UTC (permalink / raw
To: gentoo-commits
commit: d6a2cf584d0b5b31c74f66f1372a546432c47de8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 2 20:49:42 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 2 20:49:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a2cf58
gui-libs/gtk: Stabilize 4.10.3 arm, #905490
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index bb16f8073375..4e4886ddf1b0 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-03 6:33 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-03 6:33 UTC (permalink / raw
To: gentoo-commits
commit: 75817f50d3880a876a4daaebddc312abfc48f7f6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May 3 06:30:52 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May 3 06:32:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75817f50
gui-libs/gtk: Stabilize 4.10.3 amd64, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index 4e4886ddf1b0..37cc1cd18b84 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-04 16:16 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-04 16:16 UTC (permalink / raw
To: gentoo-commits
commit: 1956109e9b234c3d55f0610a5ed853e3b9db136e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 16:16:50 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 4 16:16:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1956109e
gui-libs/gtk: Stabilize 4.10.3 ppc64, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index 37cc1cd18b84..db845f114044 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-04 16:32 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-04 16:32 UTC (permalink / raw
To: gentoo-commits
commit: b41c2d372c97a712f359b351cd2bf91e059a4f85
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 16:32:04 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 4 16:32:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41c2d37
gui-libs/gtk: Stabilize 4.10.3 ppc, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index 337711cb2b4d..ad1ae0655409 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-04 16:32 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-04 16:32 UTC (permalink / raw
To: gentoo-commits
commit: b43a4d3c7fc160520fedfb2ca9ff89a100160242
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 16:32:01 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 4 16:32:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43a4d3c
gui-libs/gtk: Stabilize 4.10.3 arm64, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index db845f114044..337711cb2b4d 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-04 16:37 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-04 16:37 UTC (permalink / raw
To: gentoo-commits
commit: aeecfed1ef44eaa84f3f002a2aad11511c5d347d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 16:37:31 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 4 16:37:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeecfed1
gui-libs/gtk: Stabilize 4.10.3 x86, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index ad1ae0655409..a19f8153a04b 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-04 16:37 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-05-04 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 844d518aa5e3279ab9efd552b4c90e309cf0e6e3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 16:37:34 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 4 16:37:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844d518a
gui-libs/gtk: Stabilize 4.10.3 sparc, #905490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index a19f8153a04b..bc93d9dcea68 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-05-23 2:52 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-05-23 2:52 UTC (permalink / raw
To: gentoo-commits
commit: cee2ffd978dd850cae37e3ebc17e39e4f73b0cba
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 02:44:13 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 23 02:51:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee2ffd9
gui-libs/gtk: defer to new global USE=vulkan description
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/metadata.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/gui-libs/gtk/metadata.xml b/gui-libs/gtk/metadata.xml
index 738bf162e983..272b295520e1 100644
--- a/gui-libs/gtk/metadata.xml
+++ b/gui-libs/gtk/metadata.xml
@@ -10,7 +10,6 @@
<flag name="cloudproviders">Enable GtkPlacesSidebar to access cloud services</flag>
<flag name="colord">Use <pkg>x11-misc/colord</pkg> for color management in printing</flag>
<flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag>
- <flag name="vulkan">Enable support for the Vulkan graphics API</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:gtk:gtk</remote-id>
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-06-06 0:31 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-06-06 0:31 UTC (permalink / raw
To: gentoo-commits
commit: e821714b80ea57603f9e9c13889e0bfb30b20dda
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 6 00:01:54 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 00:31:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e821714b
gui-libs/gtk: Version bump to 4.10.4
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.4.ebuild | 216 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 217 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 5d52043ac585..88f206b03397 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.10.3.tar.xz 20483468 BLAKE2B dcc845e567e3f921f1b479ac2b40b45922725452656d08e95579f3dd8d521261cedf73bf998c781e42318d0c2253967765a4bcb6223db4f29d45648bc524f843 SHA512 aac4703f9c135271febdd373b24995dabcd08fb0cea2d6014c812f2839ae88926c1939ddcc64ab9728ba3248a1f58260ce73fa6ef5679e54dbb798021adfa324
+DIST gtk-4.10.4.tar.xz 20526652 BLAKE2B 12874d90f9f48f22d57c53cf035065726e5bbd9a701cacf390acad6889fd86dbc3c4cb2f8f9a0690d9375935a7e3a8685211283814dbbfb28c6c08fd159529c5 SHA512 0c5db3af72227977e11fea3adddec1321b82bcace3c3d10a7c914b8d98b0bdb7994084c0a9e883b24815038bf4a0efe1eb1c4ff79e6838e83cadb6ddf2a1239f
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
new file mode 100644
index 000000000000..045fb0a4744d
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-06-09 3:01 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-06-09 3:01 UTC (permalink / raw
To: gentoo-commits
commit: b4e6b47e74589f88fcad5fdb55d5fbef34eb20d1
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 9 03:00:37 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Jun 9 03:01:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e6b47e
gui-libs/gtk: Keyword 4.10.4 alpha, #838709
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 045fb0a4744d..c3a71725c65e 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-07-02 8:04 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-07-02 8:04 UTC (permalink / raw
To: gentoo-commits
commit: 5c7d3d347187a07503fc80dd83628215602332e0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 08:04:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 08:04:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7d3d34
gui-libs/gtk: Stabilize 4.10.4 ppc64, #909497
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index c3a71725c65e..258e14cbe60b 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-07-02 8:33 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-07-02 8:33 UTC (permalink / raw
To: gentoo-commits
commit: 2ed8dd2d490ccee5401ef2c59ac28c8c408188e1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 08:32:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 08:33:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed8dd2d
gui-libs/gtk: Stabilize 4.10.4 arm, #909497
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 258e14cbe60b..7d16737af3c9 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-07-02 13:11 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-07-02 13:11 UTC (permalink / raw
To: gentoo-commits
commit: 76845f0b045bdfd81716a0f6a1701bbb3376de9f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 13:10:56 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 13:10:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76845f0b
gui-libs/gtk: Stabilize 4.10.4 amd64, #909497
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 7d16737af3c9..572115375b8a 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-07-15 8:49 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-07-15 8:49 UTC (permalink / raw
To: gentoo-commits
commit: 59d453d16713188c98b54a838ab49c4418d1be78
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 08:48:28 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 08:48:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d453d1
gui-libs/gtk: Stabilize 4.10.4 arm64, #909497
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 572115375b8a..33930d2375a1 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-07-15 12:20 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-07-15 12:20 UTC (permalink / raw
To: gentoo-commits
commit: 89b88ee907cccc4bb04f8e103665d869b16f4f79
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 12:20:42 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 12:20:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b88ee9
gui-libs/gtk: Stabilize 4.10.4 x86, #909497
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 33930d2375a1..5624e17877cc 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-02 17:00 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2023-08-02 17:00 UTC (permalink / raw
To: gentoo-commits
commit: 11f1d5f2e67fd6c7a82832c253f0b3d3eb8a6521
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 2 16:58:13 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 2 16:58:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f1d5f2
gui-libs/gtk: Stabilize 4.10.4 sparc, #909497
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 79ae3bf49fc8..a2efb01c0ddd 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-06 3:26 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-08-06 3:26 UTC (permalink / raw
To: gentoo-commits
commit: 4787a64aa507d7bdbda8b459630716b4b32c37a7
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sat Aug 5 19:49:33 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Aug 6 03:26:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4787a64a
gui-libs/gtk: Version bump to 4.12.0
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32186
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.0.ebuild | 220 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 221 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 5927872fb8af..c7eba0e364e2 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.10.3.tar.xz 20483468 BLAKE2B dcc845e567e3f921f1b479ac2b40b45922725452656d08e95579f3dd8d521261cedf73bf998c781e42318d0c2253967765a4bcb6223db4f29d45648bc524f843 SHA512 aac4703f9c135271febdd373b24995dabcd08fb0cea2d6014c812f2839ae88926c1939ddcc64ab9728ba3248a1f58260ce73fa6ef5679e54dbb798021adfa324
DIST gtk-4.10.4.tar.xz 20526652 BLAKE2B 12874d90f9f48f22d57c53cf035065726e5bbd9a701cacf390acad6889fd86dbc3c4cb2f8f9a0690d9375935a7e3a8685211283814dbbfb28c6c08fd159529c5 SHA512 0c5db3af72227977e11fea3adddec1321b82bcace3c3d10a7c914b8d98b0bdb7994084c0a9e883b24815038bf4a0efe1eb1c4ff79e6838e83cadb6ddf2a1239f
DIST gtk-4.11.4.tar.xz 21035392 BLAKE2B 0fb7770f6f11c94fdcc82a807738a535efd222eb2a723b036ce020be10cca121b46c5bb78bceaee94f93698378378ed30e5775ed7cda123b27111289f02848d9 SHA512 ca5042c4400da93ea66346d276b96f32c635a9777cdb6cbcb72d6686ed86e67717d75cba92521f52a3bad04c774f361e1e5bada60b242c345b79c4c05de8401e
+DIST gtk-4.12.0.tar.xz 16918992 BLAKE2B ea689b61efa961725444b61fcafae2e56154be64771fa6dce3f1835edafc6e74ce5879ea0bf0631c8f254352f26cd8252dcf6b92ce4eed344456cf21c4a8fda3 SHA512 a69f82e1f021b1eb68e8723bc9003bfca0b5939fd3cc7cda87d7dde0b3e37bb39d9594cb93a73f54bd1cff1b63a1c459d1217e8df794c67fda50bf0b9b732826
diff --git a/gui-libs/gtk/gtk-4.12.0.ebuild b/gui-libs/gtk/gtk-4.12.0.ebuild
new file mode 100644
index 000000000000..d9d4ce7f171d
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.0.ebuild
@@ -0,0 +1,220 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-06 17:36 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-08-06 17:36 UTC (permalink / raw
To: gentoo-commits
commit: 6a79e4c693639a66b1f4d7ecabeb3fcd4fda50c3
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 6 17:26:24 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Aug 6 17:26:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a79e4c6
gui-libs/gtk: Version bump to 4.10.5
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.10.5.ebuild | 216 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 217 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index c7eba0e364e2..a66482d77110 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,4 +1,5 @@
DIST gtk-4.10.3.tar.xz 20483468 BLAKE2B dcc845e567e3f921f1b479ac2b40b45922725452656d08e95579f3dd8d521261cedf73bf998c781e42318d0c2253967765a4bcb6223db4f29d45648bc524f843 SHA512 aac4703f9c135271febdd373b24995dabcd08fb0cea2d6014c812f2839ae88926c1939ddcc64ab9728ba3248a1f58260ce73fa6ef5679e54dbb798021adfa324
DIST gtk-4.10.4.tar.xz 20526652 BLAKE2B 12874d90f9f48f22d57c53cf035065726e5bbd9a701cacf390acad6889fd86dbc3c4cb2f8f9a0690d9375935a7e3a8685211283814dbbfb28c6c08fd159529c5 SHA512 0c5db3af72227977e11fea3adddec1321b82bcace3c3d10a7c914b8d98b0bdb7994084c0a9e883b24815038bf4a0efe1eb1c4ff79e6838e83cadb6ddf2a1239f
+DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
DIST gtk-4.11.4.tar.xz 21035392 BLAKE2B 0fb7770f6f11c94fdcc82a807738a535efd222eb2a723b036ce020be10cca121b46c5bb78bceaee94f93698378378ed30e5775ed7cda123b27111289f02848d9 SHA512 ca5042c4400da93ea66346d276b96f32c635a9777cdb6cbcb72d6686ed86e67717d75cba92521f52a3bad04c774f361e1e5bada60b242c345b79c4c05de8401e
DIST gtk-4.12.0.tar.xz 16918992 BLAKE2B ea689b61efa961725444b61fcafae2e56154be64771fa6dce3f1835edafc6e74ce5879ea0bf0631c8f254352f26cd8252dcf6b92ce4eed344456cf21c4a8fda3 SHA512 a69f82e1f021b1eb68e8723bc9003bfca0b5939fd3cc7cda87d7dde0b3e37bb39d9594cb93a73f54bd1cff1b63a1c459d1217e8df794c67fda50bf0b9b732826
diff --git a/gui-libs/gtk/gtk-4.10.5.ebuild b/gui-libs/gtk/gtk-4.10.5.ebuild
new file mode 100644
index 000000000000..c3a71725c65e
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.10.5.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.72.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.72:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.25
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Documentation and introspection
+ -Dgtk_doc=false # we ship pregenerated API docs from tarball
+ -Dupdate_screenshots=false
+ -Dman-pages=true
+ $(meson_feature introspection)
+
+ # Demos and binaries
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ $(meson_use examples demos)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-10 2:23 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-08-10 2:23 UTC (permalink / raw
To: gentoo-commits
commit: 077fc3bc0742d039341aa3a288ecc9b8a9a68afa
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 9 20:40:37 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 02:23:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=077fc3bc
gui-libs/gtk: Mark an expected failure on big-endian
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.3.ebuild | 11 ++++++++++-
gui-libs/gtk/gtk-4.10.4.ebuild | 11 ++++++++++-
gui-libs/gtk/gtk-4.10.5.ebuild | 11 ++++++++++-
gui-libs/gtk/gtk-4.11.4.ebuild | 11 ++++++++++-
gui-libs/gtk/gtk-4.12.0.ebuild | 11 ++++++++++-
5 files changed, 50 insertions(+), 5 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
index bc93d9dcea68..b0f289ce2119 100644
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ b/gui-libs/gtk/gtk-4.10.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -113,6 +113,15 @@ src_prepare() {
# Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
}
src_configure() {
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index a2efb01c0ddd..7c111f619e8b 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -119,6 +119,15 @@ src_prepare() {
docs/reference/gtk/meson.build \
tools/meson.build \
|| die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
}
src_configure() {
diff --git a/gui-libs/gtk/gtk-4.10.5.ebuild b/gui-libs/gtk/gtk-4.10.5.ebuild
index c3a71725c65e..5d1253d5e4a6 100644
--- a/gui-libs/gtk/gtk-4.10.5.ebuild
+++ b/gui-libs/gtk/gtk-4.10.5.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -114,6 +114,15 @@ src_prepare() {
docs/reference/gtk/meson.build \
tools/meson.build \
|| die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
}
src_configure() {
diff --git a/gui-libs/gtk/gtk-4.11.4.ebuild b/gui-libs/gtk/gtk-4.11.4.ebuild
index 31b52821cb44..f40dad4fa7a2 100644
--- a/gui-libs/gtk/gtk-4.11.4.ebuild
+++ b/gui-libs/gtk/gtk-4.11.4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -114,6 +114,15 @@ src_prepare() {
docs/reference/gtk/meson.build \
tools/meson.build \
|| die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
}
src_configure() {
diff --git a/gui-libs/gtk/gtk-4.12.0.ebuild b/gui-libs/gtk/gtk-4.12.0.ebuild
index d9d4ce7f171d..b1efa467ddf8 100644
--- a/gui-libs/gtk/gtk-4.12.0.ebuild
+++ b/gui-libs/gtk/gtk-4.12.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -115,6 +115,15 @@ src_prepare() {
docs/reference/gtk/meson.build \
tools/meson.build \
|| die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
}
src_configure() {
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-12 19:39 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-08-12 19:39 UTC (permalink / raw
To: gentoo-commits
commit: 41af81425d2a1abc4fea7b6d68db878443e4c3cc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 19:39:12 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 19:39:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41af8142
gui-libs/gtk: Stabilize 4.10.4 ppc, #909497
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.4.ebuild b/gui-libs/gtk/gtk-4.10.4.ebuild
index 7c111f619e8b..e9c069a3e77e 100644
--- a/gui-libs/gtk/gtk-4.10.4.ebuild
+++ b/gui-libs/gtk/gtk-4.10.4.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-16 22:32 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-08-16 22:32 UTC (permalink / raw
To: gentoo-commits
commit: c3fb6991b4f4422272b323b0df43b72cae3ea4b1
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 16 22:24:18 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 22:31:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3fb6991
gui-libs/gtk: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 2 -
gui-libs/gtk/gtk-4.10.3.ebuild | 224 ----------------------------------------
gui-libs/gtk/gtk-4.11.4.ebuild | 226 -----------------------------------------
3 files changed, 452 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index a66482d77110..c1fe7b869c0a 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,5 +1,3 @@
-DIST gtk-4.10.3.tar.xz 20483468 BLAKE2B dcc845e567e3f921f1b479ac2b40b45922725452656d08e95579f3dd8d521261cedf73bf998c781e42318d0c2253967765a4bcb6223db4f29d45648bc524f843 SHA512 aac4703f9c135271febdd373b24995dabcd08fb0cea2d6014c812f2839ae88926c1939ddcc64ab9728ba3248a1f58260ce73fa6ef5679e54dbb798021adfa324
DIST gtk-4.10.4.tar.xz 20526652 BLAKE2B 12874d90f9f48f22d57c53cf035065726e5bbd9a701cacf390acad6889fd86dbc3c4cb2f8f9a0690d9375935a7e3a8685211283814dbbfb28c6c08fd159529c5 SHA512 0c5db3af72227977e11fea3adddec1321b82bcace3c3d10a7c914b8d98b0bdb7994084c0a9e883b24815038bf4a0efe1eb1c4ff79e6838e83cadb6ddf2a1239f
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
-DIST gtk-4.11.4.tar.xz 21035392 BLAKE2B 0fb7770f6f11c94fdcc82a807738a535efd222eb2a723b036ce020be10cca121b46c5bb78bceaee94f93698378378ed30e5775ed7cda123b27111289f02848d9 SHA512 ca5042c4400da93ea66346d276b96f32c635a9777cdb6cbcb72d6686ed86e67717d75cba92521f52a3bad04c774f361e1e5bada60b242c345b79c4c05de8401e
DIST gtk-4.12.0.tar.xz 16918992 BLAKE2B ea689b61efa961725444b61fcafae2e56154be64771fa6dce3f1835edafc6e74ce5879ea0bf0631c8f254352f26cd8252dcf6b92ce4eed344456cf21c4a8fda3 SHA512 a69f82e1f021b1eb68e8723bc9003bfca0b5939fd3cc7cda87d7dde0b3e37bb39d9594cb93a73f54bd1cff1b63a1c459d1217e8df794c67fda50bf0b9b732826
diff --git a/gui-libs/gtk/gtk-4.10.3.ebuild b/gui-libs/gtk/gtk-4.10.3.ebuild
deleted file mode 100644
index b0f289ce2119..000000000000
--- a/gui-libs/gtk/gtk-4.10.3.ebuild
+++ /dev/null
@@ -1,224 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.72.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.72:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.25
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i -e '/gtk4-update-icon-cache/d' tools/meson.build || die
- # Workaround RWX ELF sections, https://gitlab.gnome.org/GNOME/gtk/-/issues/4598
- sed -i -e 's/^ld =.*/ld = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
- sed -i -e 's/^objcopy =.*/objcopy = disabler()/g' gtk/meson.build demos/gtk-demo/meson.build demos/widget-factory/meson.build || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dupdate_screenshots=false
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- $(meson_use examples demos)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.11.4.ebuild b/gui-libs/gtk/gtk-4.11.4.ebuild
deleted file mode 100644
index f40dad4fa7a2..000000000000
--- a/gui-libs/gtk/gtk-4.11.4.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.76.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.31
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i \
- -e '/gtk4-update-icon-cache/d' \
- docs/reference/gtk/meson.build \
- tools/meson.build \
- || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Documentation and introspection
- -Dgtk_doc=false # we ship pregenerated API docs from tarball
- -Dupdate_screenshots=false
- -Dman-pages=true
- $(meson_feature introspection)
-
- # Demos and binaries
- -Ddemo-profile=default
- $(meson_use examples build-demos)
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-25 16:04 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-08-25 16:04 UTC (permalink / raw
To: gentoo-commits
commit: 34dc57b13fa167ec514cc80a413166e13f613dd2
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Fri Aug 25 15:40:03 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Aug 25 16:04:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34dc57b1
gui-libs/gtk: Version bump to 4.12.1
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32446
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.1.ebuild | 228 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index c1fe7b869c0a..d40c7656062e 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.10.4.tar.xz 20526652 BLAKE2B 12874d90f9f48f22d57c53cf035065726e5bbd9a701cacf390acad6889fd86dbc3c4cb2f8f9a0690d9375935a7e3a8685211283814dbbfb28c6c08fd159529c5 SHA512 0c5db3af72227977e11fea3adddec1321b82bcace3c3d10a7c914b8d98b0bdb7994084c0a9e883b24815038bf4a0efe1eb1c4ff79e6838e83cadb6ddf2a1239f
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
DIST gtk-4.12.0.tar.xz 16918992 BLAKE2B ea689b61efa961725444b61fcafae2e56154be64771fa6dce3f1835edafc6e74ce5879ea0bf0631c8f254352f26cd8252dcf6b92ce4eed344456cf21c4a8fda3 SHA512 a69f82e1f021b1eb68e8723bc9003bfca0b5939fd3cc7cda87d7dde0b3e37bb39d9594cb93a73f54bd1cff1b63a1c459d1217e8df794c67fda50bf0b9b732826
+DIST gtk-4.12.1.tar.xz 16924668 BLAKE2B c59d944de510e1c024564c320d44e15b5766f48bd03532944f01ae91111eb909d535011e07f871b3bef17213575acb13c03108cf1bba82987fc15f7cebcc0b83 SHA512 5a893d3d855b5f1cf5b2e3c1c5178cc25e4165288f1ecc257d8af5ac1f94fc70fce7be34cf4b0292acd6652e544dd989c0065c1287623b6d4a115a9974a441c9
diff --git a/gui-libs/gtk/gtk-4.12.1.ebuild b/gui-libs/gtk/gtk-4.12.1.ebuild
new file mode 100644
index 000000000000..129a4ca40173
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.1.ebuild
@@ -0,0 +1,228 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-29 17:49 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-08-29 17:49 UTC (permalink / raw
To: gentoo-commits
commit: ef4493a188580613c4240cda6c0d8674ec80dc06
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 17:47:08 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 17:47:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4493a1
gui-libs/gtk: Stabilize 4.10.5 sparc, #913218
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.5.ebuild b/gui-libs/gtk/gtk-4.10.5.ebuild
index 5d1253d5e4a6..00bdbfe5a0ea 100644
--- a/gui-libs/gtk/gtk-4.10.5.ebuild
+++ b/gui-libs/gtk/gtk-4.10.5.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-08-29 18:02 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-08-29 18:02 UTC (permalink / raw
To: gentoo-commits
commit: 6e1584626989076b3e3d1fc083c47b15f43ceee0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 18:00:29 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 18:00:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e158462
gui-libs/gtk: Stabilize 4.10.5 arm, #913218
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.5.ebuild b/gui-libs/gtk/gtk-4.10.5.ebuild
index 14b5925fb7f0..741e5af1c866 100644
--- a/gui-libs/gtk/gtk-4.10.5.ebuild
+++ b/gui-libs/gtk/gtk-4.10.5.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-09-01 16:07 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2023-09-01 16:07 UTC (permalink / raw
To: gentoo-commits
commit: 9e02366ce01869a1f997ecf196a2954ce7a931dc
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 1 16:05:46 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 1 16:05:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e02366c
gui-libs/gtk: Stabilize 4.10.5 ppc64, #913218
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.10.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.10.5.ebuild b/gui-libs/gtk/gtk-4.10.5.ebuild
index db05e46e9846..3265b6979014 100644
--- a/gui-libs/gtk/gtk-4.10.5.ebuild
+++ b/gui-libs/gtk/gtk-4.10.5.ebuild
@@ -17,7 +17,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.72.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-09-21 1:46 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-09-21 1:46 UTC (permalink / raw
To: gentoo-commits
commit: fa5bce81dd2934f330414beb5c2dd5820e733bda
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Wed Sep 20 22:22:17 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 01:45:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa5bce81
gui-libs/gtk: Version bump to 4.12.2
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32952
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.2.ebuild | 228 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 38c56ebcb56c..cdd78429aec9 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
DIST gtk-4.12.1.tar.xz 16924668 BLAKE2B c59d944de510e1c024564c320d44e15b5766f48bd03532944f01ae91111eb909d535011e07f871b3bef17213575acb13c03108cf1bba82987fc15f7cebcc0b83 SHA512 5a893d3d855b5f1cf5b2e3c1c5178cc25e4165288f1ecc257d8af5ac1f94fc70fce7be34cf4b0292acd6652e544dd989c0065c1287623b6d4a115a9974a441c9
+DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
diff --git a/gui-libs/gtk/gtk-4.12.2.ebuild b/gui-libs/gtk/gtk-4.12.2.ebuild
new file mode 100644
index 000000000000..129a4ca40173
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.2.ebuild
@@ -0,0 +1,228 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-09-22 2:33 Matt Turner
0 siblings, 0 replies; 128+ messages in thread
From: Matt Turner @ 2023-09-22 2:33 UTC (permalink / raw
To: gentoo-commits
commit: 84ef3b2011ed999c47cd38754b74e2f40536b3d1
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 01:56:15 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 02:32:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ef3b20
gui-libs/gtk: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 -
gui-libs/gtk/gtk-4.12.1.ebuild | 228 -----------------------------------------
2 files changed, 229 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index cdd78429aec9..3c05c79280d8 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,2 @@
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
-DIST gtk-4.12.1.tar.xz 16924668 BLAKE2B c59d944de510e1c024564c320d44e15b5766f48bd03532944f01ae91111eb909d535011e07f871b3bef17213575acb13c03108cf1bba82987fc15f7cebcc0b83 SHA512 5a893d3d855b5f1cf5b2e3c1c5178cc25e4165288f1ecc257d8af5ac1f94fc70fce7be34cf4b0292acd6652e544dd989c0065c1287623b6d4a115a9974a441c9
DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
diff --git a/gui-libs/gtk/gtk-4.12.1.ebuild b/gui-libs/gtk/gtk-4.12.1.ebuild
deleted file mode 100644
index 129a4ca40173..000000000000
--- a/gui-libs/gtk/gtk-4.12.1.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.76.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.31
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- dev-libs/glib
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i \
- -e '/gtk4-update-icon-cache/d' \
- docs/reference/gtk/meson.build \
- tools/meson.build \
- || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Introspection
- $(meson_feature introspection)
-
- # Documentation
- -Ddocumentation=false # we ship pregenerated API docs from tarball
- -Dscreenshots=false
- -Dman-pages=true
-
- # Demos, examples, and tests
- -Ddemo-profile=default
- $(meson_use examples build-demos)
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-10-08 11:51 Pacho Ramos
0 siblings, 0 replies; 128+ messages in thread
From: Pacho Ramos @ 2023-10-08 11:51 UTC (permalink / raw
To: gentoo-commits
commit: 6c2eebaeb75a0ca790a596d03ebd58a074b5b643
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Thu Sep 28 13:02:54 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 8 11:51:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2eebae
gui-libs/gtk: Version bump to 4.12.3
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33100
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.3.ebuild | 228 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 3c05c79280d8..22a52fb24110 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
+DIST gtk-4.12.3.tar.xz 16930224 BLAKE2B e90ab03a4eb84a3bb4213772c7c47601d99044275489d8bdd60d0fc5929d0dcef4445e6892c41df804111e4631b14e90ce8a3f0841bfbbe23cbbf06775f2bbb9 SHA512 f3efa9ad340362cecd81389219092b46e3b3f7b049dd6e02aecf4ac74f64f413f0b99c23cfac854e6b0a84d9715fb832beb7e0e698fcdb90ee49a78b27d0e366
diff --git a/gui-libs/gtk/gtk-4.12.3.ebuild b/gui-libs/gtk/gtk-4.12.3.ebuild
new file mode 100644
index 000000000000..129a4ca40173
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.3.ebuild
@@ -0,0 +1,228 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-12-17 21:52 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2023-12-17 21:52 UTC (permalink / raw
To: gentoo-commits
commit: b3c1b324d58c92ad8b19c67d4aed20ecc5e5f021
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sat Nov 18 18:43:21 2023 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 21:49:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c1b324
gui-libs/gtk: Version bump to 4.12.4
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33892
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.4.ebuild | 228 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 22a52fb24110..9e3a24abd978 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,3 +1,4 @@
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
DIST gtk-4.12.3.tar.xz 16930224 BLAKE2B e90ab03a4eb84a3bb4213772c7c47601d99044275489d8bdd60d0fc5929d0dcef4445e6892c41df804111e4631b14e90ce8a3f0841bfbbe23cbbf06775f2bbb9 SHA512 f3efa9ad340362cecd81389219092b46e3b3f7b049dd6e02aecf4ac74f64f413f0b99c23cfac854e6b0a84d9715fb832beb7e0e698fcdb90ee49a78b27d0e366
+DIST gtk-4.12.4.tar.xz 16951736 BLAKE2B ddac469b63f8f3a26b90c1ca0ad2f873d067102d5a3827c4b1a0561bf3e58646c042631ef11170cc062219bb54db39023a27d1bbbda839b1bd6fc8514eefb36d SHA512 354c686c160c7996ec7c69b31204786245c2a92615e4799b6248776f10f4393c167e73caf8d2fb949539c978358ffa2151092a515be94ec7eeb8951b773ae6d0
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
new file mode 100644
index 000000000000..129a4ca40173
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -0,0 +1,228 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2023-12-21 19:19 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2023-12-21 19:19 UTC (permalink / raw
To: gentoo-commits
commit: 5cc4cbfdc028f15523fac270c2f170fd6c44a503
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 21 19:16:15 2023 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 19:18:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc4cbfd
gui-libs/gtk: add missing wayland-scanner build dependency
Closes: https://bugs.gentoo.org/913872
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index 129a4ca40173..e33856da688e 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -89,6 +89,9 @@ BDEPEND="
dev-util/glib-utils
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
+ wayland? (
+ dev-util/wayland-scanner
+ )
test? (
dev-libs/glib:2
media-fonts/cantarell
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-01-08 7:03 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-01-08 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 4ed668b23be1dffa94b59b666249387465a77cef
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 8 06:59:34 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 8 07:01:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ed668b2
gui-libs/gtk: Stabilize 4.12.4 amd64, #920660
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index e33856da688e..2c860875df38 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-01-20 23:34 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-01-20 23:34 UTC (permalink / raw
To: gentoo-commits
commit: dbc92b0b70d5f390dd7998da3cd1d0c6a98a86cb
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 22:21:35 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 23:31:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc92b0b
gui-libs/gtk: add 4.12.5
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.12.5.ebuild | 231 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 232 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 9e3a24abd978..6f808d087526 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -2,3 +2,4 @@ DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e
DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
DIST gtk-4.12.3.tar.xz 16930224 BLAKE2B e90ab03a4eb84a3bb4213772c7c47601d99044275489d8bdd60d0fc5929d0dcef4445e6892c41df804111e4631b14e90ce8a3f0841bfbbe23cbbf06775f2bbb9 SHA512 f3efa9ad340362cecd81389219092b46e3b3f7b049dd6e02aecf4ac74f64f413f0b99c23cfac854e6b0a84d9715fb832beb7e0e698fcdb90ee49a78b27d0e366
DIST gtk-4.12.4.tar.xz 16951736 BLAKE2B ddac469b63f8f3a26b90c1ca0ad2f873d067102d5a3827c4b1a0561bf3e58646c042631ef11170cc062219bb54db39023a27d1bbbda839b1bd6fc8514eefb36d SHA512 354c686c160c7996ec7c69b31204786245c2a92615e4799b6248776f10f4393c167e73caf8d2fb949539c978358ffa2151092a515be94ec7eeb8951b773ae6d0
+DIST gtk-4.12.5.tar.xz 17314760 BLAKE2B ce6a88d2c3ecfa2a9773682645ff00a61fd932b9a6de764794ef8abd10c5c75df386801143c32d10fec110029e997a16c4cdcb0ef050905562c6dd9fdc46039d SHA512 813758f4fe23b99b2ea1cf22156b86b22df30024717ae3b30bbe36111f9b1363bbd4da5fe8e5f69268c43794ea165e12c1c5bc52fd64bcbb1f9ccd3121540ac4
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
new file mode 100644
index 000000000000..dbc583669c51
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -0,0 +1,231 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ wayland? (
+ dev-util/wayland-scanner
+ )
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature ffmpeg media-ffmpeg)
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Ddemo-profile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-03 11:50 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-03 11:50 UTC (permalink / raw
To: gentoo-commits
commit: 8a23caf66955042f394c2139f8bc1e7b1672b7a2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 11:49:52 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 11:49:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a23caf6
gui-libs/gtk: Stabilize 4.12.4 sparc, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index 2c860875df38..9c5ff7bd2b22 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-03 11:50 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-03 11:50 UTC (permalink / raw
To: gentoo-commits
commit: 4159c387a9128f9163331faccc70177ca02e8323
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 11:50:08 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 11:50:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4159c387
gui-libs/gtk: Stabilize 4.12.4 x86, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index cf0b19a003b3..74fb61faec17 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-03 11:50 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-03 11:50 UTC (permalink / raw
To: gentoo-commits
commit: 3c853ab91f932d26727341893fc5c13f4d0a0824
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 11:49:58 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 11:49:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c853ab9
gui-libs/gtk: Stabilize 4.12.4 ppc64, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index 9c5ff7bd2b22..cf0b19a003b3 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-03 15:57 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-02-03 15:57 UTC (permalink / raw
To: gentoo-commits
commit: f65b62402682644bfe3aded2ac95c359435449d6
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 15:51:46 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 15:56:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65b6240
gui-libs/gtk: drop 4.12.2, 4.12.3
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 2 -
gui-libs/gtk/gtk-4.12.2.ebuild | 228 -----------------------------------------
gui-libs/gtk/gtk-4.12.3.ebuild | 228 -----------------------------------------
3 files changed, 458 deletions(-)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 6f808d087526..e4e97d5b9b79 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,5 +1,3 @@
DIST gtk-4.10.5.tar.xz 16403464 BLAKE2B 9ca10de5e178e0b3e34fdf5f6126fc89e914a06e60c1c160b6273a5eb10b60e362e3db27af6012d2ea92452bb5787e6784e11d1f15a4ff284b04bbf9750ff91a SHA512 7ca1d2cabbeb6020613fcb11f57b8161f38337a6c3bc3572365dd642af9498fad0f5b2fc0a2419e06567d541e62e67b3d1087ab9bd3e756363052b2f7b366fde
-DIST gtk-4.12.2.tar.xz 16942832 BLAKE2B a4916d1b6fd6669422c2b18db70f6cc318ec330baafd4a6a9ceb4d37e7a9fd1206131a5b146ff33d4ac2c5f1e5d879f77026f7bd136e082630960a82212f4274 SHA512 5373a3c6bf434644b97c955207c80833c8f77402baca6a91b0f467b5a2fea1474e6913104ee764d61df19a8ca98c117580ad54a95cfab64113e26e8bdc3ff095
-DIST gtk-4.12.3.tar.xz 16930224 BLAKE2B e90ab03a4eb84a3bb4213772c7c47601d99044275489d8bdd60d0fc5929d0dcef4445e6892c41df804111e4631b14e90ce8a3f0841bfbbe23cbbf06775f2bbb9 SHA512 f3efa9ad340362cecd81389219092b46e3b3f7b049dd6e02aecf4ac74f64f413f0b99c23cfac854e6b0a84d9715fb832beb7e0e698fcdb90ee49a78b27d0e366
DIST gtk-4.12.4.tar.xz 16951736 BLAKE2B ddac469b63f8f3a26b90c1ca0ad2f873d067102d5a3827c4b1a0561bf3e58646c042631ef11170cc062219bb54db39023a27d1bbbda839b1bd6fc8514eefb36d SHA512 354c686c160c7996ec7c69b31204786245c2a92615e4799b6248776f10f4393c167e73caf8d2fb949539c978358ffa2151092a515be94ec7eeb8951b773ae6d0
DIST gtk-4.12.5.tar.xz 17314760 BLAKE2B ce6a88d2c3ecfa2a9773682645ff00a61fd932b9a6de764794ef8abd10c5c75df386801143c32d10fec110029e997a16c4cdcb0ef050905562c6dd9fdc46039d SHA512 813758f4fe23b99b2ea1cf22156b86b22df30024717ae3b30bbe36111f9b1363bbd4da5fe8e5f69268c43794ea165e12c1c5bc52fd64bcbb1f9ccd3121540ac4
diff --git a/gui-libs/gtk/gtk-4.12.2.ebuild b/gui-libs/gtk/gtk-4.12.2.ebuild
deleted file mode 100644
index 129a4ca40173..000000000000
--- a/gui-libs/gtk/gtk-4.12.2.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.76.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.31
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- dev-libs/glib
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i \
- -e '/gtk4-update-icon-cache/d' \
- docs/reference/gtk/meson.build \
- tools/meson.build \
- || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Introspection
- $(meson_feature introspection)
-
- # Documentation
- -Ddocumentation=false # we ship pregenerated API docs from tarball
- -Dscreenshots=false
- -Dman-pages=true
-
- # Demos, examples, and tests
- -Ddemo-profile=default
- $(meson_use examples build-demos)
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/gui-libs/gtk/gtk-4.12.3.ebuild b/gui-libs/gtk/gtk-4.12.3.ebuild
deleted file mode 100644
index 129a4ca40173..000000000000
--- a/gui-libs/gtk/gtk-4.12.3.ebuild
+++ /dev/null
@@ -1,228 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.76.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.31
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- dev-libs/glib
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i \
- -e '/gtk4-update-icon-cache/d' \
- docs/reference/gtk/meson.build \
- tools/meson.build \
- || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Introspection
- $(meson_feature introspection)
-
- # Documentation
- -Ddocumentation=false # we ship pregenerated API docs from tarball
- -Dscreenshots=false
- -Dman-pages=true
-
- # Demos, examples, and tests
- -Ddemo-profile=default
- $(meson_use examples build-demos)
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-10 14:16 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-10 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 9b9be38ce5ebdfb2b00f3b2ba6d2f9ac21c9ba5d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 14:15:21 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 14:15:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9be38c
gui-libs/gtk: Stabilize 4.12.4 arm, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index 74fb61faec17..167fb234d0ce 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-10 14:16 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-10 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 2e8c16d325a37f9c11f606ade483de8ddae8bbb0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 14:15:27 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 14:15:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8c16d3
gui-libs/gtk: Stabilize 4.12.4 arm64, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index 167fb234d0ce..b2d7cf6b1d0b 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-02-10 14:21 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-02-10 14:21 UTC (permalink / raw
To: gentoo-commits
commit: 1de6b642bf664a6354d1906559ede24a0f424ae2
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 14:20:41 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 14:20:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de6b642
gui-libs/gtk: Stabilize 4.12.4 ppc, #920660
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.4.ebuild b/gui-libs/gtk/gtk-4.12.4.ebuild
index b2d7cf6b1d0b..7a3ccf1b78bc 100644
--- a/gui-libs/gtk/gtk-4.12.4.ebuild
+++ b/gui-libs/gtk/gtk-4.12.4.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:19 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 51b11021e92edb557b144a495f2304244ee53bd0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:19:37 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:19:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b11021
gui-libs/gtk: Stabilize 4.12.5 amd64, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 2e5f9f3fa5a5..00781db750ce 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:19 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:19 UTC (permalink / raw
To: gentoo-commits
commit: abd0c0e57770520770cb56c6c5ce6f0eeffed62b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:19:31 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:19:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd0c0e5
gui-libs/gtk: Stabilize 4.12.5 arm64, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index c1e33436443a..df6f7bf65bba 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:19 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:19 UTC (permalink / raw
To: gentoo-commits
commit: 1ed7b0b9890900aa38b28d0bd1f073f5e5be36cb
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:19:34 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:19:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed7b0b9
gui-libs/gtk: Stabilize 4.12.5 x86, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index df6f7bf65bba..2e5f9f3fa5a5 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:19 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:19 UTC (permalink / raw
To: gentoo-commits
commit: ca74d623271c8fc981f43c98373956997d881527
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:19:28 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:19:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca74d623
gui-libs/gtk: Stabilize 4.12.5 arm, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index dbc583669c51..c1e33436443a 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:20 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:20 UTC (permalink / raw
To: gentoo-commits
commit: 67432ef9ab0d2bf33c6ea4956604dc35a125a5e3
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:20:42 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:20:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67432ef9
gui-libs/gtk: Stabilize 4.12.5 ppc64, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 6bc784c67650..15fe4e83553c 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:20 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:20 UTC (permalink / raw
To: gentoo-commits
commit: 802741bc482d3e9acd0eac39e9dd7bd3e4abd9ee
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:20:39 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:20:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802741bc
gui-libs/gtk: Stabilize 4.12.5 ppc, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 00781db750ce..6bc784c67650 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-06 21:20 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-04-06 21:20 UTC (permalink / raw
To: gentoo-commits
commit: 2801668e5dcf8ce6cd942a97dcbc357081973eaa
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 6 21:20:45 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 6 21:20:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2801668e
gui-libs/gtk: Stabilize 4.12.5 sparc, #926451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 15fe4e83553c..7a3ccf1b78bc 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-08 9:51 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-04-08 9:51 UTC (permalink / raw
To: gentoo-commits
commit: d5d70b601cf58a0705db33cd0463b0a28a8f2503
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 09:48:31 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Apr 8 09:48:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d70b60
gui-libs/gtk: add missing vulkan build dep
Note that the vulkan backend is too experimental and broken in 4.12, though it
isn't used by default without custom environment variables even when enabled.
In 4.14, it is working much better, albeit not the default yet. 4.16 will likely
switch vulkan as the default over GL when both are enabled.
Closes: https://bugs.gentoo.org/928929
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 7a3ccf1b78bc..21cbf4b52d50 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -89,6 +89,7 @@ BDEPEND="
dev-util/glib-utils
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
+ vulkan? ( media-libs/shaderc )
wayland? (
dev-util/wayland-scanner
)
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-22 5:49 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-04-22 5:49 UTC (permalink / raw
To: gentoo-commits
commit: 52ff5fb39a3c2a27bc76ee78a133789f5dd92568
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 22 04:31:52 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Apr 22 05:40:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ff5fb3
gui-libs/gtk: Update dep for media-libs/libepoxy[egl] IUSE removal
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5.ebuild
index 21cbf4b52d50..cd5ffd7bad88 100644
--- a/gui-libs/gtk/gtk-4.12.5.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5.ebuild
@@ -28,7 +28,7 @@ COMMON_DEPEND="
media-libs/libpng:=
media-libs/tiff:=
media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl,X(+)?]
+ >=media-libs/libepoxy-1.4[egl(+),X(+)?]
>=media-libs/graphene-1.10.0[introspection?]
app-text/iso-codes
x11-misc/shared-mime-info
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-25 21:55 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-04-25 21:55 UTC (permalink / raw
To: gentoo-commits
commit: 1142a40d1322ea96b2509a09201aa2723e89b344
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 21:11:51 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 21:54:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1142a40d
gui-libs/gtk: revbump for egl change
Fixes: 52ff5fb39a3c2a27bc76ee78a133789f5dd92568
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/{gtk-4.12.5.ebuild => gtk-4.12.5-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.12.5.ebuild b/gui-libs/gtk/gtk-4.12.5-r1.ebuild
similarity index 100%
rename from gui-libs/gtk/gtk-4.12.5.ebuild
rename to gui-libs/gtk/gtk-4.12.5-r1.ebuild
^ permalink raw reply [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-28 20:44 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-04-28 20:44 UTC (permalink / raw
To: gentoo-commits
commit: 653816fe975340fde768db29517257350e1db661
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 20:17:33 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 20:43:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653816fe
gui-libs/gtk: Dependency fixes, test running tweaks
* Add missing libdrm and linux-headers linux build deps.
* Fix minimum required vulkan version.
* examples automagically depend on librsvg - just pull it in for them, as the
circular dep with librsvg is mostly a thing of the past.
* Depend on either gles2 or opengl gst-plugins-base, as former is preferred
nowadays and the dep didn't allow avoiding the latter. Either will provide
the necessary for gtk[gstreamer] gstreamer-gl-1.0.pc package.
* Add media-libs/gstreamer dep for correctness and avoiding a iwdevtools warn.
* Leave a note about zero-copy dmabuf video playback build-time conditional
dependending on gstreamer-1.23 for later minimum dep raising.
* Drop obsolete at-spi2-core dependency - gtk has its own copy of everything
it needs.
* Clarify librsvg PDEPEND comment, as it's only for wd40 profiles, as rust
librsvg doesn't ship the tool behind USE=tools that links to gtk, where
that probably even was GTK 3, not GTK 4. Also SLOT depend just in case.
* Tweak the meson test parameters to match upstream CI setup a bit more in
terms of skipped test suites for a lesser chance of expected failures
being hit. The tests are still rather dependent on installed fonts, the
graphics driver used and so on, but lets see how it fares for others.
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.3.ebuild | 35 ++++++++++++++++++++++++++++-------
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.14.3.ebuild b/gui-libs/gtk/gtk-4.14.3.ebuild
index 9b673318f3f5..7f0c8930ab74 100644
--- a/gui-libs/gtk/gtk-4.14.3.ebuild
+++ b/gui-libs/gtk/gtk-4.14.3.ebuild
@@ -18,6 +18,7 @@ REQUIRED_USE="
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
>=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
@@ -36,12 +37,17 @@ COMMON_DEPEND="
cloudproviders? ( net-libs/libcloudproviders )
colord? ( >=x11-misc/colord-0.1.9:0= )
cups? ( >=net-print/cups-2.0 )
+ examples? ( gnome-base/librsvg:2 )
gstreamer? (
+ >=media-libs/gstreamer-1.12.3:1.0
>=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ || (
+ >=media-libs/gst-plugins-base-1.12.3:1.0[gles2]
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
)
introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
+ vulkan? ( >=media-libs/vulkan-loader-1.3:= )
wayland? (
>=dev-libs/wayland-1.21.0
>=dev-libs/wayland-protocols-1.31
@@ -49,7 +55,6 @@ COMMON_DEPEND="
>=x11-libs/libxkbcommon-0.2
)
X? (
- >=app-accessibility/at-spi2-core-2.46.0
media-libs/fontconfig
media-libs/mesa[X(+)]
x11-libs/libX11
@@ -63,15 +68,19 @@ COMMON_DEPEND="
)
"
DEPEND="${COMMON_DEPEND}
+ kernel_linux? (
+ x11-libs/libdrm
+ sys-kernel/linux-headers
+ )
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
X? ( x11-base/xorg-proto )
"
RDEPEND="${COMMON_DEPEND}
>=dev-util/gtk-update-icon-cache-3
"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+# librsvg for svg icons (PDEPEND to avoid circular dep on wd40 profiles with librsvg[tools]), bug #547710
PDEPEND="
- gnome-base/librsvg
+ gnome-base/librsvg:2
>=x11-themes/adwaita-icon-theme-3.14
"
BDEPEND="
@@ -177,7 +186,13 @@ src_test() {
if use X; then
einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --timeout-multiplier=130 \
+ --setup=x11 \
+ --no-suite=failing \
+ --no-suite=x11_failing \
+ --no-suite=flaky \
+ --no-suite=headless \
+ --no-suite=gsk-compare-broadway
fi
if use wayland; then
@@ -189,7 +204,13 @@ src_test() {
compositor=$!
export WAYLAND_DISPLAY=wayland-5
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --timeout-multiplier=130 \
+ --setup=wayland \
+ --no-suite=failing \
+ --no-suite=wayland_failing \
+ --no-suite=flaky \
+ --no-suite=headless \
+ --no-suite=gsk-compare-broadway
exit_code=$?
kill ${compositor}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-04-28 20:44 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-04-28 20:44 UTC (permalink / raw
To: gentoo-commits
commit: 298aa9562cc11330141f86cea80d632d0715d120
Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Sun Apr 21 22:29:56 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 20:43:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298aa956
gui-libs/gtk: Bump to 4.14.3
Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.14.3.ebuild | 230 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 231 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index 6df578a92734..d20cfb519069 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1 +1,2 @@
DIST gtk-4.12.5.tar.xz 17314760 BLAKE2B ce6a88d2c3ecfa2a9773682645ff00a61fd932b9a6de764794ef8abd10c5c75df386801143c32d10fec110029e997a16c4cdcb0ef050905562c6dd9fdc46039d SHA512 813758f4fe23b99b2ea1cf22156b86b22df30024717ae3b30bbe36111f9b1363bbd4da5fe8e5f69268c43794ea165e12c1c5bc52fd64bcbb1f9ccd3121540ac4
+DIST gtk-4.14.3.tar.xz 18340444 BLAKE2B 20238e061c6500a8b253617010ac017e84ec2cacd9f10a7d2e982e9d72b72d78ee46abb3eb836d853d1d10736c697fc7468b2700b16ce5477a34400e8758e2b8 SHA512 2502fff3e98cb45f2293c94d86c32ff9b7c88d72eb7500a19fc9e589e1eda69af94c4eae78c044dcf5cf345cb99537d264250115d633034d9552cadc67f71e8e
diff --git a/gui-libs/gtk/gtk-4.14.3.ebuild b/gui-libs/gtk/gtk-4.14.3.ebuild
new file mode 100644
index 000000000000..9b673318f3f5
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.14.3.ebuild
@@ -0,0 +1,230 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl(+),X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( media-libs/vulkan-loader:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ >=app-accessibility/at-spi2-core-2.46.0
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
+PDEPEND="
+ gnome-base/librsvg
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ vulkan? ( media-libs/shaderc )
+ wayland? (
+ dev-util/wayland-scanner
+ )
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Dprofile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-05-04 21:22 Mart Raudsepp
0 siblings, 0 replies; 128+ messages in thread
From: Mart Raudsepp @ 2024-05-04 21:22 UTC (permalink / raw
To: gentoo-commits
commit: d729c7f6afb96826edab20a1a7bdeb22db2b451f
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat May 4 21:21:32 2024 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat May 4 21:22:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d729c7f6
gui-libs/gtk: add 4.14.4
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
gui-libs/gtk/Manifest | 1 +
gui-libs/gtk/gtk-4.14.4.ebuild | 251 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 252 insertions(+)
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index d20cfb519069..778cd0fb700c 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,2 +1,3 @@
DIST gtk-4.12.5.tar.xz 17314760 BLAKE2B ce6a88d2c3ecfa2a9773682645ff00a61fd932b9a6de764794ef8abd10c5c75df386801143c32d10fec110029e997a16c4cdcb0ef050905562c6dd9fdc46039d SHA512 813758f4fe23b99b2ea1cf22156b86b22df30024717ae3b30bbe36111f9b1363bbd4da5fe8e5f69268c43794ea165e12c1c5bc52fd64bcbb1f9ccd3121540ac4
DIST gtk-4.14.3.tar.xz 18340444 BLAKE2B 20238e061c6500a8b253617010ac017e84ec2cacd9f10a7d2e982e9d72b72d78ee46abb3eb836d853d1d10736c697fc7468b2700b16ce5477a34400e8758e2b8 SHA512 2502fff3e98cb45f2293c94d86c32ff9b7c88d72eb7500a19fc9e589e1eda69af94c4eae78c044dcf5cf345cb99537d264250115d633034d9552cadc67f71e8e
+DIST gtk-4.14.4.tar.xz 18306548 BLAKE2B 352831cb6373488593831e0d3489d425ca19b2b6c5541e269e251bb4f0455b435d73d24befef441fe09537838446eb773f33cbca746a9aeeed2204c413535ac0 SHA512 33a983f4ebac9088eaf9d3794a171d1619632bbcb27d9f46d894305dc15f83615a18443598b3c62a553b9596438b58226560ba17c41e539c76c3ee8a2b62c651
diff --git a/gui-libs/gtk/gtk-4.14.4.ebuild b/gui-libs/gtk/gtk-4.14.4.ebuild
new file mode 100644
index 000000000000..7f0c8930ab74
--- /dev/null
+++ b/gui-libs/gtk/gtk-4.14.4.ebuild
@@ -0,0 +1,251 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
+
+DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
+HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
+
+LICENSE="LGPL-2+"
+SLOT="4"
+IUSE="aqua broadway cloudproviders colord cups examples gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
+REQUIRED_USE="
+ || ( aqua wayland X )
+ test? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
+COMMON_DEPEND="
+ >=dev-libs/glib-2.76.0:2
+ >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
+ >=x11-libs/pango-1.50.0[introspection?]
+ >=dev-libs/fribidi-1.0.6
+ >=media-libs/harfbuzz-2.6.0:=
+ >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
+ media-libs/libpng:=
+ media-libs/tiff:=
+ media-libs/libjpeg-turbo:=
+ >=media-libs/libepoxy-1.4[egl(+),X(+)?]
+ >=media-libs/graphene-1.10.0[introspection?]
+ app-text/iso-codes
+ x11-misc/shared-mime-info
+
+ cloudproviders? ( net-libs/libcloudproviders )
+ colord? ( >=x11-misc/colord-0.1.9:0= )
+ cups? ( >=net-print/cups-2.0 )
+ examples? ( gnome-base/librsvg:2 )
+ gstreamer? (
+ >=media-libs/gstreamer-1.12.3:1.0
+ >=media-libs/gst-plugins-bad-1.12.3:1.0
+ || (
+ >=media-libs/gst-plugins-base-1.12.3:1.0[gles2]
+ >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
+ )
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1.76:= )
+ vulkan? ( >=media-libs/vulkan-loader-1.3:= )
+ wayland? (
+ >=dev-libs/wayland-1.21.0
+ >=dev-libs/wayland-protocols-1.31
+ media-libs/mesa[wayland]
+ >=x11-libs/libxkbcommon-0.2
+ )
+ X? (
+ media-libs/fontconfig
+ media-libs/mesa[X(+)]
+ x11-libs/libX11
+ >=x11-libs/libXi-1.8
+ x11-libs/libXext
+ >=x11-libs/libXrandr-1.5
+ x11-libs/libXcursor
+ x11-libs/libXfixes
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ kernel_linux? (
+ x11-libs/libdrm
+ sys-kernel/linux-headers
+ )
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
+ X? ( x11-base/xorg-proto )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=dev-util/gtk-update-icon-cache-3
+"
+# librsvg for svg icons (PDEPEND to avoid circular dep on wd40 profiles with librsvg[tools]), bug #547710
+PDEPEND="
+ gnome-base/librsvg:2
+ >=x11-themes/adwaita-icon-theme-3.14
+"
+BDEPEND="
+ dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
+ dev-python/docutils
+ dev-libs/glib
+ >=dev-util/gdbus-codegen-2.48
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.7
+ virtual/pkgconfig
+ vulkan? ( media-libs/shaderc )
+ wayland? (
+ dev-util/wayland-scanner
+ )
+ test? (
+ dev-libs/glib:2
+ media-fonts/cantarell
+ wayland? ( dev-libs/weston[headless] )
+ )
+"
+
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ xdg_environment_reset
+
+ # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
+ sed -i \
+ -e '/gtk4-update-icon-cache/d' \
+ docs/reference/gtk/meson.build \
+ tools/meson.build \
+ || die
+
+ # The border-image-excess-size.ui test is known to fail on big-endian platforms
+ # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
+ if [[ $(tc-endian) == big ]]; then
+ sed -i \
+ -e "/border-image-excess-size.ui/d" \
+ -e "/^xfails =/a 'border-image-excess-size.ui'," \
+ testsuite/reftests/meson.build || die
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ # GDK backends
+ $(meson_use X x11-backend)
+ $(meson_use wayland wayland-backend)
+ $(meson_use broadway broadway-backend)
+ -Dwin32-backend=false
+ $(meson_use aqua macos-backend)
+
+ # Media backends
+ $(meson_feature gstreamer media-gstreamer)
+
+ # Print backends
+ -Dprint-cpdb=disabled
+ $(meson_feature cups print-cups)
+
+ # Optional dependencies
+ $(meson_feature vulkan)
+ $(meson_feature cloudproviders)
+ $(meson_feature sysprof)
+ -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
+ $(meson_feature colord)
+ # Expected to fail with GCC < 11
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
+ $(meson_feature cpu_flags_x86_f16c f16c)
+
+ # Introspection
+ $(meson_feature introspection)
+
+ # Documentation
+ -Ddocumentation=false # we ship pregenerated API docs from tarball
+ -Dscreenshots=false
+ -Dman-pages=true
+
+ # Demos, examples, and tests
+ -Dprofile=default
+ $(meson_use examples build-demos)
+ $(meson_use test build-testsuite)
+ $(meson_use examples build-examples)
+ -Dbuild-tests=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
+
+ if use X; then
+ einfo "Running tests under X"
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --timeout-multiplier=130 \
+ --setup=x11 \
+ --no-suite=failing \
+ --no-suite=x11_failing \
+ --no-suite=flaky \
+ --no-suite=headless \
+ --no-suite=gsk-compare-broadway
+ fi
+
+ if use wayland; then
+ einfo "Running tests under Weston"
+
+ export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+ weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
+ compositor=$!
+ export WAYLAND_DISPLAY=wayland-5
+
+ GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --timeout-multiplier=130 \
+ --setup=wayland \
+ --no-suite=failing \
+ --no-suite=wayland_failing \
+ --no-suite=flaky \
+ --no-suite=headless \
+ --no-suite=gsk-compare-broadway
+
+ exit_code=$?
+ kill ${compositor}
+ fi
+}
+
+src_install() {
+ meson_src_install
+
+ insinto /usr/share/gtk-doc/html
+ # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
+ doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ if ! has_version "app-text/evince"; then
+ elog "Please install app-text/evince for print preview functionality."
+ elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
+ elog "add it to your settings.ini file."
+ fi
+
+ if use examples ; then
+ optfeature "syntax highlighting in gtk4-demo" app-text/highlight
+ fi
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-09 17:19 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-08-09 17:19 UTC (permalink / raw
To: gentoo-commits
commit: afb227daa62dc8b9cee4dda147a33a6e7f97ce7c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 9 17:17:34 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 17:17:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb227da
gui-libs/gtk: Stabilize 4.12.5-r2 arm, #937415
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r2.ebuild b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
index 799fa064386a..feec9321a298 100644
--- a/gui-libs/gtk/gtk-4.12.5-r2.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-09 17:19 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-08-09 17:19 UTC (permalink / raw
To: gentoo-commits
commit: 6f3bea84d6ed7f81252136631a3ff85d886c1232
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 9 17:17:47 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 17:17:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3bea84
gui-libs/gtk: Stabilize 4.12.5-r2 ppc, #937415
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r2.ebuild b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
index feec9321a298..3f3150cf29a4 100644
--- a/gui-libs/gtk/gtk-4.12.5-r2.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-09 17:19 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-08-09 17:19 UTC (permalink / raw
To: gentoo-commits
commit: bcd5a6190a4cd5cec5bd494fdab6b12ce41a5dd1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 9 17:17:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 17:17:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcd5a619
gui-libs/gtk: Stabilize 4.12.5-r2 ppc64, #937415
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r2.ebuild b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
index 3f3150cf29a4..2d4fee200749 100644
--- a/gui-libs/gtk/gtk-4.12.5-r2.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-09 17:19 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-08-09 17:19 UTC (permalink / raw
To: gentoo-commits
commit: d619c9ac15989e7cc2354b6f70945a94f0ab5ff7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 9 17:18:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 17:18:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d619c9ac
gui-libs/gtk: Stabilize 4.12.5-r2 sparc, #937415
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r2.ebuild b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
index 2d4fee200749..7ae3460942aa 100644
--- a/gui-libs/gtk/gtk-4.12.5-r2.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-09 17:19 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-08-09 17:19 UTC (permalink / raw
To: gentoo-commits
commit: b81de98d5b6dfb10c460c01e14ff4de562c98b5e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 9 17:18:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 17:18:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81de98d
gui-libs/gtk: Stabilize 4.12.5-r2 x86, #937415
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r2.ebuild b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
index 7ae3460942aa..ded47b8e3d93 100644
--- a/gui-libs/gtk/gtk-4.12.5-r2.ebuild
+++ b/gui-libs/gtk/gtk-4.12.5-r2.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
COMMON_DEPEND="
>=dev-libs/glib-2.76.0:2
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-08-12 16:49 Eli Schwartz
0 siblings, 0 replies; 128+ messages in thread
From: Eli Schwartz @ 2024-08-12 16:49 UTC (permalink / raw
To: gentoo-commits
commit: 9b93c6bb12e649ed0114c1ccfe6597d51d18c127
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 12 16:33:08 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 16:48:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b93c6bb
gui-libs/gtk: drop 4.12.5-r1
-r2 has important changes and is now stabilized.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
gui-libs/gtk/gtk-4.12.5-r1.ebuild | 232 --------------------------------------
1 file changed, 232 deletions(-)
diff --git a/gui-libs/gtk/gtk-4.12.5-r1.ebuild b/gui-libs/gtk/gtk-4.12.5-r1.ebuild
deleted file mode 100644
index cd5ffd7bad88..000000000000
--- a/gui-libs/gtk/gtk-4.12.5-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
-inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
-
-DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
-HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
-
-LICENSE="LGPL-2+"
-SLOT="4"
-IUSE="aqua broadway cloudproviders colord cups examples ffmpeg gstreamer +introspection sysprof test vulkan wayland +X cpu_flags_x86_f16c"
-REQUIRED_USE="
- || ( aqua wayland X )
- test? ( introspection )
-"
-
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-
-COMMON_DEPEND="
- >=dev-libs/glib-2.76.0:2
- >=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
- >=x11-libs/pango-1.50.0[introspection?]
- >=dev-libs/fribidi-1.0.6
- >=media-libs/harfbuzz-2.6.0:=
- >=x11-libs/gdk-pixbuf-2.30:2[introspection?]
- media-libs/libpng:=
- media-libs/tiff:=
- media-libs/libjpeg-turbo:=
- >=media-libs/libepoxy-1.4[egl(+),X(+)?]
- >=media-libs/graphene-1.10.0[introspection?]
- app-text/iso-codes
- x11-misc/shared-mime-info
-
- cloudproviders? ( net-libs/libcloudproviders )
- colord? ( >=x11-misc/colord-0.1.9:0= )
- cups? ( >=net-print/cups-2.0 )
- ffmpeg? ( media-video/ffmpeg:= )
- gstreamer? (
- >=media-libs/gst-plugins-bad-1.12.3:1.0
- >=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
- )
- introspection? ( >=dev-libs/gobject-introspection-1.76:= )
- vulkan? ( media-libs/vulkan-loader:= )
- wayland? (
- >=dev-libs/wayland-1.21.0
- >=dev-libs/wayland-protocols-1.31
- media-libs/mesa[wayland]
- >=x11-libs/libxkbcommon-0.2
- )
- X? (
- >=app-accessibility/at-spi2-core-2.46.0
- media-libs/fontconfig
- media-libs/mesa[X(+)]
- x11-libs/libX11
- >=x11-libs/libXi-1.8
- x11-libs/libXext
- >=x11-libs/libXrandr-1.5
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXdamage
- x11-libs/libXinerama
- )
-"
-DEPEND="${COMMON_DEPEND}
- sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
- X? ( x11-base/xorg-proto )
-"
-RDEPEND="${COMMON_DEPEND}
- >=dev-util/gtk-update-icon-cache-3
-"
-# librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710
-PDEPEND="
- gnome-base/librsvg
- >=x11-themes/adwaita-icon-theme-3.14
-"
-BDEPEND="
- dev-libs/gobject-introspection-common
- introspection? (
- ${PYTHON_DEPS}
- $(python_gen_any_dep '
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- ')
- )
- dev-python/docutils
- dev-libs/glib
- >=dev-util/gdbus-codegen-2.48
- dev-util/glib-utils
- >=sys-devel/gettext-0.19.7
- virtual/pkgconfig
- vulkan? ( media-libs/shaderc )
- wayland? (
- dev-util/wayland-scanner
- )
- test? (
- dev-libs/glib:2
- media-fonts/cantarell
- wayland? ( dev-libs/weston[headless] )
- )
-"
-
-python_check_deps() {
- python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
-}
-
-pkg_setup() {
- use introspection && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # Nothing should use gtk4-update-icon-cache and an unversioned one is shipped by dev-util/gtk-update-icon-cache
- sed -i \
- -e '/gtk4-update-icon-cache/d' \
- docs/reference/gtk/meson.build \
- tools/meson.build \
- || die
-
- # The border-image-excess-size.ui test is known to fail on big-endian platforms
- # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904
- if [[ $(tc-endian) == big ]]; then
- sed -i \
- -e "/border-image-excess-size.ui/d" \
- -e "/^xfails =/a 'border-image-excess-size.ui'," \
- testsuite/reftests/meson.build || die
- fi
-}
-
-src_configure() {
- local emesonargs=(
- # GDK backends
- $(meson_use X x11-backend)
- $(meson_use wayland wayland-backend)
- $(meson_use broadway broadway-backend)
- -Dwin32-backend=false
- $(meson_use aqua macos-backend)
-
- # Media backends
- $(meson_feature ffmpeg media-ffmpeg)
- $(meson_feature gstreamer media-gstreamer)
-
- # Print backends
- -Dprint-cpdb=disabled
- $(meson_feature cups print-cups)
-
- # Optional dependencies
- $(meson_feature vulkan)
- $(meson_feature cloudproviders)
- $(meson_feature sysprof)
- -Dtracker=disabled # tracker3 is not packaged in Gentoo yet
- $(meson_feature colord)
- # Expected to fail with GCC < 11
- # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
- $(meson_feature cpu_flags_x86_f16c f16c)
-
- # Introspection
- $(meson_feature introspection)
-
- # Documentation
- -Ddocumentation=false # we ship pregenerated API docs from tarball
- -Dscreenshots=false
- -Dman-pages=true
-
- # Demos, examples, and tests
- -Ddemo-profile=default
- $(meson_use examples build-demos)
- $(meson_use test build-testsuite)
- $(meson_use examples build-examples)
- -Dbuild-tests=false
- )
- meson_src_configure
-}
-
-src_test() {
- "${BROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/gtk" || die
-
- if use X; then
- einfo "Running tests under X"
- GSETTINGS_SCHEMA_DIR="${S}/gtk" virtx meson_src_test --setup=x11 --timeout-multiplier=130
- fi
-
- if use wayland; then
- einfo "Running tests under Weston"
-
- export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
-
- weston --backend=headless-backend.so --socket=wayland-5 --idle-time=0 &
- compositor=$!
- export WAYLAND_DISPLAY=wayland-5
-
- GSETTINGS_SCHEMA_DIR="${S}/gtk" meson_src_test --setup=wayland --timeout-multiplier=130
-
- exit_code=$?
- kill ${compositor}
- fi
-}
-
-src_install() {
- meson_src_install
-
- insinto /usr/share/gtk-doc/html
- # This will install API docs specific to X11 and wayland regardless of USE flags, but this is intentional
- doins -r "${S}"/docs/reference/{gtk/gtk4,gsk/gsk4,gdk/gdk4{,-wayland,-x11}}
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-
- if ! has_version "app-text/evince"; then
- elog "Please install app-text/evince for print preview functionality."
- elog "Alternatively, check \"gtk-print-preview-command\" documentation and"
- elog "add it to your settings.ini file."
- fi
-
- if use examples ; then
- optfeature "syntax highlighting in gtk4-demo" app-text/highlight
- fi
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: fb40dd834244673d3902342015d12114a35b9fb4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:30:54 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:30:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb40dd83
gui-libs/gtk: Stabilize 4.14.4-r1 amd64, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 00d8f5bbcaa1..4f311db2bebf 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 2e424e3ae74d1af1ad928b4a76b1817c788b0753
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:30:58 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:30:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e424e3a
gui-libs/gtk: Stabilize 4.14.4-r1 x86, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 4f311db2bebf..ff6388fbd822 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 9aac2cd7fd94ee3fbb74402eeb6054d155fe9c35
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:31:02 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:31:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aac2cd7
gui-libs/gtk: Stabilize 4.14.4-r1 arm, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index ff6388fbd822..0b3cec5b04fd 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 5c7fd677f53f25520ba3e9f4832fcc31d551df5f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:31:05 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:31:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7fd677
gui-libs/gtk: Stabilize 4.14.4-r1 arm64, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 0b3cec5b04fd..27cee534f990 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 14d66a029b35f111d1d93f091bb9e6082c52a395
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:31:08 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:31:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d66a02
gui-libs/gtk: Stabilize 4.14.4-r1 ppc, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 27cee534f990..b1d66a4753ce 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:31 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 49d44176859df0b5913678c45fbe8287d3005f4f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:31:12 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:31:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d44176
gui-libs/gtk: Stabilize 4.14.4-r1 ppc64, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index b1d66a4753ce..12a3a482495c 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-09-07 10:32 Arthur Zamarin
0 siblings, 0 replies; 128+ messages in thread
From: Arthur Zamarin @ 2024-09-07 10:32 UTC (permalink / raw
To: gentoo-commits
commit: b47587c19d0d913b037f18321c0061bc62f7aa2d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 10:32:05 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 10:32:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47587c1
gui-libs/gtk: Stabilize 4.14.4-r1 sparc, #936094
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 12a3a482495c..7c1ee21f75a6 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -16,7 +16,7 @@ REQUIRED_USE="
test? ( introspection )
"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
# TODO: Optional gst build dep on >=gst-plugins-base-1.23.1, so depend on it once we can
COMMON_DEPEND="
^ permalink raw reply related [flat|nested] 128+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/
@ 2024-10-07 2:52 Sam James
0 siblings, 0 replies; 128+ messages in thread
From: Sam James @ 2024-10-07 2:52 UTC (permalink / raw
To: gentoo-commits
commit: 80a99f21c3ea7742d144968481228bfa87e5b9ae
Author: Sasha Finkelstein <fnkl.kernel <AT> gmail <DOT> com>
AuthorDate: Sat Oct 5 13:50:56 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 02:50:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a99f21
gui-libs/gtk: Add python3_13 compat
Signed-off-by: Sasha Finkelstein <fnkl.kernel <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
gui-libs/gtk/gtk-4.14.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui-libs/gtk/gtk-4.14.4-r1.ebuild b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
index 03c72b853203..dbcdaa083eaa 100644
--- a/gui-libs/gtk/gtk-4.14.4-r1.ebuild
+++ b/gui-libs/gtk/gtk-4.14.4-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
^ permalink raw reply related [flat|nested] 128+ messages in thread
end of thread, other threads:[~2024-10-07 2:52 UTC | newest]
Thread overview: 128+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 5:49 [gentoo-commits] repo/gentoo:master commit in: gui-libs/gtk/ Mart Raudsepp
-- strict thread matches above, loose matches on Subject: below --
2024-10-07 2:52 Sam James
2024-09-07 10:32 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-09-07 10:31 Arthur Zamarin
2024-08-12 16:49 Eli Schwartz
2024-08-09 17:19 Sam James
2024-08-09 17:19 Sam James
2024-08-09 17:19 Sam James
2024-08-09 17:19 Sam James
2024-08-09 17:19 Sam James
2024-05-04 21:22 Mart Raudsepp
2024-04-28 20:44 Mart Raudsepp
2024-04-28 20:44 Mart Raudsepp
2024-04-25 21:55 Sam James
2024-04-08 9:51 Mart Raudsepp
2024-04-06 21:20 Arthur Zamarin
2024-04-06 21:20 Arthur Zamarin
2024-04-06 21:20 Arthur Zamarin
2024-04-06 21:19 Arthur Zamarin
2024-04-06 21:19 Arthur Zamarin
2024-04-06 21:19 Arthur Zamarin
2024-04-06 21:19 Arthur Zamarin
2024-02-10 14:21 Arthur Zamarin
2024-02-10 14:16 Arthur Zamarin
2024-02-10 14:16 Arthur Zamarin
2024-02-03 15:57 Mart Raudsepp
2024-02-03 11:50 Arthur Zamarin
2024-02-03 11:50 Arthur Zamarin
2024-02-03 11:50 Arthur Zamarin
2024-01-20 23:34 Mart Raudsepp
2024-01-08 7:03 Sam James
2023-12-21 19:19 Mart Raudsepp
2023-12-17 21:52 Mart Raudsepp
2023-10-08 11:51 Pacho Ramos
2023-09-22 2:33 Matt Turner
2023-09-21 1:46 Matt Turner
2023-09-01 16:07 Arthur Zamarin
2023-08-29 18:02 Arthur Zamarin
2023-08-29 17:49 Arthur Zamarin
2023-08-25 16:04 Matt Turner
2023-08-16 22:32 Matt Turner
2023-08-12 19:39 Arthur Zamarin
2023-08-10 2:23 Matt Turner
2023-08-06 17:36 Matt Turner
2023-08-06 3:26 Matt Turner
2023-08-02 17:00 Sam James
2023-07-15 12:20 Arthur Zamarin
2023-07-15 8:49 Arthur Zamarin
2023-07-02 13:11 Sam James
2023-07-02 8:33 Sam James
2023-07-02 8:04 Sam James
2023-06-09 3:01 Matt Turner
2023-06-06 0:31 Matt Turner
2023-05-23 2:52 Sam James
2023-05-04 16:37 Arthur Zamarin
2023-05-04 16:37 Arthur Zamarin
2023-05-04 16:32 Arthur Zamarin
2023-05-04 16:32 Arthur Zamarin
2023-05-04 16:16 Arthur Zamarin
2023-05-03 6:33 Arthur Zamarin
2023-05-02 20:50 Sam James
2023-05-02 17:53 Arthur Zamarin
2023-04-25 19:01 Sam James
2023-04-22 14:45 Matt Turner
2023-04-22 3:08 Matt Turner
2023-03-14 17:48 Matt Turner
2023-03-05 3:25 Matt Turner
2023-02-20 17:32 Matt Turner
2023-02-17 8:23 Arthur Zamarin
2023-02-16 18:39 Arthur Zamarin
2023-02-16 18:39 Arthur Zamarin
2022-12-23 0:19 Matt Turner
2022-12-15 22:37 Matt Turner
2022-12-15 22:37 Matt Turner
2022-11-05 9:44 Arthur Zamarin
2022-10-30 23:21 Matt Turner
2022-10-25 20:08 Matt Turner
2022-10-14 14:29 Matt Turner
2022-10-14 4:00 Matt Turner
2022-10-08 18:25 Sam James
2022-10-06 16:38 Matt Turner
2022-09-28 16:29 Arthur Zamarin
2022-09-19 1:38 Sam James
2022-09-13 17:21 Matt Turner
2022-08-18 2:25 Matt Turner
2022-08-15 19:13 Arthur Zamarin
2022-08-15 19:13 Arthur Zamarin
2022-08-15 17:43 Arthur Zamarin
2022-07-21 0:13 Sam James
2022-07-18 17:44 Sam James
2022-07-03 18:46 Matt Turner
2022-05-31 9:24 Jakov Smolić
2022-05-31 3:49 Matt Turner
2022-05-31 3:48 Matt Turner
2022-05-26 3:57 WANG Xuerui
2022-05-15 3:10 Sam James
2022-05-14 4:54 Matt Turner
2022-05-10 4:06 Arthur Zamarin
2022-05-07 18:28 Arthur Zamarin
2022-04-28 18:40 Matt Turner
2022-03-27 4:44 Matt Turner
2022-03-27 4:44 Matt Turner
2022-03-20 22:15 Matt Turner
2022-03-09 15:39 Sam James
2022-02-12 17:01 Matt Turner
2022-01-24 3:39 Sam James
2022-01-20 10:02 Jakov Smolić
2022-01-20 9:42 Arthur Zamarin
2022-01-07 22:56 Mart Raudsepp
2021-11-10 21:53 Mart Raudsepp
2021-09-11 13:15 Mart Raudsepp
2021-08-24 10:42 Marek Szuba
2021-06-13 20:25 Sam James
2021-05-15 1:59 Sam James
2021-05-10 12:23 Sam James
2021-05-10 12:23 Sam James
2021-05-08 2:08 Thomas Deutschmann
2021-05-04 20:12 Matt Turner
2021-05-04 19:25 Matt Turner
2021-05-04 4:11 Matt Turner
2021-05-03 22:39 Matt Turner
2021-05-01 3:39 Matt Turner
2021-04-05 16:54 Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox