2020-05-23 01:56:39 +00:00
|
|
|
fs = import('fs')
|
|
|
|
|
2017-04-19 10:35:45 +00:00
|
|
|
private_headers = [
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkaccelgroupprivate.h',
|
|
|
|
'gtkaccelmapprivate.h',
|
2020-07-29 02:08:37 +00:00
|
|
|
'gtkaccessibleattributesetprivate.h',
|
|
|
|
'gtkaccessibleattributevalueprivate.h',
|
|
|
|
'gtkaccessibleprivate.h',
|
|
|
|
'gtkaccessiblevalueprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkactionhelperprivate.h',
|
|
|
|
'gtkactionmuxerprivate.h',
|
2020-07-29 02:08:37 +00:00
|
|
|
'gtkactionobservableprivate.h',
|
|
|
|
'gtkactionobserverprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkadjustmentprivate.h',
|
|
|
|
'gtkallocatedbitmaskprivate.h',
|
|
|
|
'gtkappchooserprivate.h',
|
|
|
|
'gtkapplicationaccelsprivate.h',
|
|
|
|
'gtkapplicationprivate.h',
|
2020-07-29 02:08:37 +00:00
|
|
|
'gtkatcontextprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkbindingsprivate.h',
|
2020-12-02 18:53:45 +00:00
|
|
|
'gtkbitmaskprivateimpl.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkbitmaskprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkbuildableprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkbuilderprivate.h',
|
2020-07-29 02:08:37 +00:00
|
|
|
'gtkbuilderscopeprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkbuiltiniconprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkbuttonprivate.h',
|
|
|
|
'gtkcellareaboxcontextprivate.h',
|
|
|
|
'gtkcheckbuttonprivate.h',
|
|
|
|
'gtkcolorchooserprivate.h',
|
|
|
|
'gtkcoloreditorprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcolorpickerkwinprivate.h',
|
|
|
|
'gtkcolorpickerportalprivate.h',
|
|
|
|
'gtkcolorpickerprivate.h',
|
|
|
|
'gtkcolorpickershellprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcolorplaneprivate.h',
|
|
|
|
'gtkcolorscaleprivate.h',
|
|
|
|
'gtkcolorswatchprivate.h',
|
2019-10-30 17:03:23 +00:00
|
|
|
'gtkcolumnlistitemfactoryprivate.h',
|
2019-11-02 05:15:38 +00:00
|
|
|
'gtkcolumnviewcellprivate.h',
|
2019-10-28 19:50:49 +00:00
|
|
|
'gtkcolumnviewcolumnprivate.h',
|
2019-11-07 22:40:47 +00:00
|
|
|
'gtkcolumnviewlayoutprivate.h',
|
2019-10-30 17:03:23 +00:00
|
|
|
'gtkcolumnviewprivate.h',
|
2019-12-04 13:13:13 +00:00
|
|
|
'gtkcolumnviewsorterprivate.h',
|
2019-11-08 20:23:03 +00:00
|
|
|
'gtkcolumnviewtitleprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcomboboxprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcomposetable.h',
|
2019-07-02 08:48:17 +00:00
|
|
|
'gtkconstraintexpressionprivate.h',
|
|
|
|
'gtkconstraintguideprivate.h',
|
|
|
|
'gtkconstraintlayoutprivate.h',
|
|
|
|
'gtkconstraintprivate.h',
|
|
|
|
'gtkconstraintsolverprivate.h',
|
|
|
|
'gtkconstrainttypesprivate.h',
|
|
|
|
'gtkconstraintvflparserprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcountingbloomfilterprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcssanimatedstyleprivate.h',
|
|
|
|
'gtkcssanimationprivate.h',
|
|
|
|
'gtkcssarrayvalueprivate.h',
|
|
|
|
'gtkcssbgsizevalueprivate.h',
|
|
|
|
'gtkcssbordervalueprivate.h',
|
2020-07-29 02:08:37 +00:00
|
|
|
'gtkcssboxesimplprivate.h',
|
2019-12-28 05:27:56 +00:00
|
|
|
'gtkcssboxesprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcsscalcvalueprivate.h',
|
|
|
|
'gtkcsscolorvalueprivate.h',
|
|
|
|
'gtkcsscornervalueprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcssdataurlprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcssdimensionvalueprivate.h',
|
|
|
|
'gtkcssdynamicprivate.h',
|
|
|
|
'gtkcsseasevalueprivate.h',
|
|
|
|
'gtkcssenumvalueprivate.h',
|
|
|
|
'gtkcssfiltervalueprivate.h',
|
|
|
|
'gtkcssfontfeaturesvalueprivate.h',
|
|
|
|
'gtkcssfontvariationsvalueprivate.h',
|
|
|
|
'gtkcssiconthemevalueprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcssimageconicprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcssimagecrossfadeprivate.h',
|
|
|
|
'gtkcssimagefallbackprivate.h',
|
|
|
|
'gtkcssimageiconthemeprivate.h',
|
|
|
|
'gtkcssimageinvalidprivate.h',
|
|
|
|
'gtkcssimagelinearprivate.h',
|
|
|
|
'gtkcssimagepaintableprivate.h',
|
|
|
|
'gtkcssimageprivate.h',
|
|
|
|
'gtkcssimageradialprivate.h',
|
|
|
|
'gtkcssimagerecolorprivate.h',
|
|
|
|
'gtkcssimagescaledprivate.h',
|
|
|
|
'gtkcssimageurlprivate.h',
|
|
|
|
'gtkcssimagevalueprivate.h',
|
|
|
|
'gtkcssimagewin32private.h',
|
|
|
|
'gtkcssinheritvalueprivate.h',
|
|
|
|
'gtkcssinitialvalueprivate.h',
|
|
|
|
'gtkcsskeyframesprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcsslocationprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcsslookupprivate.h',
|
|
|
|
'gtkcssmatcherprivate.h',
|
|
|
|
'gtkcssnodedeclarationprivate.h',
|
|
|
|
'gtkcssnodeprivate.h',
|
|
|
|
'gtkcssnodestylecacheprivate.h',
|
|
|
|
'gtkcssnumbervalueprivate.h',
|
|
|
|
'gtkcsspalettevalueprivate.h',
|
|
|
|
'gtkcssparserprivate.h',
|
|
|
|
'gtkcsspathnodeprivate.h',
|
|
|
|
'gtkcsspositionvalueprivate.h',
|
|
|
|
'gtkcssproviderprivate.h',
|
|
|
|
'gtkcssrepeatvalueprivate.h',
|
|
|
|
'gtkcssrgbavalueprivate.h',
|
|
|
|
'gtkcsssectionprivate.h',
|
|
|
|
'gtkcssselectorprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcssserializerprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcssshadowsvalueprivate.h',
|
|
|
|
'gtkcssshadowvalueprivate.h',
|
|
|
|
'gtkcssshorthandpropertyprivate.h',
|
|
|
|
'gtkcssstaticstyleprivate.h',
|
|
|
|
'gtkcssstringvalueprivate.h',
|
|
|
|
'gtkcssstylechangeprivate.h',
|
|
|
|
'gtkcssstyleprivate.h',
|
|
|
|
'gtkcssstylepropertyprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkcsstokenizerprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkcsstransformvalueprivate.h',
|
|
|
|
'gtkcsstransientnodeprivate.h',
|
|
|
|
'gtkcsstransitionprivate.h',
|
|
|
|
'gtkcsstypesprivate.h',
|
|
|
|
'gtkcssunsetvalueprivate.h',
|
|
|
|
'gtkcssvalueprivate.h',
|
|
|
|
'gtkcsswidgetnodeprivate.h',
|
|
|
|
'gtkcsswin32sizevalueprivate.h',
|
|
|
|
'gtkdialogprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkdragdestprivate.h',
|
|
|
|
'gtkdropprivate.h',
|
|
|
|
'gtkemojicompletion.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkentryprivate.h',
|
|
|
|
'gtkeventcontrollerlegacyprivate.h',
|
|
|
|
'gtkeventcontrollerprivate.h',
|
|
|
|
'gtkfilechoosererrorstackprivate.h',
|
|
|
|
'gtkfilechoosernativeprivate.h',
|
|
|
|
'gtkfilechooserprivate.h',
|
|
|
|
'gtkfilechooserwidgetprivate.h',
|
|
|
|
'gtkfilefilterprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkflowboxprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkfontchooserprivate.h',
|
|
|
|
'gtkfontchooserwidgetprivate.h',
|
|
|
|
'gtkgesturedragprivate.h',
|
|
|
|
'gtkgesturelongpressprivate.h',
|
|
|
|
'gtkgesturemultipressprivate.h',
|
|
|
|
'gtkgesturepanprivate.h',
|
|
|
|
'gtkgestureprivate.h',
|
|
|
|
'gtkgesturerotateprivate.h',
|
|
|
|
'gtkgesturesingleprivate.h',
|
|
|
|
'gtkgesturestylusprivate.h',
|
|
|
|
'gtkgestureswipeprivate.h',
|
|
|
|
'gtkgesturezoomprivate.h',
|
|
|
|
'gtkgizmoprivate.h',
|
|
|
|
'gtkheaderbarprivate.h',
|
|
|
|
'gtkhslaprivate.h',
|
|
|
|
'gtkiconcacheprivate.h',
|
|
|
|
'gtkiconcachevalidatorprivate.h',
|
|
|
|
'gtkiconhelperprivate.h',
|
|
|
|
'gtkiconprivate.h',
|
|
|
|
'gtkiconthemeprivate.h',
|
|
|
|
'gtkiconviewprivate.h',
|
|
|
|
'gtkimagedefinitionprivate.h',
|
|
|
|
'gtkimageprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkimcontextbroadway.h',
|
|
|
|
'gtkimcontextime.h',
|
|
|
|
'gtkimcontextquartz.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkimcontextsimpleprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkimcontextsimpleseqs.h',
|
|
|
|
'gtkimcontextwayland.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkimmoduleprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkimmodule.h',
|
2020-12-01 18:01:33 +00:00
|
|
|
'gtkintl.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkistringprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkkineticscrollingprivate.h',
|
|
|
|
'gtklabelprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtklayoutmanagerprivate.h',
|
2019-10-22 06:01:16 +00:00
|
|
|
'gtklistbaseprivate.h',
|
2018-09-21 03:05:34 +00:00
|
|
|
'gtklistitemprivate.h',
|
2018-09-17 05:29:50 +00:00
|
|
|
'gtklistitemfactoryprivate.h',
|
2018-09-20 03:18:34 +00:00
|
|
|
'gtklistitemmanagerprivate.h',
|
2019-11-01 06:31:38 +00:00
|
|
|
'gtklistitemwidgetprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtklistlistmodelprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtklockbuttonprivate.h',
|
|
|
|
'gtkmagnifierprivate.h',
|
|
|
|
'gtkmediafileprivate.h',
|
|
|
|
'gtkmenubuttonprivate.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtkmenusectionboxprivate.h',
|
|
|
|
'gtkmenutrackeritemprivate.h',
|
|
|
|
'gtkmenutrackerprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkmodelbuttonprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkmodulesprivate.h',
|
|
|
|
'gtkmountoperationprivate.h',
|
|
|
|
'gtknativedialogprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtknativeprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtknomediafileprivate.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtkpango.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkpasswordentrybufferprivate.h',
|
2020-12-16 15:17:13 +00:00
|
|
|
'gtkpasswordentryprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkpathbar.h',
|
2020-12-02 18:53:45 +00:00
|
|
|
'gdkpixbufutilsprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkplacessidebarprivate.h',
|
|
|
|
'gtkplacesviewprivate.h',
|
|
|
|
'gtkplacesviewrowprivate.h',
|
|
|
|
'gtkpointerfocusprivate.h',
|
2020-12-09 15:48:09 +00:00
|
|
|
'gtkpopcountprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkpopovermenubarprivate.h',
|
|
|
|
'gtkpopovermenuprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkpopoverprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkprintbackendprivate.h',
|
2019-05-26 20:29:57 +00:00
|
|
|
'gtkprinterprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkprintoperation-portal.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkprintoperation-private.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkprintutils.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkprivate.h',
|
|
|
|
'gtkprogresstrackerprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkpropertylookuplistmodelprivate.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtkquery.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkrangeprivate.h',
|
|
|
|
'gtkrbtreeprivate.h',
|
|
|
|
'gtkrenderbackgroundprivate.h',
|
|
|
|
'gtkrenderborderprivate.h',
|
|
|
|
'gtkrendericonprivate.h',
|
|
|
|
'gtkrendernodepaintableprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkrootprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkroundedboxprivate.h',
|
|
|
|
'gtkscalerprivate.h',
|
2020-12-01 18:01:33 +00:00
|
|
|
'gtksearchengine.h',
|
|
|
|
'gtksearchenginemodel.h',
|
|
|
|
'gtksearchenginequartz.h',
|
|
|
|
'gtksearchenginetracker3.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtksearchentryprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtksecurememoryprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtksettingsprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkshortcutactionprivate.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtkshortcutcontrollerprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtkshortcutmanagerprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkshortcutsshortcutprivate.h',
|
|
|
|
'gtkshortcutswindowprivate.h',
|
|
|
|
'gtksidebarrowprivate.h',
|
|
|
|
'gtksizegroup-private.h',
|
|
|
|
'gtksizerequestcacheprivate.h',
|
|
|
|
'gtksnapshotprivate.h',
|
2020-12-16 15:32:55 +00:00
|
|
|
'gtksorterprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtksortkeysprivate.h',
|
2020-12-16 15:50:27 +00:00
|
|
|
'gtkspinbuttonprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkstyleanimationprivate.h',
|
|
|
|
'gtkstylecascadeprivate.h',
|
|
|
|
'gtkstylecontextprivate.h',
|
|
|
|
'gtkstylepropertyprivate.h',
|
|
|
|
'gtkstyleproviderprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtktestatcontextprivate.h',
|
2020-12-15 16:20:21 +00:00
|
|
|
'gtktextattributes.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktextbufferprivate.h',
|
|
|
|
'gtktextchildprivate.h',
|
|
|
|
'gtktextdisplayprivate.h',
|
|
|
|
'gtktexthandleprivate.h',
|
2019-12-12 22:58:23 +00:00
|
|
|
'gtktexthistoryprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktextiterprivate.h',
|
|
|
|
'gtktextlayoutprivate.h',
|
2019-12-12 22:58:23 +00:00
|
|
|
'gtktextlinedisplaycacheprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktextmarkprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtktextprivate.h',
|
|
|
|
'gtktextsegment.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktexttagprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtktextutil.h',
|
|
|
|
'gtktextviewchildprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktextviewprivate.h',
|
|
|
|
'gtktogglebuttonprivate.h',
|
|
|
|
'gtktoolbarprivate.h',
|
|
|
|
'gtktooltipprivate.h',
|
|
|
|
'gtktooltipwindowprivate.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'gtktreedatalist.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtktreepopoverprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtktreeprivate.h',
|
2020-06-06 01:36:27 +00:00
|
|
|
'gtktreerbtreeprivate.h',
|
2018-05-08 13:18:50 +00:00
|
|
|
'gtkutilsprivate.h',
|
|
|
|
'gtkwidgetpaintableprivate.h',
|
|
|
|
'gtkwidgetpathprivate.h',
|
|
|
|
'gtkwidgetprivate.h',
|
|
|
|
'gtkwin32drawprivate.h',
|
|
|
|
'gtkwin32themeprivate.h',
|
|
|
|
'gtkwindowprivate.h',
|
2020-12-01 18:03:31 +00:00
|
|
|
|
2020-12-15 14:07:11 +00:00
|
|
|
'gsettings-mapping.h',
|
|
|
|
'gskpango.h',
|
2020-12-02 18:53:45 +00:00
|
|
|
'gtkdbusgenerated.h',
|
|
|
|
'imm-extra.h',
|
2020-12-15 14:07:11 +00:00
|
|
|
'language-names.h',
|
|
|
|
'open-type-layout.h',
|
|
|
|
'script-names.h',
|
2020-12-01 18:03:31 +00:00
|
|
|
'text-input-unstable-v3-client-protocol.h',
|
2020-12-01 15:21:44 +00:00
|
|
|
|
|
|
|
'a11y',
|
2020-12-01 18:01:33 +00:00
|
|
|
'inspector',
|
|
|
|
'roaring',
|
2020-12-02 18:53:45 +00:00
|
|
|
'timsort',
|
2020-12-15 14:07:11 +00:00
|
|
|
'tools',
|
2017-04-19 10:35:45 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
images = [
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/aboutdialog.png',
|
|
|
|
'images/action-bar.png',
|
|
|
|
'images/appchooserbutton.png',
|
|
|
|
'images/appchooserdialog.png',
|
|
|
|
'images/arrows.png',
|
|
|
|
'images/assistant.png',
|
|
|
|
'images/background.png',
|
|
|
|
'images/bloatpad-gnome.png',
|
|
|
|
'images/bloatpad-osx.png',
|
|
|
|
'images/bloatpad-xfce.png',
|
|
|
|
'images/border1.png',
|
|
|
|
'images/border2.png',
|
|
|
|
'images/border3.png',
|
2020-10-27 04:24:54 +00:00
|
|
|
'images/box.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/box-expand.png',
|
|
|
|
'images/box-packing.png',
|
|
|
|
'images/builder-shortcuts.png',
|
|
|
|
'images/button.png',
|
2020-10-26 02:32:27 +00:00
|
|
|
'images/calendar.png',
|
2020-05-01 13:26:06 +00:00
|
|
|
'images/capture-bubble.png',
|
2020-10-27 04:24:54 +00:00
|
|
|
'images/centerbox.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/check-button.png',
|
|
|
|
'images/checks.png',
|
|
|
|
'images/clocks-shortcuts.png',
|
|
|
|
'images/color-button.png',
|
|
|
|
'images/colorchooser.png',
|
|
|
|
'images/combo-box-entry.png',
|
|
|
|
'images/combo-box.png',
|
|
|
|
'images/combo-box-text.png',
|
|
|
|
'images/down-center.png',
|
|
|
|
'images/down-end.png',
|
|
|
|
'images/down-start.png',
|
2020-08-04 04:33:37 +00:00
|
|
|
'images/drop-down.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/drawing.png',
|
2020-10-26 05:07:54 +00:00
|
|
|
'images/drawingarea.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/ease-in-out.png',
|
|
|
|
'images/ease-in.png',
|
|
|
|
'images/ease-out.png',
|
|
|
|
'images/ease.png',
|
2020-08-04 04:25:35 +00:00
|
|
|
'images/editable-label.png',
|
2020-10-26 03:18:51 +00:00
|
|
|
'images/emojichooser.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/entry.png',
|
|
|
|
'images/exampleapp.png',
|
|
|
|
'images/expanders.png',
|
2020-10-26 03:31:20 +00:00
|
|
|
'images/expander.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/extensions.png',
|
|
|
|
'images/figure-hierarchical-drawing.png',
|
|
|
|
'images/figure-windowed-label.png',
|
|
|
|
'images/file-button.png',
|
|
|
|
'images/filechooser.png',
|
|
|
|
'images/flow-box.png',
|
|
|
|
'images/focus.png',
|
|
|
|
'images/font-button.png',
|
|
|
|
'images/fontchooser.png',
|
|
|
|
'images/frame-gap.png',
|
|
|
|
'images/frame.png',
|
|
|
|
'images/frames.png',
|
|
|
|
'images/gedit-shortcuts.png',
|
|
|
|
'images/getting-started-app10.png',
|
|
|
|
'images/getting-started-app1.png',
|
|
|
|
'images/getting-started-app2.png',
|
|
|
|
'images/getting-started-app3.png',
|
|
|
|
'images/getting-started-app4.png',
|
|
|
|
'images/getting-started-app6.png',
|
|
|
|
'images/getting-started-app7.png',
|
|
|
|
'images/getting-started-app8.png',
|
|
|
|
'images/getting-started-app9.png',
|
|
|
|
'images/glarea.png',
|
|
|
|
'images/gradient1.png',
|
|
|
|
'images/gradient2.png',
|
|
|
|
'images/gradient3.png',
|
|
|
|
'images/gradient4.png',
|
2020-10-27 04:24:54 +00:00
|
|
|
'images/grid.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/grid-packing.png',
|
|
|
|
'images/handles.png',
|
|
|
|
'images/headerbar.png',
|
|
|
|
'images/hello-world.png',
|
|
|
|
'images/icon-view.png',
|
|
|
|
'images/image.png',
|
|
|
|
'images/info-bar.png',
|
|
|
|
'images/inspector.png',
|
|
|
|
'images/label.png',
|
|
|
|
'images/layout-btlr.png',
|
|
|
|
'images/layout-btrl.png',
|
|
|
|
'images/layout-lrbt.png',
|
|
|
|
'images/layout-lrtb.png',
|
|
|
|
'images/layout-rlbt.png',
|
|
|
|
'images/layout-rltb.png',
|
|
|
|
'images/layout-tblr.png',
|
|
|
|
'images/layout-tbrl.png',
|
|
|
|
'images/left-center.png',
|
|
|
|
'images/left-end.png',
|
|
|
|
'images/left-start.png',
|
|
|
|
'images/levelbar.png',
|
|
|
|
'images/linear.png',
|
|
|
|
'images/link-button.png',
|
|
|
|
'images/list-and-tree.png',
|
|
|
|
'images/list-box.png',
|
|
|
|
'images/lockbutton-locked.png',
|
|
|
|
'images/lock-button.png',
|
|
|
|
'images/lockbutton.png',
|
|
|
|
'images/lockbutton-sorry.png',
|
|
|
|
'images/lockbutton-unlocked.png',
|
2020-08-04 03:42:27 +00:00
|
|
|
'images/media-controls.png',
|
2020-10-26 04:30:24 +00:00
|
|
|
'images/menu.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/menubar.png',
|
|
|
|
'images/menu-button.png',
|
|
|
|
'images/messagedialog.png',
|
|
|
|
'images/multiline-text.png',
|
|
|
|
'images/notebook.png',
|
|
|
|
'images/options.png',
|
2020-10-27 04:42:38 +00:00
|
|
|
'images/overlay.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/pagesetupdialog.png',
|
|
|
|
'images/panes.png',
|
2020-08-04 04:16:22 +00:00
|
|
|
'images/password-entry.png',
|
2020-08-04 03:42:27 +00:00
|
|
|
'images/picture.png',
|
2020-10-26 04:09:55 +00:00
|
|
|
'images/popover.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/printdialog.png',
|
|
|
|
'images/progressbar.png',
|
|
|
|
'images/right-center.png',
|
|
|
|
'images/right-end.png',
|
|
|
|
'images/right-start.png',
|
|
|
|
'images/scales.png',
|
|
|
|
'images/scrollbar.png',
|
|
|
|
'images/scrolledwindow.png',
|
|
|
|
'images/search-bar.png',
|
|
|
|
'images/search-entry.png',
|
|
|
|
'images/separator.png',
|
2020-10-26 04:56:28 +00:00
|
|
|
'images/shortcuts-window.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/sidebar.png',
|
|
|
|
'images/slices.png',
|
|
|
|
'images/sliders.png',
|
|
|
|
'images/spinbutton.png',
|
|
|
|
'images/spinner.png',
|
|
|
|
'images/stack.png',
|
|
|
|
'images/stackswitcher.png',
|
|
|
|
'images/statusbar.png',
|
|
|
|
'images/switch.png',
|
|
|
|
'images/toggle-button.png',
|
|
|
|
'images/toolbar.png',
|
|
|
|
'images/tree-view-coordinates.png',
|
|
|
|
'images/up-center.png',
|
|
|
|
'images/up-end.png',
|
|
|
|
'images/up-start.png',
|
2020-08-04 03:42:27 +00:00
|
|
|
'images/video.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/volumebutton.png',
|
|
|
|
'images/widget-hvalign.png',
|
2020-10-26 01:05:10 +00:00
|
|
|
'images/windowcontrols.png',
|
2017-10-09 23:35:40 +00:00
|
|
|
'images/window-default.png',
|
|
|
|
'images/window.png',
|
2020-08-05 20:41:53 +00:00
|
|
|
'images/rich-list.png',
|
|
|
|
'images/data-table.png',
|
|
|
|
'images/navigation-sidebar.png'
|
2017-10-09 23:35:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
content_files = [
|
|
|
|
'gtk4-broadwayd.xml',
|
|
|
|
'gtk4-builder-tool.xml',
|
|
|
|
'gtk4-demo-application.xml',
|
|
|
|
'gtk4-demo.xml',
|
|
|
|
'gtk4-encode-symbolic-svg.xml',
|
|
|
|
'gtk4-icon-browser.xml',
|
|
|
|
'gtk4-launch.xml',
|
|
|
|
'gtk4-query-settings.xml',
|
|
|
|
'gtk4-update-icon-cache.xml',
|
|
|
|
'gtk4-widget-factory.xml',
|
|
|
|
'overview.xml',
|
|
|
|
'visual_index.xml',
|
|
|
|
]
|
|
|
|
|
2020-05-23 01:56:39 +00:00
|
|
|
expand_content_md_files = [
|
2020-05-24 14:55:02 +00:00
|
|
|
'broadway.md',
|
|
|
|
'osx.md',
|
|
|
|
'wayland.md',
|
|
|
|
'windows.md',
|
2020-05-24 15:42:52 +00:00
|
|
|
'x11.md',
|
2020-05-24 04:22:31 +00:00
|
|
|
'getting_started.md',
|
2020-05-24 15:07:45 +00:00
|
|
|
'resources.md',
|
2020-05-24 04:04:36 +00:00
|
|
|
'building.md',
|
|
|
|
'compiling.md',
|
|
|
|
'running.md',
|
2020-05-23 01:56:39 +00:00
|
|
|
'migrating-2to4.md',
|
|
|
|
'migrating-3to4.md',
|
|
|
|
'actions.md',
|
|
|
|
'input-handling.md',
|
2020-05-24 01:32:35 +00:00
|
|
|
'drawing-model.md',
|
|
|
|
'css-overview.md',
|
2020-05-24 15:42:52 +00:00
|
|
|
'css-properties.md',
|
2020-07-08 13:42:32 +00:00
|
|
|
'section-accessibility.md',
|
2020-05-24 15:42:52 +00:00
|
|
|
'section-text-widget.md',
|
|
|
|
'section-tree-widget.md',
|
2020-05-29 20:10:34 +00:00
|
|
|
'section-list-widget.md',
|
2020-05-24 18:25:25 +00:00
|
|
|
'question_index.md',
|
2020-05-23 01:56:39 +00:00
|
|
|
]
|
|
|
|
|
2017-04-26 16:47:06 +00:00
|
|
|
types_conf = configuration_data()
|
|
|
|
if os_win32
|
|
|
|
types_conf.set('DISABLE_ON_W32', '%')
|
|
|
|
else
|
|
|
|
types_conf.set('DISABLE_ON_W32', '')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if os_darwin
|
|
|
|
types_conf.set('DISABLE_ON_QUARTZ', '%')
|
|
|
|
else
|
|
|
|
types_conf.set('DISABLE_ON_QUARTZ', '')
|
|
|
|
endif
|
|
|
|
|
2019-07-01 16:57:16 +00:00
|
|
|
if get_option('gtk_doc')
|
2019-05-25 16:27:32 +00:00
|
|
|
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
|
|
|
|
|
2020-05-24 01:41:15 +00:00
|
|
|
# gtk-markdown-to-docbook uses pandoc
|
|
|
|
pandoc = find_program('pandoc', required: true)
|
2020-05-23 01:56:39 +00:00
|
|
|
expand_md = find_program('gtk-markdown-to-docbook')
|
|
|
|
expand_md_targets = []
|
|
|
|
foreach t : expand_content_md_files
|
|
|
|
expand_md_targets += custom_target(t,
|
2020-12-15 12:31:38 +00:00
|
|
|
input: [ t ],
|
|
|
|
output: [ fs.replace_suffix(t, '.xml') ],
|
|
|
|
command: [ expand_md, '@INPUT@', '@OUTPUT@'],
|
|
|
|
)
|
2020-05-23 01:56:39 +00:00
|
|
|
endforeach
|
|
|
|
|
2019-05-25 16:27:32 +00:00
|
|
|
gnome.gtkdoc('gtk4',
|
2020-12-15 12:31:38 +00:00
|
|
|
mode: 'none',
|
|
|
|
main_xml: 'gtk4-docs.xml',
|
|
|
|
src_dir: [
|
|
|
|
gtkinc,
|
|
|
|
],
|
|
|
|
dependencies: libgtk_dep,
|
|
|
|
gobject_typesfile: configure_file(
|
|
|
|
input: 'gtk4.types.in',
|
|
|
|
output: 'gtk4.types',
|
|
|
|
configuration: types_conf,
|
|
|
|
),
|
|
|
|
scan_args: [
|
|
|
|
'--ignore-decorators=_GDK_EXTERN|G_GNUC_WARN_UNUSED_RESULT',
|
|
|
|
'--ignore-headers=' + ' '.join(private_headers),
|
|
|
|
],
|
|
|
|
mkdb_args: [
|
|
|
|
'--default-includes=gtk/gtk.h',
|
|
|
|
'--ignore-files=' + ' '.join(private_headers),
|
|
|
|
],
|
|
|
|
fixxref_args: [
|
|
|
|
'--html-dir=@0@'.format(docpath),
|
|
|
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
|
|
|
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
|
|
|
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
|
|
|
|
'--extra-dir=@0@'.format(cairo_docpath),
|
|
|
|
'--extra-dir=@0@'.format(gdkpixbuf_docpath),
|
|
|
|
'--extra-dir=../gdk',
|
|
|
|
'--extra-dir=../gsk',
|
|
|
|
],
|
|
|
|
content_files: content_files + expand_md_targets,
|
|
|
|
html_assets: images,
|
|
|
|
install: true,
|
|
|
|
)
|
2019-05-25 16:27:32 +00:00
|
|
|
endif
|
2017-05-05 10:34:05 +00:00
|
|
|
|
|
|
|
xsltproc = find_program('xsltproc', required: false)
|
2017-09-06 13:43:24 +00:00
|
|
|
if get_option('man-pages') and not xsltproc.found()
|
2017-05-05 10:34:05 +00:00
|
|
|
error('No xsltproc found, but man pages were explicitly enabled')
|
|
|
|
endif
|
|
|
|
|
2017-09-06 13:43:24 +00:00
|
|
|
if get_option('man-pages') and xsltproc.found()
|
2017-05-05 10:34:05 +00:00
|
|
|
xlstproc_flags = [
|
|
|
|
'--nonet',
|
|
|
|
'--stringparam', 'man.output.quietly', '1',
|
|
|
|
'--stringparam', 'funcsynopsis.style', 'ansi',
|
|
|
|
'--stringparam', 'man.th.extra1.suppress', '1',
|
|
|
|
'--stringparam', 'man.authors.section.enabled', '0',
|
|
|
|
'--stringparam', 'man.copyright.section.enabled', '0',
|
|
|
|
]
|
|
|
|
|
|
|
|
man_files = [
|
|
|
|
[ 'gtk4-broadwayd', '1', ],
|
|
|
|
[ 'gtk4-builder-tool', '1', ],
|
|
|
|
[ 'gtk4-demo', '1', ],
|
|
|
|
[ 'gtk4-demo-application', '1', ],
|
|
|
|
[ 'gtk4-encode-symbolic-svg', '1', ],
|
|
|
|
[ 'gtk4-icon-browser', '1', ],
|
|
|
|
[ 'gtk4-launch', '1', ],
|
|
|
|
[ 'gtk4-query-settings', '1', ],
|
|
|
|
[ 'gtk4-update-icon-cache', '1', ],
|
|
|
|
[ 'gtk4-widget-factory', '1', ],
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach man: man_files
|
|
|
|
man_name = man.get(0)
|
|
|
|
man_section = man.get(1, '1')
|
|
|
|
custom_target('@0@.@1@'.format(man_name, man_section),
|
2020-12-15 12:31:38 +00:00
|
|
|
input: '@0@.xml'.format(man_name),
|
|
|
|
output: '@0@.@1@'.format(man_name, man_section),
|
|
|
|
command: [
|
|
|
|
xsltproc,
|
|
|
|
xlstproc_flags,
|
|
|
|
'-o', '@OUTPUT@',
|
|
|
|
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
|
|
|
|
'@INPUT@',
|
|
|
|
],
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(get_option('mandir'), 'man@0@'.format(man_section)),
|
|
|
|
)
|
2017-05-05 10:34:05 +00:00
|
|
|
endforeach
|
|
|
|
endif
|