Update to gtk+4-3.99.5.

This commit is contained in:
ajacoutot 2020-12-09 13:42:56 +00:00
parent 26c92cc3b4
commit e830562f22
4 changed files with 13 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2020/11/14 11:03:46 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.34 2020/12/09 13:42:56 ajacoutot Exp $
# XXX: PORTROACH is set at the end of this file to override gnome.port.mk
@ -15,10 +15,7 @@ COMMENT-guic= gtk+ icon theme caching utility
COMMENT-media= gtk+ media engine
GNOME_PROJECT= gtk
GNOME_VERSION= 3.99.4
REVISION-main= 0
REVISION-cups= 0
GNOME_VERSION= 3.99.5
PKGNAME-main= gtk+4-${GNOME_VERSION}
PKGNAME-cloudprint= gtk+4-cloudprint-${GNOME_VERSION}
@ -29,7 +26,7 @@ PKGNAME-media= gtk+4-media-${GNOME_VERSION}
CATEGORIES= x11 devel
SHARED_LIBS += gtk-4 3.2 # 0.9900.0
SHARED_LIBS += gtk-4 3.3 # 0.9905.0
HOMEPAGE= http://www.gtk.org/

View File

@ -1,2 +1,2 @@
SHA256 (gtk-3.99.4.tar.xz) = iXnLHratKkluAOlGdNI/kK765dPyO2I//aCzXRHshdA=
SIZE (gtk-3.99.4.tar.xz) = 19464736
SHA256 (gtk-3.99.5.tar.xz) = dfxQ83BMKSxBRRW+wgbpAUpHeeZorqTc0lfXrkGhgR4=
SIZE (gtk-3.99.5.tar.xz) = 19488568

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-gtk_gtkplacessidebar_c,v 1.6 2020/11/09 12:17:07 ajacoutot Exp $
$OpenBSD: patch-gtk_gtkplacessidebar_c,v 1.7 2020/12/09 13:42:56 ajacoutot Exp $
unveil(2): check if the XDG directories exist before showing them on the sidebar
Index: gtk/gtkplacessidebar.c
--- gtk/gtkplacessidebar.c.orig
+++ gtk/gtkplacessidebar.c
@@ -601,6 +601,7 @@ add_special_dirs (GtkPlacesSidebar *sidebar)
@@ -602,6 +602,7 @@ add_special_dirs (GtkPlacesSidebar *sidebar)
*/
if (path == NULL ||
path_is_home_dir (path) ||
@ -13,7 +13,7 @@ Index: gtk/gtkplacessidebar.c
g_list_find_custom (dirs, path, (GCompareFunc) g_strcmp0) != NULL)
continue;
@@ -653,7 +654,8 @@ get_desktop_directory_uri (void)
@@ -654,7 +655,8 @@ get_desktop_directory_uri (void)
/* "To disable a directory, point it to the homedir."
* See http://freedesktop.org/wiki/Software/xdg-user-dirs
*/
@ -23,7 +23,7 @@ Index: gtk/gtkplacessidebar.c
return NULL;
return g_filename_to_uri (name, NULL, NULL);
@@ -1018,6 +1020,11 @@ update_places (GtkPlacesSidebar *sidebar)
@@ -1019,6 +1021,11 @@ update_places (GtkPlacesSidebar *sidebar)
/* home folder */
home_uri = get_home_directory_uri ();
@ -33,9 +33,9 @@ Index: gtk/gtkplacessidebar.c
+#endif
+
start_icon = g_themed_icon_new_with_default_fallbacks (ICON_NAME_HOME);
add_place (sidebar, PLACES_BUILT_IN,
SECTION_COMPUTER,
@@ -1027,6 +1034,9 @@ update_places (GtkPlacesSidebar *sidebar)
add_place (sidebar, GTK_PLACES_BUILT_IN,
GTK_PLACES_SECTION_COMPUTER,
@@ -1028,6 +1035,9 @@ update_places (GtkPlacesSidebar *sidebar)
g_object_unref (start_icon);
g_free (home_uri);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.15 2020/11/09 12:17:07 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.16 2020/12/09 13:42:56 ajacoutot Exp $
@bin bin/gtk4-builder-tool
@bin bin/gtk4-encode-symbolic-svg
@bin bin/gtk4-launch
@ -183,7 +183,6 @@ include/gtk-4.0/gtk/gtkeventcontrollerscroll.h
include/gtk-4.0/gtk/gtkexpander.h
include/gtk-4.0/gtk/gtkexpression.h
include/gtk-4.0/gtk/gtkfilechooser.h
include/gtk-4.0/gtk/gtkfilechooserbutton.h
include/gtk-4.0/gtk/gtkfilechooserdialog.h
include/gtk-4.0/gtk/gtkfilechoosernative.h
include/gtk-4.0/gtk/gtkfilechooserwidget.h