1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Gimp Toolkit for X11 GUI
8 HOMEPAGE= http://www.gtk.org/
12 SITES[main]= GNOME/gtk+/3.22
13 DISTFILE[1]= gtk+-3.22.15.tar.xz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= DBUS CUPS CLOUDPRINT COLORD BROADWAY
19 OPTIONS_STANDARD= DBUS BROADWAY
20 OPT_ON[all]= DBUS BROADWAY
22 BUILDRUN_DEPENDS= libepoxy:single:standard
23 RUN_DEPENDS= adwaita-icon-theme:single:standard
25 USES= gettext-tools gmake libtool pkgconfig gnome-icons:single schemas:single
26 perl:build python:build
27 GNOME_COMPONENTS= atk cairo gdkpixbuf pango introspection
28 XORG_COMPONENTS= xext x11 xinerama xi xrandr xcursor xfixes xdamage xcomposite
30 DISTNAME= gtk+-3.22.15
32 FPC_EQUIVALENT= x11-toolkits/gtk30
33 GLIB_SCHEMAS= org.gtk.Demo.gschema.xml
34 org.gtk.Settings.ColorChooser.gschema.xml
35 org.gtk.Settings.Debug.gschema.xml
36 org.gtk.Settings.FileChooser.gschema.xml
39 CONFIGURE_ARGS= --enable-x11-backend
40 --disable-wayland-backend
41 --enable-introspection
43 INSTALL_TARGET= install-strip
44 INSTALL_REQ_TOOLCHAIN= yes
45 PLIST_SUB= LIBVERSION=0.2200.15
48 CPPFLAGS= -fno-omit-frame-pointer
50 [CLOUDPRINT].DESCRIPTION= Support for printing to cloud
51 [CLOUDPRINT].BROKEN_ON= CLOUDPRINT option not supported yet
52 [CLOUDPRINT].BUILDRUN_DEPENDS_ON= librest:single:standard
53 json-glib:single:standard
54 [CLOUDPRINT].CONFIGURE_ENABLE_BOTH= cloudprint
56 [DBUS].DESCRIPTION= AT-SPI ATK bridge support (requires dbus)
57 [DBUS].BUILDRUN_DEPENDS_ON= at-spi2-atk:single:standard
58 [DBUS].CONFIGURE_WITH_BOTH= atk-bridge
60 [COLORD].BROKEN_ON= COLORD option not supported yet
62 [BROADWAY].DESCRIPTION= Backend for HTML5 and websocket support
63 [BROADWAY].CONFIGURE_ENABLE_BOTH= broadway-backend
65 [CUPS].BROKEN_ON= CUPS option not supported yet
66 [CUPS].BUILDRUN_DEPENDS_ON= cups:single:standard
67 [CUPS].CONFIGURE_ENABLE_BOTH= cups
70 @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \
74 @${RM} -r ${WRKSRC}/docs/gtk.info*
77 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/modules
78 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/3.0.0/engines
79 @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-3.0/3.0.0/loaders
80 ${RM} ${STAGEDIR}${PREFIX}/bin/gtk-update-icon-cache
81 ${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-query-immodules-3.0.1 \
82 ${STAGEDIR}${MANPREFIX}/man/man1
84 [FILE:226:descriptions/desc.single]
85 GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating
86 graphical user interfaces. Offering a complete set of widgets, GTK+
87 is suitable for projects ranging from small one-off tools to complete
92 c8a012c2a99132629ab043f764a2b7cb6388483a015cd15c7a4288bec3590fdb 18662944 gnome3/gtk+-3.22.15.tar.xz
95 [FILE:17144:manifests/plist.single]
96 %%BROADWAY-ON%%bin/broadwayd
99 gtk-encode-symbolic-svg
101 gtk-query-immodules-3.0
104 gtk3-demo-application
107 etc/gtk-3.0/im-multipress.conf
108 include/gail-3.0/libgail-util/
112 %%BROADWAY-ON%%include/gtk-3.0/gdk/broadway/
118 include/gtk-3.0/gdk/deprecated/gdkcolor.h
122 gdkapplaunchcontext.h
123 %%BROADWAY-ON%%include/gtk-3.0/gdk/gdkbroadway.h
161 include/gtk-3.0/gdk/x11/
163 gdkx11applaunchcontext.h
168 gdkx11devicemanager-core.h
169 gdkx11devicemanager-xi2.h
170 gdkx11devicemanager.h
172 gdkx11displaymanager.h
183 include/gtk-3.0/gtk/a11y/
184 gtk-a11y-autocleanups.h
186 gtkbooleancellaccessible.h
187 gtkbuttonaccessible.h
189 gtkcellaccessibleparent.h
190 gtkcheckmenuitemaccessible.h
191 gtkcomboboxaccessible.h
192 gtkcontaineraccessible.h
193 gtkcontainercellaccessible.h
195 gtkexpanderaccessible.h
196 gtkflowboxaccessible.h
197 gtkflowboxchildaccessible.h
199 gtkiconviewaccessible.h
201 gtkimagecellaccessible.h
203 gtklevelbaraccessible.h
204 gtklinkbuttonaccessible.h
205 gtklistboxaccessible.h
206 gtklistboxrowaccessible.h
207 gtklockbuttonaccessible.h
209 gtkmenubuttonaccessible.h
210 gtkmenuitemaccessible.h
211 gtkmenushellaccessible.h
212 gtknotebookaccessible.h
213 gtknotebookpageaccessible.h
215 gtkpopoveraccessible.h
216 gtkprogressbaraccessible.h
217 gtkradiobuttonaccessible.h
218 gtkradiomenuitemaccessible.h
220 gtkrenderercellaccessible.h
222 gtkscalebuttonaccessible.h
223 gtkscrolledwindowaccessible.h
224 gtkspinbuttonaccessible.h
225 gtkspinneraccessible.h
227 gtkstatusbaraccessible.h
228 gtkswitchaccessible.h
229 gtktextcellaccessible.h
230 gtktextviewaccessible.h
231 gtktogglebuttonaccessible.h
232 gtktoplevelaccessible.h
233 gtktreeviewaccessible.h
234 gtkwidgetaccessible.h
235 gtkwindowaccessible.h
236 include/gtk-3.0/gtk/deprecated/
290 gtkappchooserbutton.h
291 gtkappchooserdialog.h
292 gtkappchooserwidget.h
294 gtkapplicationwindow.h
312 gtkcellrendereraccel.h
313 gtkcellrenderercombo.h
314 gtkcellrendererpixbuf.h
315 gtkcellrendererprogress.h
316 gtkcellrendererspin.h
317 gtkcellrendererspinner.h
318 gtkcellrenderertext.h
319 gtkcellrenderertoggle.h
326 gtkcolorchooserdialog.h
327 gtkcolorchooserwidget.h
349 gtkfilechooserbutton.h
350 gtkfilechooserdialog.h
351 gtkfilechoosernative.h
352 gtkfilechooserwidget.h
358 gtkfontchooserdialog.h
359 gtkfontchooserwidget.h
363 gtkgesturelongpress.h
364 gtkgesturemultipress.h
416 gtkprintoperationpreview.h
424 gtkrecentchooserdialog.h
425 gtkrecentchoosermenu.h
426 gtkrecentchooserwidget.h
440 gtkseparatormenuitem.h
441 gtkseparatortoolitem.h
445 gtkshortcutssection.h
446 gtkshortcutsshortcut.h
464 gtktextbufferrichtext.h
474 gtktoggletoolbutton.h
502 include/gtk-3.0/unix-print/gtk/
503 gtkpagesetupunixdialog.h
507 gtkunixprint-autocleanups.h
509 lib/girepository-1.0/
513 lib/gtk-3.0/%%GTK_VERSION%%/immodules/
515 %%BROADWAY-ON%%lib/gtk-3.0/%%GTK_VERSION%%/immodules/im-broadway.so
517 im-cyrillic-translit.so
526 %%CLOUDPRINT-ON%%lib/gtk-3.0/%%GTK_VERSION%%/printbackends/libprintbackend-cloudprint.so
527 %%CUPS-ON%%lib/gtk-3.0/%%GTK_VERSION%%/printbackends/libprintbackend-cups.so
528 lib/gtk-3.0/%%GTK_VERSION%%/printbackends/
529 libprintbackend-file.so
530 libprintbackend-lpr.so
534 libgailutil-3.so.0.0.0
537 libgdk-3.so.%%LIBVERSION%%
540 libgtk-3.so.%%LIBVERSION%%
544 %%BROADWAY-ON%%lib/pkgconfig/
549 %%BROADWAY-ON%%lib/pkgconfig/
552 gtk+-unix-print-3.0.pc
554 share/man/man1/gtk-query-immodules-3.0.1.gz
555 share/aclocal/gtk-3.0.m4
558 gtk3-icon-browser.desktop
559 gtk3-widget-factory.desktop
567 share/gtk-3.0/gtkbuilder.rng
568 share/icons/hicolor/16x16/apps/
569 gtk3-demo-symbolic.symbolic.png
571 gtk3-widget-factory-symbolic.symbolic.png
572 gtk3-widget-factory.png
573 share/icons/hicolor/22x22/apps/
574 gtk3-demo-symbolic.symbolic.png
576 gtk3-widget-factory-symbolic.symbolic.png
577 gtk3-widget-factory.png
578 share/icons/hicolor/24x24/apps/
579 gtk3-demo-symbolic.symbolic.png
581 gtk3-widget-factory-symbolic.symbolic.png
582 gtk3-widget-factory.png
583 share/icons/hicolor/256x256/apps/
584 gtk3-demo-symbolic.symbolic.png
586 gtk3-widget-factory-symbolic.symbolic.png
587 gtk3-widget-factory.png
588 share/icons/hicolor/32x32/apps/
589 gtk3-demo-symbolic.symbolic.png
591 gtk3-widget-factory-symbolic.symbolic.png
592 gtk3-widget-factory.png
593 share/icons/hicolor/48x48/apps/
594 gtk3-demo-symbolic.symbolic.png
596 gtk3-widget-factory-symbolic.symbolic.png
597 gtk3-widget-factory.png
598 share/locale/af/LC_MESSAGES/
601 share/locale/am/LC_MESSAGES/
604 share/locale/an/LC_MESSAGES/
607 share/locale/ang/LC_MESSAGES/
610 share/locale/ar/LC_MESSAGES/
613 share/locale/as/LC_MESSAGES/
616 share/locale/ast/LC_MESSAGES/
619 share/locale/az/LC_MESSAGES/
622 share/locale/az_IR/LC_MESSAGES/
625 share/locale/be/LC_MESSAGES/
628 share/locale/be@latin/LC_MESSAGES/
631 share/locale/bg/LC_MESSAGES/
634 share/locale/bn/LC_MESSAGES/
637 share/locale/bn_IN/LC_MESSAGES/
640 share/locale/br/LC_MESSAGES/
643 share/locale/bs/LC_MESSAGES/
646 share/locale/ca/LC_MESSAGES/
649 share/locale/ca@valencia/LC_MESSAGES/
652 share/locale/crh/LC_MESSAGES/
655 share/locale/cs/LC_MESSAGES/
658 share/locale/cy/LC_MESSAGES/
661 share/locale/da/LC_MESSAGES/
664 share/locale/de/LC_MESSAGES/
667 share/locale/dz/LC_MESSAGES/
670 share/locale/el/LC_MESSAGES/
673 share/locale/en/LC_MESSAGES/
676 share/locale/en@shaw/LC_MESSAGES/
679 share/locale/en_CA/LC_MESSAGES/
682 share/locale/en_GB/LC_MESSAGES/
685 share/locale/eo/LC_MESSAGES/
688 share/locale/es/LC_MESSAGES/
691 share/locale/et/LC_MESSAGES/
694 share/locale/eu/LC_MESSAGES/
697 share/locale/fa/LC_MESSAGES/
700 share/locale/fi/LC_MESSAGES/
703 share/locale/fr/LC_MESSAGES/
706 share/locale/ga/LC_MESSAGES/
709 share/locale/gd/LC_MESSAGES/
712 share/locale/gl/LC_MESSAGES/
715 share/locale/gu/LC_MESSAGES/
718 share/locale/he/LC_MESSAGES/
721 share/locale/hi/LC_MESSAGES/
724 share/locale/hr/LC_MESSAGES/
727 share/locale/hu/LC_MESSAGES/
730 share/locale/hy/LC_MESSAGES/
733 share/locale/ia/LC_MESSAGES/
736 share/locale/id/LC_MESSAGES/
739 share/locale/io/LC_MESSAGES/
742 share/locale/is/LC_MESSAGES/
745 share/locale/it/LC_MESSAGES/
748 share/locale/ja/LC_MESSAGES/
751 share/locale/ka/LC_MESSAGES/
754 share/locale/kg/LC_MESSAGES/
757 share/locale/kk/LC_MESSAGES/
760 share/locale/km/LC_MESSAGES/
763 share/locale/kn/LC_MESSAGES/
766 share/locale/ko/LC_MESSAGES/
769 share/locale/ku/LC_MESSAGES/
772 share/locale/ky/LC_MESSAGES/
775 share/locale/lg/LC_MESSAGES/
778 share/locale/li/LC_MESSAGES/
781 share/locale/lt/LC_MESSAGES/
784 share/locale/lv/LC_MESSAGES/
787 share/locale/mai/LC_MESSAGES/
790 share/locale/mi/LC_MESSAGES/
793 share/locale/mk/LC_MESSAGES/
796 share/locale/ml/LC_MESSAGES/
799 share/locale/mn/LC_MESSAGES/
802 share/locale/mr/LC_MESSAGES/
805 share/locale/ms/LC_MESSAGES/
808 share/locale/my/LC_MESSAGES/
811 share/locale/nb/LC_MESSAGES/
814 share/locale/nds/LC_MESSAGES/
817 share/locale/ne/LC_MESSAGES/
820 share/locale/nl/LC_MESSAGES/
823 share/locale/nn/LC_MESSAGES/
826 share/locale/nso/LC_MESSAGES/
829 share/locale/oc/LC_MESSAGES/
832 share/locale/or/LC_MESSAGES/
835 share/locale/pa/LC_MESSAGES/
838 share/locale/pl/LC_MESSAGES/
841 share/locale/ps/LC_MESSAGES/
844 share/locale/pt/LC_MESSAGES/
847 share/locale/pt_BR/LC_MESSAGES/
850 share/locale/ro/LC_MESSAGES/
853 share/locale/ru/LC_MESSAGES/
856 share/locale/rw/LC_MESSAGES/
859 share/locale/si/LC_MESSAGES/
862 share/locale/sk/LC_MESSAGES/
865 share/locale/sl/LC_MESSAGES/
868 share/locale/sq/LC_MESSAGES/
871 share/locale/sr/LC_MESSAGES/
874 share/locale/sr@ije/LC_MESSAGES/
877 share/locale/sr@latin/LC_MESSAGES/
880 share/locale/sv/LC_MESSAGES/
883 share/locale/ta/LC_MESSAGES/
886 share/locale/te/LC_MESSAGES/
889 share/locale/tg/LC_MESSAGES/
892 share/locale/th/LC_MESSAGES/
895 share/locale/tk/LC_MESSAGES/
898 share/locale/tr/LC_MESSAGES/
901 share/locale/tt/LC_MESSAGES/
904 share/locale/ug/LC_MESSAGES/
907 share/locale/uk/LC_MESSAGES/
910 share/locale/ur/LC_MESSAGES/
913 share/locale/uz/LC_MESSAGES/
916 share/locale/uz@cyrillic/LC_MESSAGES/
919 share/locale/vi/LC_MESSAGES/
922 share/locale/wa/LC_MESSAGES/
925 share/locale/xh/LC_MESSAGES/
928 share/locale/yi/LC_MESSAGES/
931 share/locale/zh_CN/LC_MESSAGES/
934 share/locale/zh_HK/LC_MESSAGES/
937 share/locale/zh_TW/LC_MESSAGES/
940 share/themes/Default/gtk-3.0/gtk-keys.css
941 share/themes/Emacs/gtk-3.0/gtk-keys.css
942 @postexec %D/bin/gtk-query-immodules-3.0 --update-cache > /dev/null 2>&1 || /usr/bin/true
943 @rmtry lib/gtk-3.0/%%GTK_VERSION%%/immodules.cache
944 @dir lib/gtk-3.0/%%GTK_VERSION%%/engines
945 @dir lib/gtk-3.0/%%GTK_VERSION%%/loaders
946 @dir lib/gtk-3.0/modules
949 [FILE:524:patches/patch-Makefile.in]
950 --- Makefile.in.orig 2015-03-09 16:12:04.418535000 +0100
951 +++ Makefile.in 2015-03-09 16:24:27.861927000 +0100
953 || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
954 && DISPLAY=:$$XID && export DISPLAY
956 -SRC_SUBDIRS = gdk gtk libgail-util modules demos tests testsuite examples
957 +SRC_SUBDIRS = gdk gtk libgail-util modules demos
958 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
959 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
960 MAINTAINERCLEANFILES = \
963 [FILE:2124:patches/patch-atk-bridge-option]
964 # Revert bug 677491 comment 45
966 diff --git configure configure.ac
967 index d4c2262..37b6349 100644
970 @@ -1039,6 +1039,7 @@ enable_glibtest
972 with_included_immodules
978 @@ -1790,6 +1791,7 @@ Optional Packages:
979 --with-included-immodules=MODULE1,MODULE2,...
980 build the specified input methods into gtk
981 --with-x use the X Window System
982 + --without-atk-bridge Do not use atk-bridge-2.0
983 --with-html-dir=PATH path to installed docs
984 --with-xml-catalog=CATALOG
985 path to xml catalog to use
986 @@ -24609,8 +24611,20 @@ fi
987 # Check for Accessibility Toolkit flags
988 ########################################
990 -if test x$enable_x11_backend = xyes; then
992 +# Check whether --with-atk-bridge was given.
993 +if test "${with_atk_bridge+set}" = set; then :
994 + withval=$with_atk_bridge; :
996 + with_atk_bridge=$enable_x11_backend
1000 +if test x$with_atk_bridge != xno; then
1001 ATK_PACKAGES="atk atk-bridge-2.0"
1003 +$as_echo "#define HAVE_ATK_BRIDGE 1" >>confdefs.h
1008 diff --git config.h.in config.h.in
1009 index d4c2262..37b6349 100644
1013 /* Define the location where the catalogs will be installed */
1014 #undef GTK_LOCALEDIR
1016 +/* Define if we're using atk-bridge-2.0 */
1017 +#undef HAVE_ATK_BRIDGE
1019 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
1020 #undef HAVE_BIND_TEXTDOMAIN_CODESET
1022 diff --git gtk/a11y/gtkaccessibility.c gtk/a11y/gtkaccessibility.c
1023 index 4f5028b..ff8450a 100644
1024 --- gtk/a11y/gtkaccessibility.c
1025 +++ gtk/a11y/gtkaccessibility.c
1027 #include <gtk/gtktogglebutton.h>
1028 #include <gtk/gtkaccessible.h>
1030 -#ifdef GDK_WINDOWING_X11
1031 +#ifdef HAVE_ATK_BRIDGE
1032 #include <atk-bridge.h>
1035 @@ -987,7 +987,7 @@ _gtk_accessibility_init (void)
1036 _gtk_accessibility_override_atk_util ();
1037 do_window_event_initialization ();
1039 -#ifdef GDK_WINDOWING_X11
1040 +#ifdef HAVE_ATK_BRIDGE
1041 atk_bridge_adaptor_init (NULL, NULL);
1046 [FILE:436:patches/patch-configure]
1047 --- configure.orig 2016-10-24 05:10:09.000000000 +0200
1048 +++ configure 2016-11-15 07:54:17.741400000 +0100
1049 @@ -27913,9 +27913,7 @@ fi
1050 if test "$have_cups" = "yes"; then
1051 GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,cups"
1053 -if test "$have_papi" != "yes" -a "$have_cups" != "yes"; then
1054 GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,lpr"
1056 if test "$have_cloudprint" = "yes"; then
1057 GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,cloudprint"
1061 [FILE:615:patches/patch-docs_Makefile.in]
1062 --- docs/Makefile.in.orig 2015-03-09 16:12:04.497272000 +0100
1063 +++ docs/Makefile.in 2015-03-09 16:23:52.809599000 +0100
1065 LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
1066 LT_VERSION_INFO = @LT_VERSION_INFO@
1068 -MAKEINFO = @MAKEINFO@
1069 +MAKEINFO = @MAKEINFO@ --no-split
1070 MANIFEST_TOOL = @MANIFEST_TOOL@
1071 MATH_LIB = @MATH_LIB@
1074 || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
1075 && DISPLAY=:$$XID && export DISPLAY
1077 -SUBDIRS = reference tools
1078 +SUBDIRS = reference
1084 [FILE:409:patches/patch-docs_reference_Makefile.in]
1085 --- docs/reference/Makefile.in.orig 2010-06-27 12:22:03.000000000 +0200
1086 +++ docs/reference/Makefile.in 2010-06-27 12:22:37.000000000 +0200
1088 || { echo "Gtk+Tests:ERROR: Failed to start Xvfb environment for X11 target tests."; exit 1; } \
1089 && DISPLAY=:$$XID && export DISPLAY
1091 -SUBDIRS = gdk gtk libgail-util
1092 +SUBDIRS = #gdk gtk libgail-util
1093 GITIGNOREFILES = */*.1
1098 [FILE:381:patches/patch-docs_reference_gtk_Makefile.in]
1099 --- docs/reference/gtk/Makefile.in.orig 2014-10-14 15:50:07.675435846 +0200
1100 +++ docs/reference/gtk/Makefile.in 2014-10-14 15:50:49.218431589 +0200
1102 ########################################################################
1104 gtk-query-immodules-3.0.1 \
1105 - gtk-update-icon-cache.1 \
1106 gtk-encode-symbolic-svg.1 \
1111 [FILE:557:patches/patch-gtk_gtkbuilderparser.c]
1112 --- gtk/gtkbuilderparser.c.orig 2015-11-12 16:34:36.000000000 +0100
1113 +++ gtk/gtkbuilderparser.c 2015-11-12 23:17:26.500037000 +0100
1114 @@ -1146,7 +1146,7 @@
1115 /* Called for character data */
1116 /* text is not nul-terminated */
1118 -text (GMarkupParseContext *context,
1119 +XXXtext (GMarkupParseContext *context,
1123 @@ -1204,7 +1204,7 @@
1124 static const GMarkupParser parser = {
1134 [FILE:366:patches/patch-gtk_updateiconcache.c]
1135 --- gtk/updateiconcache.c.orig 2009-05-11 18:05:35.000000000 +0200
1136 +++ gtk/updateiconcache.c 2009-05-30 12:03:39.000000000 +0200
1137 @@ -1505,7 +1505,7 @@ opentmp:
1138 if (!validate_file (tmp_cache_path))
1140 g_printerr (_("The generated cache was invalid.\n"));
1141 - /*g_unlink (tmp_cache_path);*/
1142 + g_unlink (tmp_cache_path);