2020-09-29 16:55:01 +00:00
|
|
|
subdir('a11y')
|
2016-08-15 08:03:57 +00:00
|
|
|
subdir('deprecated')
|
|
|
|
subdir('inspector')
|
|
|
|
|
2018-05-05 00:46:08 +00:00
|
|
|
gtk_cargs = [
|
|
|
|
'-DGTK_COMPILATION',
|
|
|
|
'-DG_LOG_DOMAIN="Gtk"',
|
|
|
|
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
|
|
|
'-DGTK_BINARY_VERSION="@0@"'.format(gtk_binary_version),
|
|
|
|
'-DGTK_HOST="@0@"'.format(host_machine.system()),
|
|
|
|
'-DGTK_DATA_PREFIX="@0@"'.format(gtk_prefix),
|
|
|
|
]
|
|
|
|
|
2018-02-02 09:01:47 +00:00
|
|
|
# List of sources that do not contain public API, and should not be
|
|
|
|
# introspected
|
|
|
|
gtk_private_sources = files([
|
2016-08-15 08:03:57 +00:00
|
|
|
'fnmatch.c',
|
2018-08-19 03:41:25 +00:00
|
|
|
'tools/gdkpixbufutils.c',
|
2019-06-22 20:18:05 +00:00
|
|
|
'gsettings-mapping.c',
|
2020-07-17 11:49:59 +00:00
|
|
|
'gtkaccessibleattributeset.c',
|
2020-07-08 15:34:32 +00:00
|
|
|
'gtkaccessiblevalue.c',
|
|
|
|
'gtkaccessiblevaluestatic.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkactionhelper.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkactionmuxer.c',
|
|
|
|
'gtkactionobservable.c',
|
|
|
|
'gtkactionobserver.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkallocatedbitmask.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkapplicationaccels.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkapplicationimpl.c',
|
|
|
|
'gtkbookmarksmanager.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkbuilder-menus.c',
|
2019-08-29 14:18:55 +00:00
|
|
|
'gtkbuilderprecompile.c',
|
2020-07-26 15:55:54 +00:00
|
|
|
'gtkbuiltinicon.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcellareaboxcontext.c',
|
|
|
|
'gtkcoloreditor.c',
|
|
|
|
'gtkcolorplane.c',
|
2018-07-26 22:45:49 +00:00
|
|
|
'gtkcolorpicker.c',
|
2018-08-03 00:53:37 +00:00
|
|
|
'gtkcolorpickerkwin.c',
|
2018-07-26 22:48:37 +00:00
|
|
|
'gtkcolorpickerportal.c',
|
2018-07-26 22:50:03 +00:00
|
|
|
'gtkcolorpickershell.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcolorscale.c',
|
|
|
|
'gtkcolorswatch.c',
|
2019-11-07 22:40:47 +00:00
|
|
|
'gtkcolumnlistitemfactory.c',
|
|
|
|
'gtkcolumnviewcell.c',
|
|
|
|
'gtkcolumnviewlayout.c',
|
2019-11-08 20:23:03 +00:00
|
|
|
'gtkcolumnviewtitle.c',
|
2019-04-09 13:05:48 +00:00
|
|
|
'gtkconstraintexpression.c',
|
|
|
|
'gtkconstraintsolver.c',
|
2019-06-29 17:03:42 +00:00
|
|
|
'gtkconstraintvflparser.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssanimatedstyle.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssanimation.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssarrayvalue.c',
|
|
|
|
'gtkcssbgsizevalue.c',
|
|
|
|
'gtkcssbordervalue.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcsscalcvalue.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcsscolorvalue.c',
|
|
|
|
'gtkcsscornervalue.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssdimensionvalue.c',
|
2018-02-13 07:22:34 +00:00
|
|
|
'gtkcssdynamic.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcsseasevalue.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssenumvalue.c',
|
2017-03-11 22:31:31 +00:00
|
|
|
'gtkcssfiltervalue.c',
|
2017-12-20 15:29:33 +00:00
|
|
|
'gtkcssfontfeaturesvalue.c',
|
2017-12-20 05:45:30 +00:00
|
|
|
'gtkcssfontvariationsvalue.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssimage.c',
|
|
|
|
'gtkcssimagecrossfade.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssimagefallback.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssimageicontheme.c',
|
2018-02-17 19:31:14 +00:00
|
|
|
'gtkcssimageinvalid.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssimagelinear.c',
|
2018-02-17 19:29:25 +00:00
|
|
|
'gtkcssimagepaintable.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssimageradial.c',
|
|
|
|
'gtkcssimagerecolor.c',
|
|
|
|
'gtkcssimagescaled.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssimageurl.c',
|
|
|
|
'gtkcssimagevalue.c',
|
|
|
|
'gtkcssinheritvalue.c',
|
|
|
|
'gtkcssinitialvalue.c',
|
|
|
|
'gtkcsskeyframes.c',
|
|
|
|
'gtkcsslookup.c',
|
|
|
|
'gtkcssnode.c',
|
|
|
|
'gtkcssnodedeclaration.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssnodestylecache.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssnumbervalue.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcsspalettevalue.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcsspositionvalue.c',
|
|
|
|
'gtkcssrepeatvalue.c',
|
|
|
|
'gtkcssselector.c',
|
|
|
|
'gtkcssshadowvalue.c',
|
|
|
|
'gtkcssshorthandproperty.c',
|
|
|
|
'gtkcssshorthandpropertyimpl.c',
|
|
|
|
'gtkcssstaticstyle.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssstringvalue.c',
|
|
|
|
'gtkcssstyle.c',
|
|
|
|
'gtkcssstylechange.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssstyleproperty.c',
|
|
|
|
'gtkcssstylepropertyimpl.c',
|
|
|
|
'gtkcsstransformvalue.c',
|
|
|
|
'gtkcsstransientnode.c',
|
|
|
|
'gtkcsstransition.c',
|
|
|
|
'gtkcsstypes.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcssunsetvalue.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkcssvalue.c',
|
|
|
|
'gtkcsswidgetnode.c',
|
2020-02-29 02:47:17 +00:00
|
|
|
'gtkdrop.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkfilechooserentry.c',
|
|
|
|
'gtkfilechoosererrorstack.c',
|
|
|
|
'gtkfilechoosernativeportal.c',
|
|
|
|
'gtkfilechooserutils.c',
|
|
|
|
'gtkfilesystemmodel.c',
|
|
|
|
'gtkgizmo.c',
|
|
|
|
'gtkgladecatalog.c',
|
|
|
|
'gtkhsla.c',
|
|
|
|
'gtkiconcache.c',
|
2018-08-19 03:41:25 +00:00
|
|
|
'tools/gtkiconcachevalidator.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkiconhelper.c',
|
|
|
|
'gtkkineticscrolling.c',
|
|
|
|
'gtkmagnifier.c',
|
|
|
|
'gtkmenusectionbox.c',
|
|
|
|
'gtkmenutracker.c',
|
|
|
|
'gtkmenutrackeritem.c',
|
|
|
|
'gtkpango.c',
|
|
|
|
'gskpango.c',
|
2020-09-04 11:51:58 +00:00
|
|
|
'gtkpasswordentrybuffer.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkpathbar.c',
|
|
|
|
'gtkplacessidebar.c',
|
|
|
|
'gtkplacesview.c',
|
|
|
|
'gtkplacesviewrow.c',
|
|
|
|
'gtkpointerfocus.c',
|
|
|
|
'gtkprintutils.c',
|
|
|
|
'gtkprivate.c',
|
|
|
|
'gtkprogresstracker.c',
|
2019-01-07 04:37:32 +00:00
|
|
|
'gtkrbtree.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkquery.c',
|
2018-03-14 03:45:25 +00:00
|
|
|
'gtkscaler.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtksearchengine.c',
|
|
|
|
'gtksearchenginemodel.c',
|
2020-09-08 16:40:32 +00:00
|
|
|
'gtksecurememory.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtksizerequestcache.c',
|
2020-07-15 18:17:55 +00:00
|
|
|
'gtksortkeys.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkstyleanimation.c',
|
|
|
|
'gtkstylecascade.c',
|
|
|
|
'gtkstyleproperty.c',
|
|
|
|
'gtktextbtree.c',
|
2019-10-24 02:13:11 +00:00
|
|
|
'gtktexthistory.c',
|
2019-10-04 02:21:45 +00:00
|
|
|
'gtktextviewchild.c',
|
2020-09-01 18:22:09 +00:00
|
|
|
'timsort/gtktimsort.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtktrashmonitor.c',
|
|
|
|
'gtktreedatalist.c',
|
|
|
|
])
|
|
|
|
|
|
|
|
# List of files that contain public API, and should be introspected
|
|
|
|
gtk_public_sources = files([
|
|
|
|
'gtkaboutdialog.c',
|
|
|
|
'gtkaccelgroup.c',
|
2020-06-16 16:40:14 +00:00
|
|
|
'gtkaccessible.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkactionable.c',
|
|
|
|
'gtkactionbar.c',
|
|
|
|
'gtkadjustment.c',
|
|
|
|
'gtkappchooser.c',
|
|
|
|
'gtkappchooserbutton.c',
|
|
|
|
'gtkappchooserdialog.c',
|
|
|
|
'gtkappchooserwidget.c',
|
|
|
|
'gtkapplication.c',
|
|
|
|
'gtkapplicationwindow.c',
|
|
|
|
'gtkaspectframe.c',
|
|
|
|
'gtkassistant.c',
|
2020-07-08 15:51:57 +00:00
|
|
|
'gtkatcontext.c',
|
2019-03-04 15:03:34 +00:00
|
|
|
'gtkbinlayout.c',
|
2020-06-10 06:14:02 +00:00
|
|
|
'gtkbitset.c',
|
2020-07-26 15:55:54 +00:00
|
|
|
'gtkboolfilter.c',
|
2020-06-10 21:03:13 +00:00
|
|
|
'gtkbookmarklist.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkborder.c',
|
2018-12-19 17:32:24 +00:00
|
|
|
'gtkboxlayout.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkbox.c',
|
|
|
|
'gtkbuildable.c',
|
|
|
|
'gtkbuilder.c',
|
2019-06-10 02:58:45 +00:00
|
|
|
'gtkbuilderlistitemfactory.c',
|
2019-09-15 15:49:34 +00:00
|
|
|
'gtkbuilderparser.c',
|
2019-11-30 00:17:10 +00:00
|
|
|
'gtkbuilderscope.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkbutton.c',
|
|
|
|
'gtkcalendar.c',
|
|
|
|
'gtkcellarea.c',
|
|
|
|
'gtkcellareabox.c',
|
|
|
|
'gtkcellareacontext.c',
|
|
|
|
'gtkcelleditable.c',
|
|
|
|
'gtkcelllayout.c',
|
|
|
|
'gtkcellrenderer.c',
|
|
|
|
'gtkcellrendereraccel.c',
|
|
|
|
'gtkcellrenderercombo.c',
|
|
|
|
'gtkcellrendererpixbuf.c',
|
|
|
|
'gtkcellrendererprogress.c',
|
|
|
|
'gtkcellrendererspin.c',
|
|
|
|
'gtkcellrendererspinner.c',
|
|
|
|
'gtkcellrenderertext.c',
|
|
|
|
'gtkcellrenderertoggle.c',
|
|
|
|
'gtkcellview.c',
|
|
|
|
'gtkcenterbox.c',
|
2019-09-11 11:11:02 +00:00
|
|
|
'gtkcenterlayout.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkcheckbutton.c',
|
|
|
|
'gtkcolorbutton.c',
|
|
|
|
'gtkcolorchooser.c',
|
|
|
|
'gtkcolorchooserdialog.c',
|
|
|
|
'gtkcolorchooserwidget.c',
|
|
|
|
'gtkcolorutils.c',
|
2019-10-28 00:18:14 +00:00
|
|
|
'gtkcolumnview.c',
|
|
|
|
'gtkcolumnviewcolumn.c',
|
2019-12-04 13:13:13 +00:00
|
|
|
'gtkcolumnviewsorter.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkcombobox.c',
|
|
|
|
'gtkcomboboxtext.c',
|
|
|
|
'gtkcomposetable.c',
|
2019-06-27 19:25:04 +00:00
|
|
|
'gtkconstraintguide.c',
|
2019-04-09 14:33:52 +00:00
|
|
|
'gtkconstraintlayout.c',
|
|
|
|
'gtkconstraint.c',
|
2018-02-02 09:01:47 +00:00
|
|
|
'gtkcssprovider.c',
|
2019-11-10 00:30:02 +00:00
|
|
|
'gtkcustomfilter.c',
|
2020-04-22 18:24:45 +00:00
|
|
|
'gtkcustomlayout.c',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtkcustomsorter.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkdialog.c',
|
2019-10-02 03:38:11 +00:00
|
|
|
'gtkdirectorylist.c',
|
2020-01-13 17:07:24 +00:00
|
|
|
'gtkdragicon.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkdragsource.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkdrawingarea.c',
|
2020-02-21 23:58:57 +00:00
|
|
|
'gtkdropcontrollermotion.c',
|
2020-02-29 02:47:17 +00:00
|
|
|
'gtkdroptarget.c',
|
|
|
|
'gtkdroptargetasync.c',
|
2019-12-09 01:22:06 +00:00
|
|
|
'gtkdropdown.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkeditable.c',
|
2020-06-12 15:07:07 +00:00
|
|
|
'gtkeditablelabel.c',
|
2017-08-12 23:06:00 +00:00
|
|
|
'gtkemojichooser.c',
|
2017-08-19 18:06:47 +00:00
|
|
|
'gtkemojicompletion.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkentry.c',
|
|
|
|
'gtkentrybuffer.c',
|
|
|
|
'gtkentrycompletion.c',
|
|
|
|
'gtkeventcontroller.c',
|
2020-02-20 01:51:03 +00:00
|
|
|
'gtkeventcontrollerfocus.c',
|
2017-12-11 18:21:38 +00:00
|
|
|
'gtkeventcontrollerkey.c',
|
|
|
|
'gtkeventcontrollerlegacy.c',
|
2017-12-11 23:29:33 +00:00
|
|
|
'gtkeventcontrollermotion.c',
|
2017-09-15 11:22:57 +00:00
|
|
|
'gtkeventcontrollerscroll.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkexpander.c',
|
2019-11-16 20:52:18 +00:00
|
|
|
'gtkexpression.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkfilechooser.c',
|
|
|
|
'gtkfilechooserbutton.c',
|
|
|
|
'gtkfilechooserdialog.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkfilechoosernative.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkfilechooserwidget.c',
|
|
|
|
'gtkfilefilter.c',
|
2019-11-09 01:55:48 +00:00
|
|
|
'gtkfilter.c',
|
2018-08-31 03:34:18 +00:00
|
|
|
'gtkfilterlistmodel.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkfixed.c',
|
2019-03-26 16:50:13 +00:00
|
|
|
'gtkfixedlayout.c',
|
2018-09-02 22:48:28 +00:00
|
|
|
'gtkflattenlistmodel.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkflowbox.c',
|
|
|
|
'gtkfontbutton.c',
|
|
|
|
'gtkfontchooser.c',
|
|
|
|
'gtkfontchooserdialog.c',
|
|
|
|
'gtkfontchooserutils.c',
|
|
|
|
'gtkfontchooserwidget.c',
|
|
|
|
'gtkframe.c',
|
|
|
|
'gtkgesture.c',
|
|
|
|
'gtkgesturedrag.c',
|
|
|
|
'gtkgesturelongpress.c',
|
2019-05-29 17:10:46 +00:00
|
|
|
'gtkgestureclick.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkgesturepan.c',
|
|
|
|
'gtkgesturerotate.c',
|
|
|
|
'gtkgesturesingle.c',
|
2018-02-01 16:52:40 +00:00
|
|
|
'gtkgesturestylus.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkgestureswipe.c',
|
|
|
|
'gtkgesturezoom.c',
|
|
|
|
'gtkglarea.c',
|
|
|
|
'gtkgrid.c',
|
2019-04-03 18:03:58 +00:00
|
|
|
'gtkgridlayout.c',
|
2019-01-27 19:15:23 +00:00
|
|
|
'gtkgridview.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkheaderbar.c',
|
|
|
|
'gtkicontheme.c',
|
|
|
|
'gtkiconview.c',
|
|
|
|
'gtkimage.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkimagedefinition.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkimcontext.c',
|
|
|
|
'gtkimcontextsimple.c',
|
|
|
|
'gtkimmodule.c',
|
|
|
|
'gtkimmulticontext.c',
|
|
|
|
'gtkinfobar.c',
|
|
|
|
'gtklabel.c',
|
2018-12-19 16:01:17 +00:00
|
|
|
'gtklayoutchild.c',
|
2018-12-12 15:24:41 +00:00
|
|
|
'gtklayoutmanager.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtklevelbar.c',
|
2019-10-22 06:01:16 +00:00
|
|
|
'gtklistbase.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtklinkbutton.c',
|
|
|
|
'gtklistbox.c',
|
2018-09-21 03:05:34 +00:00
|
|
|
'gtklistitem.c',
|
2018-09-17 05:29:50 +00:00
|
|
|
'gtklistitemfactory.c',
|
2018-09-20 03:18:34 +00:00
|
|
|
'gtklistitemmanager.c',
|
2019-11-01 06:31:38 +00:00
|
|
|
'gtklistitemwidget.c',
|
2018-08-27 17:50:01 +00:00
|
|
|
'gtklistlistmodel.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkliststore.c',
|
2018-09-16 18:52:06 +00:00
|
|
|
'gtklistview.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtklockbutton.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkmain.c',
|
2018-09-10 23:28:19 +00:00
|
|
|
'gtkmaplistmodel.c',
|
2018-02-26 00:32:01 +00:00
|
|
|
'gtkmediacontrols.c',
|
2018-02-27 16:01:50 +00:00
|
|
|
'gtkmediafile.c',
|
2018-02-27 22:22:26 +00:00
|
|
|
'gtkmediastream.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkmenubutton.c',
|
|
|
|
'gtkmessagedialog.c',
|
|
|
|
'gtkmodelbutton.c',
|
|
|
|
'gtkmodules.c',
|
|
|
|
'gtkmountoperation.c',
|
2019-12-11 20:28:38 +00:00
|
|
|
'gtkmultifilter.c',
|
2019-12-09 06:19:38 +00:00
|
|
|
'gtkmultiselection.c',
|
2019-12-08 18:54:57 +00:00
|
|
|
'gtkmultisorter.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtknativedialog.c',
|
2018-03-01 20:46:16 +00:00
|
|
|
'gtknomediafile.c',
|
2019-10-07 04:28:28 +00:00
|
|
|
'gtknoselection.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtknotebook.c',
|
2019-12-08 19:37:20 +00:00
|
|
|
'gtknumericsorter.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkorientable.c',
|
|
|
|
'gtkoverlay.c',
|
2019-03-28 03:47:32 +00:00
|
|
|
'gtkoverlaylayout.c',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkpadcontroller.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkpagesetup.c',
|
|
|
|
'gtkpaned.c',
|
|
|
|
'gtkpapersize.c',
|
2019-02-17 03:21:57 +00:00
|
|
|
'gtkpasswordentry.c',
|
2018-06-09 20:48:06 +00:00
|
|
|
'gtkpicture.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkpopover.c',
|
|
|
|
'gtkpopovermenu.c',
|
2019-06-09 16:19:07 +00:00
|
|
|
'gtkpopovermenubar.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkprintcontext.c',
|
|
|
|
'gtkprintoperation.c',
|
|
|
|
'gtkprintoperationpreview.c',
|
|
|
|
'gtkprintsettings.c',
|
|
|
|
'gtkprogressbar.c',
|
2018-09-10 15:01:57 +00:00
|
|
|
'gtkpropertylookuplistmodel.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkrange.c',
|
2019-01-07 03:28:09 +00:00
|
|
|
'gtktreerbtree.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkrecentmanager.c',
|
|
|
|
'gtkrender.c',
|
|
|
|
'gtkrenderbackground.c',
|
|
|
|
'gtkrenderborder.c',
|
|
|
|
'gtkrendericon.c',
|
2018-03-26 02:37:01 +00:00
|
|
|
'gtkrendernodepaintable.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkrevealer.c',
|
2018-04-06 18:21:06 +00:00
|
|
|
'gtkroot.c',
|
2019-05-26 17:38:27 +00:00
|
|
|
'gtknative.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkroundedbox.c',
|
|
|
|
'gtkscale.c',
|
|
|
|
'gtkscalebutton.c',
|
|
|
|
'gtkscrollable.c',
|
|
|
|
'gtkscrollbar.c',
|
|
|
|
'gtkscrolledwindow.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtksearchbar.c',
|
|
|
|
'gtksearchentry.c',
|
2020-07-02 22:50:08 +00:00
|
|
|
'gtkselectionfiltermodel.c',
|
2018-10-03 16:49:48 +00:00
|
|
|
'gtkselectionmodel.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkseparator.c',
|
|
|
|
'gtksettings.c',
|
2018-08-04 10:14:13 +00:00
|
|
|
'gtkshortcut.c',
|
2018-08-18 05:32:11 +00:00
|
|
|
'gtkshortcutaction.c',
|
2018-07-30 04:02:20 +00:00
|
|
|
'gtkshortcutcontroller.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkshortcutlabel.c',
|
2020-02-06 15:43:55 +00:00
|
|
|
'gtkshortcutmanager.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkshortcutsgroup.c',
|
|
|
|
'gtkshortcutssection.c',
|
|
|
|
'gtkshortcutsshortcut.c',
|
|
|
|
'gtkshortcutswindow.c',
|
2020-03-15 13:49:50 +00:00
|
|
|
'gtkshortcuttrigger.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkshow.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtksidebarrow.c',
|
2019-10-29 04:58:02 +00:00
|
|
|
'gtksignallistitemfactory.c',
|
2018-10-03 16:51:52 +00:00
|
|
|
'gtksingleselection.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtksizegroup.c',
|
|
|
|
'gtksizerequest.c',
|
2018-09-12 01:07:24 +00:00
|
|
|
'gtkslicelistmodel.c',
|
2017-03-11 22:31:31 +00:00
|
|
|
'gtksnapshot.c',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtksorter.c',
|
2018-09-14 02:34:40 +00:00
|
|
|
'gtksortlistmodel.c',
|
|
|
|
'gtkspinbutton.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkspinner.c',
|
|
|
|
'gtkstack.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkstacksidebar.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkstackswitcher.c',
|
|
|
|
'gtkstatusbar.c',
|
2019-11-16 21:15:51 +00:00
|
|
|
'gtkstringfilter.c',
|
2020-06-21 22:00:29 +00:00
|
|
|
'gtkstringlist.c',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtkstringsorter.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkstylecontext.c',
|
|
|
|
'gtkstyleprovider.c',
|
|
|
|
'gtkswitch.c',
|
2020-07-17 13:39:56 +00:00
|
|
|
'gtktestatcontext.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktestutils.c',
|
2019-02-14 01:16:12 +00:00
|
|
|
'gtktext.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktextattributes.c',
|
|
|
|
'gtktextbuffer.c',
|
|
|
|
'gtktextchild.c',
|
|
|
|
'gtktexthandle.c',
|
|
|
|
'gtktextiter.c',
|
|
|
|
'gtktextlayout.c',
|
2019-07-26 17:40:43 +00:00
|
|
|
'gtktextlinedisplaycache.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktextmark.c',
|
|
|
|
'gtktextsegment.c',
|
|
|
|
'gtktexttag.c',
|
|
|
|
'gtktexttagtable.c',
|
|
|
|
'gtktexttypes.c',
|
|
|
|
'gtktextutil.c',
|
|
|
|
'gtktextview.c',
|
|
|
|
'gtktogglebutton.c',
|
|
|
|
'gtktooltip.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtktooltipwindow.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktreednd.c',
|
2019-10-14 02:31:20 +00:00
|
|
|
'gtktreeexpander.c',
|
2018-06-12 01:56:21 +00:00
|
|
|
'gtktreelistmodel.c',
|
2019-12-08 22:34:10 +00:00
|
|
|
'gtktreelistrowsorter.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktreemodel.c',
|
|
|
|
'gtktreemodelfilter.c',
|
|
|
|
'gtktreemodelsort.c',
|
2019-12-26 05:06:48 +00:00
|
|
|
'gtktreepopover.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtktreeselection.c',
|
|
|
|
'gtktreesortable.c',
|
|
|
|
'gtktreestore.c',
|
|
|
|
'gtktreeview.c',
|
|
|
|
'gtktreeviewcolumn.c',
|
2020-09-14 02:23:06 +00:00
|
|
|
'gtkversion.c',
|
2018-03-01 03:52:27 +00:00
|
|
|
'gtkvideo.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkviewport.c',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkvolumebutton.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkwidget.c',
|
|
|
|
'gtkwidgetfocus.c',
|
2018-03-22 19:47:28 +00:00
|
|
|
'gtkwidgetpaintable.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkwindow.c',
|
2020-04-24 12:56:52 +00:00
|
|
|
'gtkwindowcontrols.c',
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkwindowgroup.c',
|
2020-05-02 15:37:32 +00:00
|
|
|
'gtkwindowhandle.c',
|
2016-09-09 20:02:21 +00:00
|
|
|
])
|
2016-08-15 08:03:57 +00:00
|
|
|
|
2016-09-09 20:02:21 +00:00
|
|
|
gtk_private_type_headers = files([
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcsstypesprivate.h',
|
|
|
|
'gtktexthandleprivate.h',
|
2020-11-08 15:40:20 +00:00
|
|
|
'gtkplacessidebarprivate.h',
|
2016-09-09 20:02:21 +00:00
|
|
|
])
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2016-09-26 10:51:17 +00:00
|
|
|
gtk_public_headers = files([
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkaboutdialog.h',
|
|
|
|
'gtkaccelgroup.h',
|
2020-06-16 16:40:14 +00:00
|
|
|
'gtkaccessible.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkactionable.h',
|
|
|
|
'gtkactionbar.h',
|
|
|
|
'gtkadjustment.h',
|
|
|
|
'gtkappchooser.h',
|
|
|
|
'gtkappchooserbutton.h',
|
|
|
|
'gtkappchooserdialog.h',
|
|
|
|
'gtkappchooserwidget.h',
|
|
|
|
'gtkapplication.h',
|
|
|
|
'gtkapplicationwindow.h',
|
|
|
|
'gtkaspectframe.h',
|
|
|
|
'gtkassistant.h',
|
2020-07-08 15:51:57 +00:00
|
|
|
'gtkatcontext.h',
|
2019-03-04 15:03:34 +00:00
|
|
|
'gtkbinlayout.h',
|
2020-06-10 06:14:02 +00:00
|
|
|
'gtkbitset.h',
|
2020-06-10 21:03:13 +00:00
|
|
|
'gtkbookmarklist.h',
|
2020-07-26 15:55:54 +00:00
|
|
|
'gtkboolfilter.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkborder.h',
|
|
|
|
'gtkbox.h',
|
2019-03-28 01:55:07 +00:00
|
|
|
'gtkboxlayout.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkbuildable.h',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkbuilder.h',
|
2019-10-08 22:07:07 +00:00
|
|
|
'gtkbuilderlistitemfactory.h',
|
2019-11-30 00:17:10 +00:00
|
|
|
'gtkbuilderscope.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkbutton.h',
|
|
|
|
'gtkcalendar.h',
|
2017-08-15 19:19:48 +00:00
|
|
|
'gtkcenterbox.h',
|
2019-09-11 11:11:02 +00:00
|
|
|
'gtkcenterlayout.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcellarea.h',
|
|
|
|
'gtkcellareabox.h',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcellareacontext.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcelleditable.h',
|
|
|
|
'gtkcelllayout.h',
|
|
|
|
'gtkcellrenderer.h',
|
|
|
|
'gtkcellrendereraccel.h',
|
|
|
|
'gtkcellrenderercombo.h',
|
|
|
|
'gtkcellrendererpixbuf.h',
|
|
|
|
'gtkcellrendererprogress.h',
|
|
|
|
'gtkcellrendererspin.h',
|
|
|
|
'gtkcellrendererspinner.h',
|
|
|
|
'gtkcellrenderertext.h',
|
|
|
|
'gtkcellrenderertoggle.h',
|
|
|
|
'gtkcellview.h',
|
|
|
|
'gtkcheckbutton.h',
|
|
|
|
'gtkcolorbutton.h',
|
|
|
|
'gtkcolorchooser.h',
|
|
|
|
'gtkcolorchooserdialog.h',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkcolorchooserwidget.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcolorutils.h',
|
2019-10-28 00:18:14 +00:00
|
|
|
'gtkcolumnview.h',
|
|
|
|
'gtkcolumnviewcolumn.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcombobox.h',
|
|
|
|
'gtkcomboboxtext.h',
|
2019-07-01 00:12:25 +00:00
|
|
|
'gtkconstraintguide.h',
|
2019-04-09 14:33:52 +00:00
|
|
|
'gtkconstraintlayout.h',
|
|
|
|
'gtkconstraint.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkcssprovider.h',
|
2019-11-10 00:30:02 +00:00
|
|
|
'gtkcustomfilter.h',
|
2019-03-20 15:37:15 +00:00
|
|
|
'gtkcustomlayout.h',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtkcustomsorter.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkdebug.h',
|
|
|
|
'gtkdialog.h',
|
2019-10-02 03:38:11 +00:00
|
|
|
'gtkdirectorylist.h',
|
2020-01-13 17:07:24 +00:00
|
|
|
'gtkdragicon.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkdragsource.h',
|
|
|
|
'gtkdrawingarea.h',
|
2020-02-21 23:58:57 +00:00
|
|
|
'gtkdropcontrollermotion.h',
|
2020-02-29 02:47:17 +00:00
|
|
|
'gtkdroptarget.h',
|
|
|
|
'gtkdroptargetasync.h',
|
2019-12-09 01:22:06 +00:00
|
|
|
'gtkdropdown.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkeditable.h',
|
2020-06-12 15:07:07 +00:00
|
|
|
'gtkeditablelabel.h',
|
2020-02-12 18:41:49 +00:00
|
|
|
'gtkemojichooser.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkentry.h',
|
|
|
|
'gtkentrybuffer.h',
|
|
|
|
'gtkentrycompletion.h',
|
|
|
|
'gtkenums.h',
|
|
|
|
'gtkeventcontroller.h',
|
2020-03-03 03:38:13 +00:00
|
|
|
'gtkeventcontrollerfocus.h',
|
2017-12-11 18:21:38 +00:00
|
|
|
'gtkeventcontrollerkey.h',
|
2017-09-15 11:22:57 +00:00
|
|
|
'gtkeventcontrollerscroll.h',
|
2017-12-12 15:38:11 +00:00
|
|
|
'gtkeventcontrollermotion.h',
|
2018-10-12 15:30:59 +00:00
|
|
|
'gtkeventcontrollerlegacy.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkexpander.h',
|
2019-11-16 20:52:18 +00:00
|
|
|
'gtkexpression.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkfilechooser.h',
|
|
|
|
'gtkfilechooserbutton.h',
|
|
|
|
'gtkfilechooserdialog.h',
|
|
|
|
'gtkfilechoosernative.h',
|
|
|
|
'gtkfilechooserwidget.h',
|
|
|
|
'gtkfilefilter.h',
|
2019-11-09 01:55:48 +00:00
|
|
|
'gtkfilter.h',
|
2018-08-31 03:34:18 +00:00
|
|
|
'gtkfilterlistmodel.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkfixed.h',
|
2019-03-26 16:50:13 +00:00
|
|
|
'gtkfixedlayout.h',
|
2018-09-02 22:48:28 +00:00
|
|
|
'gtkflattenlistmodel.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkflowbox.h',
|
|
|
|
'gtkfontbutton.h',
|
|
|
|
'gtkfontchooser.h',
|
|
|
|
'gtkfontchooserdialog.h',
|
|
|
|
'gtkfontchooserwidget.h',
|
|
|
|
'gtkframe.h',
|
|
|
|
'gtkgesture.h',
|
|
|
|
'gtkgesturedrag.h',
|
|
|
|
'gtkgesturelongpress.h',
|
2019-05-29 17:10:46 +00:00
|
|
|
'gtkgestureclick.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkgesturepan.h',
|
|
|
|
'gtkgesturerotate.h',
|
|
|
|
'gtkgesturesingle.h',
|
2018-02-01 16:52:40 +00:00
|
|
|
'gtkgesturestylus.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkgestureswipe.h',
|
|
|
|
'gtkgesturezoom.h',
|
|
|
|
'gtkglarea.h',
|
|
|
|
'gtkgrid.h',
|
2019-04-03 18:03:58 +00:00
|
|
|
'gtkgridlayout.h',
|
2019-01-27 19:15:23 +00:00
|
|
|
'gtkgridview.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkheaderbar.h',
|
|
|
|
'gtkicontheme.h',
|
|
|
|
'gtkiconview.h',
|
|
|
|
'gtkimage.h',
|
|
|
|
'gtkimcontext.h',
|
|
|
|
'gtkimcontextsimple.h',
|
|
|
|
'gtkimmodule.h',
|
|
|
|
'gtkimmulticontext.h',
|
|
|
|
'gtkinfobar.h',
|
|
|
|
'gtklabel.h',
|
2018-12-19 16:01:17 +00:00
|
|
|
'gtklayoutchild.h',
|
2018-12-12 15:24:41 +00:00
|
|
|
'gtklayoutmanager.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtklevelbar.h',
|
|
|
|
'gtklinkbutton.h',
|
2019-10-22 06:01:16 +00:00
|
|
|
'gtklistbase.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtklistbox.h',
|
2018-09-21 03:05:34 +00:00
|
|
|
'gtklistitem.h',
|
2019-10-08 22:07:07 +00:00
|
|
|
'gtklistitemfactory.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkliststore.h',
|
2018-09-16 18:52:06 +00:00
|
|
|
'gtklistview.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtklockbutton.h',
|
|
|
|
'gtkmain.h',
|
2018-09-10 23:28:19 +00:00
|
|
|
'gtkmaplistmodel.h',
|
2018-02-26 00:32:01 +00:00
|
|
|
'gtkmediacontrols.h',
|
2018-02-27 16:01:50 +00:00
|
|
|
'gtkmediafile.h',
|
2018-02-27 22:22:26 +00:00
|
|
|
'gtkmediastream.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkmenubutton.h',
|
|
|
|
'gtkmessagedialog.h',
|
|
|
|
'gtkmountoperation.h',
|
2019-12-11 20:28:38 +00:00
|
|
|
'gtkmultifilter.h',
|
2019-12-09 06:19:38 +00:00
|
|
|
'gtkmultiselection.h',
|
2019-12-08 18:54:57 +00:00
|
|
|
'gtkmultisorter.h',
|
2019-05-30 03:44:43 +00:00
|
|
|
'gtknative.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtknativedialog.h',
|
2019-10-07 04:28:28 +00:00
|
|
|
'gtknoselection.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtknotebook.h',
|
2019-12-08 19:37:20 +00:00
|
|
|
'gtknumericsorter.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkorientable.h',
|
|
|
|
'gtkoverlay.h',
|
2020-05-27 09:05:12 +00:00
|
|
|
'gtkoverlaylayout.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkpadcontroller.h',
|
|
|
|
'gtkpagesetup.h',
|
|
|
|
'gtkpaned.h',
|
|
|
|
'gtkpapersize.h',
|
2019-02-17 03:21:57 +00:00
|
|
|
'gtkpasswordentry.h',
|
2018-06-09 20:48:06 +00:00
|
|
|
'gtkpicture.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkpopover.h',
|
|
|
|
'gtkpopovermenu.h',
|
2019-06-09 18:40:55 +00:00
|
|
|
'gtkpopovermenubar.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkprintcontext.h',
|
|
|
|
'gtkprintoperation.h',
|
|
|
|
'gtkprintoperationpreview.h',
|
|
|
|
'gtkprintsettings.h',
|
|
|
|
'gtkprogressbar.h',
|
|
|
|
'gtkrange.h',
|
|
|
|
'gtkrecentmanager.h',
|
|
|
|
'gtkrender.h',
|
|
|
|
'gtkrevealer.h',
|
2018-04-06 18:21:06 +00:00
|
|
|
'gtkroot.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkscale.h',
|
|
|
|
'gtkscalebutton.h',
|
|
|
|
'gtkscrollable.h',
|
|
|
|
'gtkscrollbar.h',
|
|
|
|
'gtkscrolledwindow.h',
|
|
|
|
'gtksearchbar.h',
|
|
|
|
'gtksearchentry.h',
|
2020-07-02 22:50:08 +00:00
|
|
|
'gtkselectionfiltermodel.h',
|
2018-10-03 16:49:48 +00:00
|
|
|
'gtkselectionmodel.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkseparator.h',
|
|
|
|
'gtksettings.h',
|
2018-08-04 10:14:13 +00:00
|
|
|
'gtkshortcut.h',
|
2018-08-18 05:32:11 +00:00
|
|
|
'gtkshortcutaction.h',
|
2018-07-30 04:02:20 +00:00
|
|
|
'gtkshortcutcontroller.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkshortcutlabel.h',
|
2020-02-06 15:43:55 +00:00
|
|
|
'gtkshortcutmanager.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkshortcutsgroup.h',
|
|
|
|
'gtkshortcutssection.h',
|
|
|
|
'gtkshortcutsshortcut.h',
|
|
|
|
'gtkshortcutswindow.h',
|
2020-03-15 13:49:50 +00:00
|
|
|
'gtkshortcuttrigger.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkshow.h',
|
2019-10-29 04:58:02 +00:00
|
|
|
'gtksignallistitemfactory.h',
|
2018-10-03 16:51:52 +00:00
|
|
|
'gtksingleselection.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtksizegroup.h',
|
|
|
|
'gtksizerequest.h',
|
2018-09-12 01:07:24 +00:00
|
|
|
'gtkslicelistmodel.h',
|
2017-03-11 22:31:31 +00:00
|
|
|
'gtksnapshot.h',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtksorter.h',
|
2018-09-14 02:34:40 +00:00
|
|
|
'gtksortlistmodel.h',
|
2017-03-21 13:34:25 +00:00
|
|
|
'gtkspinbutton.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkspinner.h',
|
|
|
|
'gtkstack.h',
|
2016-09-26 10:51:17 +00:00
|
|
|
'gtkstacksidebar.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkstackswitcher.h',
|
|
|
|
'gtkstatusbar.h',
|
2019-11-16 21:15:51 +00:00
|
|
|
'gtkstringfilter.h',
|
2020-06-24 17:01:34 +00:00
|
|
|
'gtkstringlist.h',
|
2019-12-03 04:43:14 +00:00
|
|
|
'gtkstringsorter.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkstylecontext.h',
|
|
|
|
'gtkstyleprovider.h',
|
|
|
|
'gtkswitch.h',
|
2020-07-17 13:39:56 +00:00
|
|
|
'gtktestatcontext.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtktestutils.h',
|
2019-02-14 01:16:12 +00:00
|
|
|
'gtktext.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtktextbuffer.h',
|
|
|
|
'gtktextchild.h',
|
|
|
|
'gtktextiter.h',
|
|
|
|
'gtktextmark.h',
|
|
|
|
'gtktexttag.h',
|
|
|
|
'gtktexttagtable.h',
|
|
|
|
'gtktextview.h',
|
|
|
|
'gtktogglebutton.h',
|
|
|
|
'gtktooltip.h',
|
|
|
|
'gtktreednd.h',
|
2019-10-14 02:31:20 +00:00
|
|
|
'gtktreeexpander.h',
|
2018-06-12 01:56:21 +00:00
|
|
|
'gtktreelistmodel.h',
|
2019-12-08 22:34:10 +00:00
|
|
|
'gtktreelistrowsorter.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtktreemodel.h',
|
|
|
|
'gtktreemodelfilter.h',
|
|
|
|
'gtktreemodelsort.h',
|
|
|
|
'gtktreeselection.h',
|
|
|
|
'gtktreesortable.h',
|
|
|
|
'gtktreestore.h',
|
|
|
|
'gtktreeview.h',
|
|
|
|
'gtktreeviewcolumn.h',
|
|
|
|
'gtktypes.h',
|
2018-03-01 03:52:27 +00:00
|
|
|
'gtkvideo.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkviewport.h',
|
|
|
|
'gtkvolumebutton.h',
|
|
|
|
'gtkwidget.h',
|
2018-03-22 19:47:28 +00:00
|
|
|
'gtkwidgetpaintable.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkwindow.h',
|
2020-04-24 12:56:52 +00:00
|
|
|
'gtkwindowcontrols.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
'gtkwindowgroup.h',
|
2020-05-02 15:37:32 +00:00
|
|
|
'gtkwindowhandle.h',
|
2017-04-18 17:04:31 +00:00
|
|
|
'gtk-autocleanups.h',
|
|
|
|
'gtk.h',
|
2016-08-23 06:21:54 +00:00
|
|
|
])
|
|
|
|
|
2017-03-20 16:24:12 +00:00
|
|
|
install_headers(gtk_public_headers, subdir: 'gtk-4.0/gtk/')
|
|
|
|
|
2018-02-02 09:01:47 +00:00
|
|
|
gtk_sources = gtk_public_sources + gtk_private_sources
|
2017-04-18 17:04:31 +00:00
|
|
|
|
2018-02-23 19:59:49 +00:00
|
|
|
proto_sources = [
|
2018-03-29 17:49:10 +00:00
|
|
|
['text-input', 'unstable', 'v3', ],
|
2018-02-23 19:59:49 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
im_wayland_sources = files('gtkimcontextwayland.c')
|
|
|
|
|
|
|
|
foreach p: proto_sources
|
|
|
|
proto_name = p.get(0)
|
|
|
|
proto_stability = p.get(1)
|
|
|
|
|
2018-03-03 21:55:15 +00:00
|
|
|
if wayland_enabled
|
2018-12-18 19:51:22 +00:00
|
|
|
if proto_stability == 'stable'
|
|
|
|
output_base = proto_name
|
2020-02-16 19:09:42 +00:00
|
|
|
input = files('@0@.xml'.format(proto_name))
|
2018-12-18 19:51:22 +00:00
|
|
|
else
|
|
|
|
proto_version = p.get(2)
|
|
|
|
output_base = '@0@-@1@-@2@'.format(proto_name, proto_stability, proto_version)
|
2020-02-16 19:09:42 +00:00
|
|
|
input = files(join_paths(wlproto_dir, '@0@/@1@/@2@.xml'.format(proto_stability, proto_name, output_base)))
|
2018-12-18 19:51:22 +00:00
|
|
|
endif
|
|
|
|
|
2018-04-11 13:37:57 +00:00
|
|
|
# wayland_scanner is defined in gdk/wayland/meson.build
|
2018-03-03 21:55:15 +00:00
|
|
|
im_wayland_sources += custom_target('@0@ client header'.format(output_base),
|
|
|
|
input: input,
|
|
|
|
output: '@0@-client-protocol.h'.format(output_base),
|
|
|
|
command: [
|
|
|
|
wayland_scanner,
|
|
|
|
'client-header',
|
2018-04-11 13:37:57 +00:00
|
|
|
'@INPUT@', '@OUTPUT@',
|
2018-03-03 21:55:15 +00:00
|
|
|
])
|
2018-02-23 19:59:49 +00:00
|
|
|
|
2018-03-03 21:55:15 +00:00
|
|
|
im_wayland_sources += custom_target('@0@ source'.format(output_base),
|
|
|
|
input: input,
|
|
|
|
output: '@0@-protocol.c'.format(output_base),
|
|
|
|
command: [
|
|
|
|
wayland_scanner,
|
2018-04-11 13:37:57 +00:00
|
|
|
'private-code',
|
2018-03-03 21:55:15 +00:00
|
|
|
'@INPUT@', '@OUTPUT@',
|
|
|
|
])
|
|
|
|
endif
|
2018-02-23 19:59:49 +00:00
|
|
|
endforeach
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
if os_unix and tracker3_dep.found()
|
2020-05-16 22:04:56 +00:00
|
|
|
gtk_sources += 'gtksearchenginetracker3.c'
|
|
|
|
endif
|
|
|
|
|
2017-03-21 13:34:25 +00:00
|
|
|
if os_unix
|
|
|
|
gtk_unix_print_headers = [
|
|
|
|
'gtkpagesetupunixdialog.h',
|
|
|
|
'gtkprintunixdialog.h',
|
|
|
|
'gtkprinter.h',
|
|
|
|
'gtkprintjob.h',
|
|
|
|
'gtkunixprint-autocleanups.h',
|
|
|
|
'gtkunixprint.h',
|
|
|
|
]
|
2017-04-26 16:04:20 +00:00
|
|
|
install_headers(gtk_unix_print_headers, subdir: 'gtk-4.0/unix-print/gtk')
|
2017-03-21 13:34:25 +00:00
|
|
|
|
2017-12-21 18:57:25 +00:00
|
|
|
gtk_unix_print_sources = files([
|
2017-03-21 13:34:25 +00:00
|
|
|
'gtkcustompaperunixdialog.c',
|
|
|
|
'gtkpagesetupunixdialog.c',
|
|
|
|
'gtkprintbackend.c',
|
|
|
|
'gtkprinter.c',
|
|
|
|
'gtkprinteroption.c',
|
|
|
|
'gtkprinteroptionset.c',
|
|
|
|
'gtkprinteroptionwidget.c',
|
|
|
|
'gtkprintjob.c',
|
|
|
|
'gtkprintoperation-unix.c',
|
|
|
|
'gtkprintoperation-portal.c',
|
|
|
|
'gtkprintunixdialog.c',
|
|
|
|
])
|
2017-12-21 18:57:25 +00:00
|
|
|
|
|
|
|
gtk_sources += gtk_unix_print_sources
|
2017-03-21 13:34:25 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if os_win32
|
2017-12-21 18:57:25 +00:00
|
|
|
gtk_win32_print_sources = files([
|
2017-03-21 13:34:25 +00:00
|
|
|
'gtkprint-win32.c',
|
|
|
|
'gtkprintoperation-win32.c',
|
|
|
|
'gtkfilechoosernativewin32.c',
|
|
|
|
'gtkwin32.c',
|
2017-12-21 18:57:25 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
gtk_sources += gtk_win32_print_sources
|
2018-02-23 19:59:49 +00:00
|
|
|
gtk_sources += ['gtkimcontextime.c']
|
2017-03-22 16:48:56 +00:00
|
|
|
|
|
|
|
if cc.has_header_symbol('windows.h', 'IPrintDialogCallback')
|
|
|
|
cdata.set('HAVE_IPRINTDIALOGCALLBACK', 1)
|
|
|
|
endif
|
2017-03-21 13:34:25 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if x11_enabled
|
|
|
|
gtk_sources += ['gtkapplication-x11.c', 'gtkmountoperation-x11.c']
|
|
|
|
endif
|
|
|
|
|
|
|
|
if wayland_enabled
|
|
|
|
gtk_sources += ['gtkapplication-wayland.c']
|
2018-02-23 19:59:49 +00:00
|
|
|
gtk_sources += im_wayland_sources
|
2017-03-21 13:34:25 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if x11_enabled or wayland_enabled
|
|
|
|
gtk_sources += ['gtkapplication-dbus.c']
|
|
|
|
endif
|
|
|
|
|
|
|
|
if win32_enabled
|
|
|
|
gtk_sources += ['gtkmountoperation-stub.c']
|
|
|
|
endif
|
|
|
|
|
2020-10-10 03:08:23 +00:00
|
|
|
if macos_enabled
|
2017-12-21 18:57:25 +00:00
|
|
|
gtk_sources += files([
|
2017-03-21 13:34:25 +00:00
|
|
|
'gtksearchenginequartz.c',
|
|
|
|
'gtkmountoperation-stub.c',
|
|
|
|
'gtkapplication-quartz.c',
|
|
|
|
'gtkapplication-quartz-menu.c',
|
2017-07-18 17:35:21 +00:00
|
|
|
'gtkfilechoosernativequartz.c',
|
2020-10-10 03:08:23 +00:00
|
|
|
'gtkimcontextquartz.c',
|
2017-03-21 13:34:25 +00:00
|
|
|
'gtkquartz.c',
|
2017-12-21 18:57:25 +00:00
|
|
|
])
|
2018-02-23 19:59:49 +00:00
|
|
|
|
2017-03-21 13:34:25 +00:00
|
|
|
gtk_cargs += ['-xobjective-c'] # FIXME? maybe add_languages() instead?
|
|
|
|
endif
|
|
|
|
|
2020-10-10 03:08:23 +00:00
|
|
|
if not (x11_enabled or win32_enabled or macos_enabled)
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_sources += ['gtkmountoperation-stub.c', ]
|
2017-03-21 13:34:25 +00:00
|
|
|
endif
|
2016-08-15 08:03:57 +00:00
|
|
|
|
2017-03-11 21:54:20 +00:00
|
|
|
gen_gtk_gresources_xml = find_program('gen-gtk-gresources-xml.py')
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_gresources_xml = configure_file(output: 'gtk.gresources.xml',
|
|
|
|
command: [
|
|
|
|
gen_gtk_gresources_xml,
|
|
|
|
meson.current_source_dir(),
|
2017-10-10 10:53:06 +00:00
|
|
|
'@OUTPUT@'
|
2017-04-26 16:04:20 +00:00
|
|
|
])
|
|
|
|
|
2019-05-03 16:04:16 +00:00
|
|
|
# Build the theme files
|
2017-06-01 13:56:32 +00:00
|
|
|
sassc = find_program('sassc', required: false)
|
2019-05-03 16:04:16 +00:00
|
|
|
if not sassc.found()
|
|
|
|
subproject('sassc')
|
|
|
|
sassc = find_program('sassc', required: true)
|
2017-06-01 13:56:32 +00:00
|
|
|
endif
|
|
|
|
|
2019-05-03 16:04:16 +00:00
|
|
|
sassc_opts = [ '-a', '-M', '-t', 'compact' ]
|
|
|
|
|
|
|
|
subdir('theme/Adwaita')
|
|
|
|
subdir('theme/HighContrast')
|
|
|
|
|
2020-02-12 20:18:27 +00:00
|
|
|
theme_deps = [
|
|
|
|
adwaita_theme_deps,
|
|
|
|
hc_theme_deps,
|
|
|
|
]
|
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gtkresources = gnome.compile_resources('gtkresources',
|
2020-02-12 20:18:27 +00:00
|
|
|
gtk_gresources_xml,
|
|
|
|
dependencies: theme_deps,
|
|
|
|
source_dir: [
|
|
|
|
# List in order of preference
|
|
|
|
meson.current_build_dir(),
|
|
|
|
meson.current_source_dir(),
|
|
|
|
],
|
|
|
|
c_name: '_gtk',
|
|
|
|
extra_args: '--manual-register',
|
|
|
|
)
|
2016-08-21 16:00:19 +00:00
|
|
|
|
2020-10-04 02:26:56 +00:00
|
|
|
foreach lang : [ 'de', 'fr', 'es', 'zh' ]
|
|
|
|
conf = configuration_data()
|
|
|
|
conf.set('lang', lang)
|
|
|
|
resxml = configure_file(input: 'emoji/gresource.xml.in',
|
|
|
|
output: lang + '.gresource.xml',
|
|
|
|
configuration: conf
|
|
|
|
)
|
|
|
|
|
|
|
|
gnome.compile_resources(lang,
|
|
|
|
resxml,
|
|
|
|
source_dir: 'emoji',
|
|
|
|
gresource_bundle: true,
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(gtk_datadir, 'gtk-4.0', 'emoji')
|
|
|
|
)
|
|
|
|
endforeach
|
|
|
|
|
2016-09-09 20:02:21 +00:00
|
|
|
gtk_x11_sources = files([
|
2016-08-15 08:03:57 +00:00
|
|
|
'gtkapplication-x11.c',
|
|
|
|
'gtkmountoperation-x11.c',
|
2016-09-09 20:02:21 +00:00
|
|
|
])
|
2016-08-15 08:03:57 +00:00
|
|
|
|
2016-09-09 20:02:21 +00:00
|
|
|
gtk_wayland_sources = files([
|
2016-08-21 14:00:37 +00:00
|
|
|
'gtkapplication-wayland.c'
|
2016-09-09 20:02:21 +00:00
|
|
|
])
|
2016-08-15 08:03:57 +00:00
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_use_wayland_or_x11_c_sources = files([
|
|
|
|
'gtkapplication-dbus.c'
|
|
|
|
])
|
|
|
|
|
2017-03-21 13:34:25 +00:00
|
|
|
gtk_dbus_src = gnome.gdbus_codegen('gtkdbusgenerated',
|
2017-04-26 16:04:20 +00:00
|
|
|
'gtkdbusinterfaces.xml',
|
|
|
|
interface_prefix: 'org.Gtk.',
|
|
|
|
namespace: '_Gtk')
|
2016-08-15 08:03:57 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtkmarshalers = gnome.genmarshal('gtkmarshalers',
|
2017-04-26 16:04:20 +00:00
|
|
|
sources: 'gtkmarshalers.list',
|
|
|
|
prefix: '_gtk_marshal',
|
|
|
|
valist_marshallers: true)
|
2016-08-22 19:26:38 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtkmarshal_h = gtkmarshalers[1]
|
2016-08-21 15:16:03 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtktypebuiltins = gnome.mkenums('gtktypebuiltins',
|
Remove ATK
To build a better world sometimes means having to tear the old one down.
-- Alexander Pierce, "Captain America: The Winter Soldier"
ATK served us well for nearly 20 years, but the world has changed, and
GTK has changed with it. Now ATK is mostly a hindrance towards improving
the accessibility stack:
- it maps to a very specific implementation, AT-SPI, which is Linux and
Unix specific
- it requires implementing the same functionality in three different
layers of the stack: AT-SPI, ATK, and GTK
- only GTK uses it; every other Linux and Unix toolkit and application
talks to AT-SPI directly, including assistive technologies
Sadly, we cannot incrementally port GTK to a new accessibility stack;
since ATK insulates us entirely from the underlying implementation, we
cannot replace it piecemeal. Instead, we're going to remove everything
and then incrementally build on a clean slate:
- add an "accessible" interface, implemented by GTK objects directly,
which describe the accessible role and state changes for every UI
element
- add an "assistive technology context" to proxy a native accessibility
API, and assign it to every widget
- implement the AT context depending on the platform
For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
2020-06-16 15:41:59 +00:00
|
|
|
sources: gtk_public_headers + gtk_deprecated_headers,
|
2017-04-26 16:04:20 +00:00
|
|
|
c_template: 'gtktypebuiltins.c.template',
|
|
|
|
h_template: 'gtktypebuiltins.h.template',
|
|
|
|
install_dir: join_paths(gtk_includedir, 'gtk-4.0/gtk'),
|
|
|
|
install_header: true)
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtktypebuiltins_h = gtktypebuiltins[1]
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtkprivatetypebuiltins = gnome.mkenums('gtkprivatetypebuiltins',
|
2017-04-26 16:04:20 +00:00
|
|
|
sources: gtk_private_type_headers,
|
|
|
|
c_template: 'gtkprivatetypebuiltins.c.template',
|
|
|
|
h_template: 'gtkprivatetypebuiltins.h.template')
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-03-20 19:24:11 +00:00
|
|
|
gtkprivatetypebuiltins_h = gtkprivatetypebuiltins[1]
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-02-05 13:41:38 +00:00
|
|
|
# Generate gtktypefuncs.inc
|
2017-03-20 19:24:11 +00:00
|
|
|
typefuncs = custom_target('gtktypefuncs.inc',
|
2017-04-28 14:23:45 +00:00
|
|
|
depends: [ gdkenum_h, gskenum_h, ],
|
2017-04-26 16:04:20 +00:00
|
|
|
output: 'gtktypefuncs.inc',
|
|
|
|
input: gdk_headers +
|
2020-11-16 19:16:53 +00:00
|
|
|
gsk_public_headers +
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_public_headers +
|
|
|
|
gtk_deprecated_headers +
|
|
|
|
[ gtktypebuiltins_h, ] +
|
2019-03-22 03:20:17 +00:00
|
|
|
[ gtk_css_enum_h, gdkenum_h, gskenum_h, ],
|
2017-04-26 16:04:20 +00:00
|
|
|
command: [
|
|
|
|
find_program('gentypefuncs.py'),
|
|
|
|
'@OUTPUT@',
|
|
|
|
'@INPUT@',
|
|
|
|
],
|
|
|
|
install: false)
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-03-22 16:51:39 +00:00
|
|
|
gtkversion_cdata = configuration_data()
|
|
|
|
gtkversion_cdata.set('GTK_MAJOR_VERSION', gtk_major_version)
|
|
|
|
gtkversion_cdata.set('GTK_MINOR_VERSION', gtk_minor_version)
|
|
|
|
gtkversion_cdata.set('GTK_MICRO_VERSION', gtk_micro_version)
|
|
|
|
gtkversion_cdata.set('GTK_BINARY_AGE', gtk_binary_age)
|
|
|
|
gtkversion_cdata.set('GTK_INTERFACE_AGE', gtk_interface_age)
|
2017-08-07 11:10:18 +00:00
|
|
|
gtkversion_cdata.set('GTK_VERSION', gtk_version)
|
|
|
|
gtkversion_cdata.set('GTK_API_VERSION', gtk_api_version)
|
|
|
|
|
|
|
|
if host_machine.system() == 'windows'
|
|
|
|
gtkversion_cdata.set('EXE_MANIFEST_ARCHITECTURE', '*')
|
|
|
|
endif
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gtkversion = configure_file(input: 'gtkversion.h.in',
|
|
|
|
output: 'gtkversion.h',
|
|
|
|
configuration: gtkversion_cdata,
|
|
|
|
install_dir: join_paths(gtk_includedir, 'gtk-4.0/gtk'))
|
2016-08-23 06:21:54 +00:00
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_gen_headers = [
|
|
|
|
gtkmarshal_h,
|
|
|
|
gtktypebuiltins_h,
|
|
|
|
gtkprivatetypebuiltins_h,
|
|
|
|
gtkversion,
|
|
|
|
]
|
2017-03-23 15:54:58 +00:00
|
|
|
|
2016-09-09 20:02:21 +00:00
|
|
|
gtk_sources += [
|
2020-09-29 16:55:01 +00:00
|
|
|
gtk_a11y_src,
|
2016-08-21 15:16:03 +00:00
|
|
|
gtk_dbus_src,
|
2016-09-26 10:51:17 +00:00
|
|
|
gtk_deprecated_sources,
|
2016-08-21 15:16:03 +00:00
|
|
|
inspector_sources,
|
2016-08-22 19:26:38 +00:00
|
|
|
gtkresources,
|
2017-03-20 19:24:11 +00:00
|
|
|
gtkmarshalers,
|
|
|
|
gtkprivatetypebuiltins,
|
|
|
|
gtktypebuiltins,
|
2016-08-21 15:16:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
gtk_deps = [
|
2016-09-09 20:02:21 +00:00
|
|
|
gmodule_dep,
|
|
|
|
glib_dep,
|
2017-09-07 18:23:41 +00:00
|
|
|
gobject_dep,
|
2017-08-01 08:49:08 +00:00
|
|
|
platform_gio_dep,
|
2016-09-09 20:02:21 +00:00
|
|
|
pangocairo_dep,
|
|
|
|
pango_dep,
|
2019-02-04 23:07:14 +00:00
|
|
|
fribidi_dep,
|
2016-09-09 20:02:21 +00:00
|
|
|
cairogobj_dep,
|
|
|
|
cairo_dep,
|
|
|
|
fontconfig_dep,
|
|
|
|
pixbuf_dep,
|
|
|
|
epoxy_dep,
|
2017-03-23 20:55:59 +00:00
|
|
|
libm,
|
2017-04-26 16:10:15 +00:00
|
|
|
graphene_dep,
|
2016-08-21 15:16:03 +00:00
|
|
|
]
|
|
|
|
|
2018-01-03 04:46:37 +00:00
|
|
|
if harfbuzz_dep.found() and pangoft_dep.found()
|
2018-01-11 17:49:43 +00:00
|
|
|
gtk_deps += [ harfbuzz_dep, pangoft_dep ]
|
2018-03-28 04:57:28 +00:00
|
|
|
gtk_sources += files([
|
|
|
|
'language-names.c',
|
|
|
|
'script-names.c',
|
|
|
|
])
|
2018-01-03 04:46:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-09-09 20:02:21 +00:00
|
|
|
if x11_enabled
|
2017-04-26 16:10:15 +00:00
|
|
|
x11_data_prefix = dependency('x11').get_pkgconfig_variable('prefix')
|
2016-09-24 08:04:23 +00:00
|
|
|
|
2017-04-26 16:10:15 +00:00
|
|
|
gtk_cargs += [ '-DX11_DATA_PREFIX="@0@"'.format(x11_data_prefix), ]
|
2016-09-26 10:51:17 +00:00
|
|
|
gtk_sources += gtk_x11_sources
|
2017-04-26 16:10:15 +00:00
|
|
|
gtk_deps += [ xi_dep, x11_dep, ]
|
2016-09-09 20:02:21 +00:00
|
|
|
endif
|
2016-08-21 15:16:03 +00:00
|
|
|
|
|
|
|
if wayland_enabled
|
2016-09-26 10:51:17 +00:00
|
|
|
gtk_sources += gtk_wayland_sources
|
|
|
|
endif
|
|
|
|
|
2018-02-23 19:59:49 +00:00
|
|
|
if broadway_enabled
|
|
|
|
gtk_sources += ['gtkimcontextbroadway.c']
|
|
|
|
endif
|
|
|
|
|
2017-08-01 08:49:08 +00:00
|
|
|
if win32_enabled
|
|
|
|
gtk_cargs += ['-DGTK_PRINT_BACKENDS="file,lpr"']
|
2018-03-04 02:48:10 +00:00
|
|
|
gtk_deps += [ giowin32_dep, pangowin32_dep ]
|
|
|
|
|
2017-08-01 08:49:08 +00:00
|
|
|
gtk_deps += [cc.find_library('advapi32'),
|
|
|
|
cc.find_library('comctl32'),
|
2020-09-09 03:37:33 +00:00
|
|
|
cc.find_library('crypt32'), # For CryptProtectMemory()
|
2017-08-01 08:49:08 +00:00
|
|
|
cc.find_library('dwmapi'),
|
|
|
|
cc.find_library('imm32'),
|
|
|
|
cc.find_library('setupapi'),
|
|
|
|
cc.find_library('winmm')]
|
2017-08-07 11:10:18 +00:00
|
|
|
|
|
|
|
gtkwin32rc = configure_file(input: 'gtk-win32.rc.body.in',
|
|
|
|
output: 'gtk-win32.rc.body',
|
|
|
|
configuration: gtkversion_cdata)
|
|
|
|
|
|
|
|
win32_manifest = configure_file(input: 'libgtk4.manifest.in',
|
|
|
|
output: 'libgtk4.manifest',
|
|
|
|
configuration: gtkversion_cdata)
|
|
|
|
|
|
|
|
win32res = import('windows').compile_resources(gtkwin32rc, include_directories : win32rcinc)
|
|
|
|
gtk_sources += win32res
|
2017-08-01 08:49:08 +00:00
|
|
|
endif
|
|
|
|
|
2016-09-26 10:51:17 +00:00
|
|
|
# So we don't add these twice
|
|
|
|
if x11_enabled or wayland_enabled
|
|
|
|
gtk_sources += gtk_use_wayland_or_x11_c_sources
|
|
|
|
gtk_deps += pangoft_dep
|
2016-08-21 15:16:03 +00:00
|
|
|
endif
|
|
|
|
|
2020-10-10 03:08:23 +00:00
|
|
|
if macos_enabled
|
|
|
|
gtk_macos_frameworks = [
|
|
|
|
'AppKit',
|
|
|
|
'Foundation',
|
|
|
|
]
|
|
|
|
gtk_deps += [dependency('appleframeworks', modules: gtk_macos_frameworks)]
|
|
|
|
endif
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
gtk_deps += cloudproviders_dep
|
2017-08-10 20:30:36 +00:00
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
if os_unix
|
2020-05-16 22:04:56 +00:00
|
|
|
gtk_deps += tracker3_dep
|
|
|
|
endif
|
|
|
|
|
2018-04-11 16:43:27 +00:00
|
|
|
# Unconditional. If libintl isn't found,
|
|
|
|
# the object just does nothing being in the deplist
|
|
|
|
gtk_deps += libintl_dep
|
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gtk_settings_schemas = [
|
2019-04-02 19:22:48 +00:00
|
|
|
'org.gtk.gtk4.Settings.FileChooser.gschema.xml',
|
|
|
|
'org.gtk.gtk4.Settings.ColorChooser.gschema.xml',
|
|
|
|
'org.gtk.gtk4.Settings.EmojiChooser.gschema.xml',
|
|
|
|
'org.gtk.gtk4.Settings.Debug.gschema.xml',
|
2017-04-26 16:04:20 +00:00
|
|
|
]
|
|
|
|
install_data(gtk_settings_schemas, install_dir: gtk_schemasdir)
|
2018-02-17 08:48:12 +00:00
|
|
|
gnome.compile_schemas(depend_files: files(gtk_settings_schemas),
|
|
|
|
build_by_default: true)
|
|
|
|
gtk_schema_build_dir = meson.current_build_dir()
|
2016-09-24 08:43:22 +00:00
|
|
|
|
2017-03-23 20:50:03 +00:00
|
|
|
# Check for more things
|
|
|
|
if cc.has_header('langinfo.h')
|
2017-04-26 16:04:20 +00:00
|
|
|
foreach nl_enum: [ '_NL_MEASUREMENT_MEASUREMENT',
|
|
|
|
'_NL_PAPER_HEIGHT',
|
|
|
|
'_NL_PAPER_WIDTH',
|
|
|
|
'_NL_TIME_FIRST_WEEKDAY', ]
|
2017-03-23 20:50:03 +00:00
|
|
|
cdata.set('HAVE_' + nl_enum, cc.has_header_symbol('langinfo.h', nl_enum))
|
|
|
|
endforeach
|
|
|
|
endif
|
|
|
|
|
2020-07-18 00:57:17 +00:00
|
|
|
# Maintain compatibility with autotools
|
|
|
|
gtk_ldflags = []
|
|
|
|
if os_darwin
|
|
|
|
gtk_ldflags += [ '-compatibility_version 1', '-current_version 1.0', ]
|
|
|
|
endif
|
|
|
|
|
2017-03-23 20:50:03 +00:00
|
|
|
# Library
|
2019-11-11 15:37:46 +00:00
|
|
|
libgtk = library('gtk-4',
|
|
|
|
soversion: gtk_soversion,
|
2020-04-14 13:15:31 +00:00
|
|
|
version: gtk_library_version,
|
2019-11-11 15:37:46 +00:00
|
|
|
sources: [typefuncs, gtk_sources, gtkmarshal_h, gtkprivatetypebuiltins_h],
|
|
|
|
c_args: gtk_cargs + common_cflags,
|
|
|
|
include_directories: [confinc, gdkinc, gskinc, gtkinc],
|
|
|
|
dependencies: gtk_deps + [libgtk_css_dep, libgdk_dep, libgsk_dep],
|
|
|
|
link_with: [libgtk_css, libgdk, libgsk, ],
|
2020-07-18 00:57:17 +00:00
|
|
|
link_args: common_ldflags + gtk_ldflags,
|
2019-11-11 15:37:46 +00:00
|
|
|
install: true)
|
2017-04-26 16:04:20 +00:00
|
|
|
|
2017-09-07 18:20:38 +00:00
|
|
|
gtk_dep_sources = [gtkversion, gtktypebuiltins_h]
|
2020-09-30 13:41:28 +00:00
|
|
|
|
2017-04-18 17:04:31 +00:00
|
|
|
# Introspection
|
2020-09-30 13:41:28 +00:00
|
|
|
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
|
|
|
build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled())
|
|
|
|
|
2017-09-02 11:00:05 +00:00
|
|
|
if build_gir
|
2017-04-18 17:04:31 +00:00
|
|
|
gir_args = [
|
2019-11-27 13:33:43 +00:00
|
|
|
'-DGTK_COMPILATION',
|
2017-05-05 10:16:06 +00:00
|
|
|
'--quiet',
|
2017-04-18 17:04:31 +00:00
|
|
|
]
|
|
|
|
|
2018-02-12 14:22:06 +00:00
|
|
|
# We may build some of the dependencies as sub-projects; this means
|
|
|
|
# that we need to depend on the built introspection data, instead of
|
|
|
|
# the installed one
|
|
|
|
gdk_gir_inc = [ 'cairo-1.0', 'Gio-2.0', ]
|
|
|
|
|
2020-01-30 09:43:35 +00:00
|
|
|
if graphene_dep.type_name() == 'internal'
|
|
|
|
gdk_gir_inc += subproject('graphene').get_variable('graphene_gir').get(0)
|
|
|
|
else
|
|
|
|
gdk_gir_inc += 'Graphene-1.0'
|
|
|
|
endif
|
|
|
|
|
2018-02-12 14:22:06 +00:00
|
|
|
if pixbuf_dep.type_name() == 'internal'
|
|
|
|
gdk_gir_inc += subproject('gdk-pixbuf').get_variable('gdkpixbuf_gir').get(0)
|
|
|
|
else
|
|
|
|
gdk_gir_inc += 'GdkPixbuf-2.0'
|
|
|
|
endif
|
|
|
|
|
|
|
|
if pango_dep.type_name() == 'internal'
|
|
|
|
gdk_gir_inc += subproject('pango').get_variable('pango_gir').get(0)
|
|
|
|
else
|
|
|
|
gdk_gir_inc += 'Pango-1.0'
|
|
|
|
endif
|
|
|
|
|
2017-04-18 17:04:31 +00:00
|
|
|
gdk_gir = gnome.generate_gir(libgtk,
|
2017-04-26 16:04:20 +00:00
|
|
|
sources: gdk_public_headers + gdk_public_sources + [ gdkenum_h ],
|
|
|
|
namespace: 'Gdk',
|
|
|
|
nsversion: gtk_api_version,
|
|
|
|
identifier_prefix: 'Gdk',
|
|
|
|
symbol_prefix: 'gdk',
|
2019-02-06 08:53:17 +00:00
|
|
|
export_packages: 'gtk4',
|
2018-02-12 14:22:06 +00:00
|
|
|
includes: gdk_gir_inc,
|
2018-02-11 16:42:46 +00:00
|
|
|
header: 'gdk/gdk.h',
|
2017-04-26 16:04:20 +00:00
|
|
|
install: true,
|
2019-11-27 13:33:43 +00:00
|
|
|
extra_args: gir_args,
|
|
|
|
)
|
2017-05-10 10:36:30 +00:00
|
|
|
gdk_gir_dep = declare_dependency(sources: gdk_gir)
|
2017-09-07 18:20:38 +00:00
|
|
|
gtk_dep_sources += gdk_gir
|
2017-04-18 17:04:31 +00:00
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
if x11_enabled
|
2017-09-07 18:20:38 +00:00
|
|
|
gdk_x11_gir = gnome.generate_gir(libgtk,
|
2020-04-07 15:46:12 +00:00
|
|
|
sources: gdk_x11_public_headers + gdk_x11_public_sources,
|
2017-09-07 18:20:38 +00:00
|
|
|
namespace: 'GdkX11',
|
|
|
|
nsversion: gtk_api_version,
|
|
|
|
identifier_prefix: 'Gdk',
|
|
|
|
symbol_prefix: 'gdk',
|
2019-02-06 08:53:17 +00:00
|
|
|
export_packages: 'gtk4-x11',
|
2018-02-12 14:22:06 +00:00
|
|
|
includes: [ gdk_gir[0], 'xlib-2.0', ],
|
2017-09-07 18:20:38 +00:00
|
|
|
install: true,
|
|
|
|
dependencies: gdk_gir_dep,
|
2018-02-11 16:42:46 +00:00
|
|
|
header: 'gdk/gdkx.h',
|
2019-11-27 13:33:43 +00:00
|
|
|
extra_args: gir_args,
|
|
|
|
)
|
2017-09-07 18:20:38 +00:00
|
|
|
gtk_dep_sources += gdk_x11_gir
|
2017-04-26 16:04:20 +00:00
|
|
|
endif
|
2017-04-18 17:04:31 +00:00
|
|
|
|
2020-10-12 13:05:52 +00:00
|
|
|
if wayland_enabled
|
|
|
|
gdk_wayland_gir = gnome.generate_gir(libgtk,
|
|
|
|
sources: gdk_wayland_public_headers + gdk_wayland_sources,
|
|
|
|
namespace: 'GdkWayland',
|
|
|
|
nsversion: gtk_api_version,
|
|
|
|
identifier_prefix: 'Gdk',
|
|
|
|
symbol_prefix: 'gdk',
|
|
|
|
export_packages: 'gtk4-wayland',
|
|
|
|
includes: [ gdk_gir[0], ],
|
|
|
|
install: true,
|
|
|
|
dependencies: gdk_gir_dep,
|
|
|
|
header: 'gdk/gdkwayland.h',
|
|
|
|
extra_args: gir_args,
|
|
|
|
)
|
|
|
|
gtk_dep_sources += gdk_wayland_gir
|
|
|
|
endif
|
|
|
|
|
2020-01-30 09:43:35 +00:00
|
|
|
gsk_gir_inc = [ gdk_gir[0] ]
|
2018-02-12 14:22:06 +00:00
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
gsk_gir = gnome.generate_gir(libgtk,
|
2017-04-28 14:23:45 +00:00
|
|
|
sources: gsk_public_headers + gsk_public_sources + [ gskenum_h ],
|
2017-04-26 16:04:20 +00:00
|
|
|
namespace: 'Gsk',
|
|
|
|
nsversion: gtk_api_version,
|
|
|
|
identifier_prefix: 'Gsk',
|
|
|
|
symbol_prefix: 'gsk',
|
2019-02-06 08:53:17 +00:00
|
|
|
export_packages: 'gtk4',
|
2018-02-12 14:22:06 +00:00
|
|
|
includes: gsk_gir_inc,
|
2018-02-11 16:42:46 +00:00
|
|
|
header: 'gsk/gsk.h',
|
2017-04-26 16:04:20 +00:00
|
|
|
install: true,
|
2017-09-07 18:20:38 +00:00
|
|
|
dependencies: [gdk_gir_dep, graphene_dep],
|
2019-11-27 13:33:43 +00:00
|
|
|
extra_args: gir_args,
|
|
|
|
)
|
2018-02-12 14:22:06 +00:00
|
|
|
gsk_gir_dep = declare_dependency(dependencies: [gdk_gir_dep, graphene_dep],
|
|
|
|
sources: gsk_gir)
|
2017-09-07 18:20:38 +00:00
|
|
|
gtk_dep_sources += gsk_gir
|
2017-04-26 16:04:20 +00:00
|
|
|
|
2017-12-21 18:57:25 +00:00
|
|
|
gtk_introspection_sources = [
|
|
|
|
gtk_public_headers,
|
|
|
|
gtk_public_sources,
|
2019-11-11 15:53:09 +00:00
|
|
|
gtk_css_public_headers,
|
|
|
|
gtk_css_public_sources,
|
2019-05-02 00:13:16 +00:00
|
|
|
gtk_deprecated_headers,
|
|
|
|
gtk_deprecated_sources,
|
2017-12-21 18:57:25 +00:00
|
|
|
gtktypebuiltins_h,
|
|
|
|
gtkversion,
|
|
|
|
]
|
|
|
|
|
|
|
|
if os_unix
|
|
|
|
gtk_introspection_sources += gtk_unix_print_sources
|
|
|
|
endif
|
|
|
|
|
|
|
|
if os_win32
|
|
|
|
gtk_introspection_sources += gtk_win32_print_sources
|
|
|
|
endif
|
2017-09-07 18:20:38 +00:00
|
|
|
|
|
|
|
gtk_gir = gnome.generate_gir(libgtk,
|
2017-12-21 18:57:25 +00:00
|
|
|
sources: gtk_introspection_sources,
|
2017-09-07 18:20:38 +00:00
|
|
|
namespace: 'Gtk',
|
|
|
|
nsversion: gtk_api_version,
|
|
|
|
identifier_prefix: 'Gtk',
|
|
|
|
symbol_prefix: 'gtk',
|
2019-02-06 08:53:17 +00:00
|
|
|
export_packages: 'gtk4',
|
Remove ATK
To build a better world sometimes means having to tear the old one down.
-- Alexander Pierce, "Captain America: The Winter Soldier"
ATK served us well for nearly 20 years, but the world has changed, and
GTK has changed with it. Now ATK is mostly a hindrance towards improving
the accessibility stack:
- it maps to a very specific implementation, AT-SPI, which is Linux and
Unix specific
- it requires implementing the same functionality in three different
layers of the stack: AT-SPI, ATK, and GTK
- only GTK uses it; every other Linux and Unix toolkit and application
talks to AT-SPI directly, including assistive technologies
Sadly, we cannot incrementally port GTK to a new accessibility stack;
since ATK insulates us entirely from the underlying implementation, we
cannot replace it piecemeal. Instead, we're going to remove everything
and then incrementally build on a clean slate:
- add an "accessible" interface, implemented by GTK objects directly,
which describe the accessible role and state changes for every UI
element
- add an "assistive technology context" to proxy a native accessibility
API, and assign it to every widget
- implement the AT context depending on the platform
For more information, see: https://gitlab.gnome.org/GNOME/gtk/-/issues/2833
2020-06-16 15:41:59 +00:00
|
|
|
includes: [ gdk_gir[0], gsk_gir[0], ],
|
2018-02-11 16:42:46 +00:00
|
|
|
header: 'gtk/gtk.h',
|
2017-09-07 18:20:38 +00:00
|
|
|
install: true,
|
|
|
|
dependencies: gsk_gir_dep,
|
|
|
|
extra_args: gir_args + [
|
|
|
|
'-DGTK_COMPILATION',
|
|
|
|
])
|
|
|
|
gtk_dep_sources += gtk_gir
|
2017-04-18 17:04:31 +00:00
|
|
|
endif
|
|
|
|
|
2017-09-07 18:20:38 +00:00
|
|
|
libgtk_dep = declare_dependency(sources: gtk_dep_sources,
|
|
|
|
include_directories: [confinc, gtkinc],
|
2019-03-22 03:20:17 +00:00
|
|
|
dependencies: gtk_deps + [libgtk_css_dep, libgdk_dep, libgsk_dep],
|
2017-09-07 18:20:38 +00:00
|
|
|
link_with: libgtk,
|
|
|
|
link_args: common_ldflags)
|
|
|
|
|
2018-08-19 03:41:25 +00:00
|
|
|
subdir('tools')
|