Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-toolkits/gtk40: update to 4.12.0
Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.0/NEWS Reported by: GitLab (notify releases)
- Loading branch information
Showing
4 changed files
with
82 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1685978842 | ||
SHA256 (gnome/gtk-4.10.4.tar.xz) = 7725400482e0685e28265e226c62847f4e73cfca9e9b416ac5838207f5377a24 | ||
SIZE (gnome/gtk-4.10.4.tar.xz) = 20526652 | ||
TIMESTAMP = 1691208086 | ||
SHA256 (gnome/gtk-4.12.0.tar.xz) = a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f | ||
SIZE (gnome/gtk-4.12.0.tar.xz) = 16918992 |
54 changes: 54 additions & 0 deletions
54
x11-toolkits/gtk40/files/patch-gtk_print_gtkprinteroptionprivate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
$ gtk4-demo | ||
/usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so: Undefined symbol "gtk_printer_option_new" | ||
Failed to load module: /usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so | ||
/usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-cups.so: Undefined symbol "gtk_printer_option_new" | ||
Failed to load module: /usr/local/lib/gtk-4.0/4.0.0/printbackends/libprintbackend-cups.so | ||
[...] | ||
|
||
--- gtk/print/gtkprinteroptionprivate.h.orig 2023-08-05 04:01:26 UTC | ||
+++ gtk/print/gtkprinteroptionprivate.h | ||
@@ -27,6 +27,7 @@ | ||
#endif | ||
|
||
#include <glib-object.h> | ||
+#include <gdk/gdk.h> | ||
|
||
G_BEGIN_DECLS | ||
|
||
@@ -89,26 +90,36 @@ GType gtk_printer_option_get_type (void) G_GNU | ||
|
||
GType gtk_printer_option_get_type (void) G_GNUC_CONST; | ||
|
||
+GDK_AVAILABLE_IN_ALL | ||
GtkPrinterOption *gtk_printer_option_new (const char *name, | ||
const char *display_text, | ||
GtkPrinterOptionType type); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_set (GtkPrinterOption *option, | ||
const char *value); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_set_has_conflict (GtkPrinterOption *option, | ||
gboolean has_conflict); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_clear_has_conflict (GtkPrinterOption *option); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_set_boolean (GtkPrinterOption *option, | ||
gboolean value); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_allocate_choices (GtkPrinterOption *option, | ||
int num); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_choices_from_array (GtkPrinterOption *option, | ||
int num_choices, | ||
const char **choices, | ||
const char **choices_display); | ||
+GDK_AVAILABLE_IN_ALL | ||
gboolean gtk_printer_option_has_choice (GtkPrinterOption *option, | ||
const char *choice); | ||
+GDK_AVAILABLE_IN_ALL | ||
void gtk_printer_option_set_activates_default (GtkPrinterOption *option, | ||
gboolean activates); | ||
+GDK_AVAILABLE_IN_ALL | ||
gboolean gtk_printer_option_get_activates_default (GtkPrinterOption *option); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters