Files
gtk3/debian/patches/gtk-Rename-gtk-mkenums-headers.mak-to-gtk-sources.inc.patch
Simon McVittie d03dca1d46 d/patches: Update to upstream gtk-3-24 branch commit 3.24.34-204-g2fcc114870
Windows- and macOS-specific changes excluded.
2022-11-15 11:28:51 +00:00

528 lines
12 KiB
Diff

From: Chun-wei Fan <fanchunwei@src.gnome.org>
Date: Fri, 13 May 2022 18:54:12 +0800
Subject: gtk: Rename gtk-mkenums-headers.mak to gtk-sources.inc
We want to reuse more sources listings in other non-autotools build
systems.
Origin: upstream, 3.24.35, commit:e21a578cb14a9276d5e32af5ab79f21de3f619d8
---
gtk/Makefile.am | 2 +-
gtk/gtk-mkenums-headers.mak | 236 --------------------------------------------
gtk/gtk-sources.inc | 236 ++++++++++++++++++++++++++++++++++++++++++++
win32/create-lists-msvc.mak | 2 +-
4 files changed, 238 insertions(+), 238 deletions(-)
delete mode 100644 gtk/gtk-mkenums-headers.mak
create mode 100644 gtk/gtk-sources.inc
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index fc701d1..7991530 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -114,7 +114,7 @@ endif
include $(srcdir)/a11y/Makefile.inc
include $(srcdir)/deprecated/Makefile.inc
include $(srcdir)/inspector/Makefile.inc
-include $(srcdir)/gtk-mkenums-headers.mak
+include $(srcdir)/gtk-sources.inc
# GTK+ header files for public installation (non-generated, or generated
# by configure)
diff --git a/gtk/gtk-mkenums-headers.mak b/gtk/gtk-mkenums-headers.mak
deleted file mode 100644
index 86c38f9..0000000
--- a/gtk/gtk-mkenums-headers.mak
+++ /dev/null
@@ -1,236 +0,0 @@
-# List of headers to be passed into glib-mkenums
-
-
-# GTK+ header files for public installation (non-generated, or generated
-# by configure)
-
-GTK_PUB_HDRS = \
- gtk.h \
- gtk-autocleanups.h \
- gtkx.h \
- gtkx-autocleanups.h \
- gtk-a11y.h \
- gtkaboutdialog.h \
- gtkaccelgroup.h \
- gtkaccellabel.h \
- gtkaccelmap.h \
- gtkaccessible.h \
- gtkactionable.h \
- gtkactionbar.h \
- gtkadjustment.h \
- gtkappchooser.h \
- gtkappchooserbutton.h \
- gtkappchooserdialog.h \
- gtkappchooserwidget.h \
- gtkapplication.h \
- gtkapplicationwindow.h \
- gtkaspectframe.h \
- gtkassistant.h \
- gtkbbox.h \
- gtkbin.h \
- gtkbindings.h \
- gtkborder.h \
- gtkbox.h \
- gtkbuilder.h \
- gtkbuildable.h \
- gtkbutton.h \
- gtkcalendar.h \
- gtkcellarea.h \
- gtkcellareacontext.h \
- gtkcellareabox.h \
- 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 \
- gtkcheckmenuitem.h \
- gtkclipboard.h \
- gtkcolorbutton.h \
- gtkcolorchooser.h \
- gtkcolorchooserwidget.h \
- gtkcolorchooserdialog.h \
- gtkcolorutils.h \
- gtkcombobox.h \
- gtkcomboboxtext.h \
- gtkcontainer.h \
- gtkcssprovider.h \
- gtkcsssection.h \
- gtkdebug.h \
- gtkdialog.h \
- gtkdnd.h \
- gtkdragdest.h \
- gtkdragsource.h \
- gtkdrawingarea.h \
- gtkeditable.h \
- gtkentry.h \
- gtkentrybuffer.h \
- gtkentrycompletion.h \
- gtkenums.h \
- gtkeventbox.h \
- gtkeventcontroller.h \
- gtkeventcontrollerkey.h \
- gtkeventcontrollermotion.h \
- gtkeventcontrollerscroll.h \
- gtkexpander.h \
- gtkfilechooser.h \
- gtkfilechooserbutton.h \
- gtkfilechooserdialog.h \
- gtkfilechoosernative.h \
- gtkfilechooserwidget.h \
- gtkfilefilter.h \
- gtkfixed.h \
- gtkflowbox.h \
- gtkfontbutton.h \
- gtkfontchooser.h \
- gtkfontchooserdialog.h \
- gtkfontchooserwidget.h \
- gtkframe.h \
- gtkgesture.h \
- gtkgesturedrag.h \
- gtkgesturelongpress.h \
- gtkgesturemultipress.h \
- gtkgesturepan.h \
- gtkgesturerotate.h \
- gtkgesturesingle.h \
- gtkgesturestylus.h \
- gtkgestureswipe.h \
- gtkgesturezoom.h \
- gtkglarea.h \
- gtkgrid.h \
- gtkheaderbar.h \
- gtkicontheme.h \
- gtkiconview.h \
- gtkimage.h \
- gtkimcontext.h \
- gtkimcontextinfo.h \
- gtkimcontextsimple.h \
- gtkimmodule.h \
- gtkimmulticontext.h \
- gtkinfobar.h \
- gtkinvisible.h \
- gtklabel.h \
- gtklayout.h \
- gtklevelbar.h \
- gtklinkbutton.h \
- gtklistbox.h \
- gtkliststore.h \
- gtklockbutton.h \
- gtkmain.h \
- gtkmenu.h \
- gtkmenubar.h \
- gtkmenubutton.h \
- gtkmenuitem.h \
- gtkmenushell.h \
- gtkmenutoolbutton.h \
- gtkmessagedialog.h \
- gtkmodelbutton.h \
- gtkmodules.h \
- gtkmountoperation.h \
- gtknativedialog.h \
- gtknotebook.h \
- gtkoffscreenwindow.h \
- gtkorientable.h \
- gtkoverlay.h \
- gtkpadcontroller.h \
- gtkpagesetup.h \
- gtkpaned.h \
- gtkpapersize.h \
- gtkplacessidebar.h \
- gtkplug.h \
- gtkpopover.h \
- gtkpopovermenu.h \
- gtkprintcontext.h \
- gtkprintoperation.h \
- gtkprintoperationpreview.h \
- gtkprintsettings.h \
- gtkprogressbar.h \
- gtkradiobutton.h \
- gtkradiomenuitem.h \
- gtkradiotoolbutton.h \
- gtkrange.h \
- gtkrecentchooser.h \
- gtkrecentchooserdialog.h \
- gtkrecentchoosermenu.h \
- gtkrecentchooserwidget.h \
- gtkrecentfilter.h \
- gtkrecentmanager.h \
- gtkrender.h \
- gtkrevealer.h \
- gtkscale.h \
- gtkscalebutton.h \
- gtkscrollable.h \
- gtkscrollbar.h \
- gtkscrolledwindow.h \
- gtksearchbar.h \
- gtksearchentry.h \
- gtkselection.h \
- gtkseparator.h \
- gtkseparatormenuitem.h \
- gtkseparatortoolitem.h \
- gtksettings.h \
- gtkshortcutlabel.h \
- gtkshortcutsgroup.h \
- gtkshortcutssection.h \
- gtkshortcutsshortcut.h \
- gtkshortcutswindow.h \
- gtkshow.h \
- gtkstacksidebar.h \
- gtksizegroup.h \
- gtksizerequest.h \
- gtksocket.h \
- gtkspinbutton.h \
- gtkspinner.h \
- gtkstack.h \
- gtkstackswitcher.h \
- gtkstatusbar.h \
- gtkstylecontext.h \
- gtkstyleprovider.h \
- gtkswitch.h \
- gtktestutils.h \
- gtktextattributes.h \
- gtktextbuffer.h \
- gtktextbufferrichtext.h \
- gtktextchild.h \
- gtktextdisplay.h \
- gtktextiter.h \
- gtktextmark.h \
- gtktexttag.h \
- gtktexttagtable.h \
- gtktextview.h \
- gtktogglebutton.h \
- gtktoggletoolbutton.h \
- gtktoolbar.h \
- gtktoolbutton.h \
- gtktoolitem.h \
- gtktoolitemgroup.h \
- gtktoolpalette.h \
- gtktoolshell.h \
- gtktooltip.h \
- gtktreednd.h \
- gtktreemodel.h \
- gtktreemodelfilter.h \
- gtktreemodelsort.h \
- gtktreeselection.h \
- gtktreesortable.h \
- gtktreestore.h \
- gtktreeview.h \
- gtktreeviewcolumn.h \
- gtktypes.h \
- gtkviewport.h \
- gtkvolumebutton.h \
- gtkwidget.h \
- gtkwidgetpath.h \
- gtkwindow.h \
- gtkwindowgroup.h
-
-GTK_PRIVATE_TYPE_HDRS = \
- gtkcsstypesprivate.h \
- gtktexthandleprivate.h
diff --git a/gtk/gtk-sources.inc b/gtk/gtk-sources.inc
new file mode 100644
index 0000000..86c38f9
--- /dev/null
+++ b/gtk/gtk-sources.inc
@@ -0,0 +1,236 @@
+# List of headers to be passed into glib-mkenums
+
+
+# GTK+ header files for public installation (non-generated, or generated
+# by configure)
+
+GTK_PUB_HDRS = \
+ gtk.h \
+ gtk-autocleanups.h \
+ gtkx.h \
+ gtkx-autocleanups.h \
+ gtk-a11y.h \
+ gtkaboutdialog.h \
+ gtkaccelgroup.h \
+ gtkaccellabel.h \
+ gtkaccelmap.h \
+ gtkaccessible.h \
+ gtkactionable.h \
+ gtkactionbar.h \
+ gtkadjustment.h \
+ gtkappchooser.h \
+ gtkappchooserbutton.h \
+ gtkappchooserdialog.h \
+ gtkappchooserwidget.h \
+ gtkapplication.h \
+ gtkapplicationwindow.h \
+ gtkaspectframe.h \
+ gtkassistant.h \
+ gtkbbox.h \
+ gtkbin.h \
+ gtkbindings.h \
+ gtkborder.h \
+ gtkbox.h \
+ gtkbuilder.h \
+ gtkbuildable.h \
+ gtkbutton.h \
+ gtkcalendar.h \
+ gtkcellarea.h \
+ gtkcellareacontext.h \
+ gtkcellareabox.h \
+ 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 \
+ gtkcheckmenuitem.h \
+ gtkclipboard.h \
+ gtkcolorbutton.h \
+ gtkcolorchooser.h \
+ gtkcolorchooserwidget.h \
+ gtkcolorchooserdialog.h \
+ gtkcolorutils.h \
+ gtkcombobox.h \
+ gtkcomboboxtext.h \
+ gtkcontainer.h \
+ gtkcssprovider.h \
+ gtkcsssection.h \
+ gtkdebug.h \
+ gtkdialog.h \
+ gtkdnd.h \
+ gtkdragdest.h \
+ gtkdragsource.h \
+ gtkdrawingarea.h \
+ gtkeditable.h \
+ gtkentry.h \
+ gtkentrybuffer.h \
+ gtkentrycompletion.h \
+ gtkenums.h \
+ gtkeventbox.h \
+ gtkeventcontroller.h \
+ gtkeventcontrollerkey.h \
+ gtkeventcontrollermotion.h \
+ gtkeventcontrollerscroll.h \
+ gtkexpander.h \
+ gtkfilechooser.h \
+ gtkfilechooserbutton.h \
+ gtkfilechooserdialog.h \
+ gtkfilechoosernative.h \
+ gtkfilechooserwidget.h \
+ gtkfilefilter.h \
+ gtkfixed.h \
+ gtkflowbox.h \
+ gtkfontbutton.h \
+ gtkfontchooser.h \
+ gtkfontchooserdialog.h \
+ gtkfontchooserwidget.h \
+ gtkframe.h \
+ gtkgesture.h \
+ gtkgesturedrag.h \
+ gtkgesturelongpress.h \
+ gtkgesturemultipress.h \
+ gtkgesturepan.h \
+ gtkgesturerotate.h \
+ gtkgesturesingle.h \
+ gtkgesturestylus.h \
+ gtkgestureswipe.h \
+ gtkgesturezoom.h \
+ gtkglarea.h \
+ gtkgrid.h \
+ gtkheaderbar.h \
+ gtkicontheme.h \
+ gtkiconview.h \
+ gtkimage.h \
+ gtkimcontext.h \
+ gtkimcontextinfo.h \
+ gtkimcontextsimple.h \
+ gtkimmodule.h \
+ gtkimmulticontext.h \
+ gtkinfobar.h \
+ gtkinvisible.h \
+ gtklabel.h \
+ gtklayout.h \
+ gtklevelbar.h \
+ gtklinkbutton.h \
+ gtklistbox.h \
+ gtkliststore.h \
+ gtklockbutton.h \
+ gtkmain.h \
+ gtkmenu.h \
+ gtkmenubar.h \
+ gtkmenubutton.h \
+ gtkmenuitem.h \
+ gtkmenushell.h \
+ gtkmenutoolbutton.h \
+ gtkmessagedialog.h \
+ gtkmodelbutton.h \
+ gtkmodules.h \
+ gtkmountoperation.h \
+ gtknativedialog.h \
+ gtknotebook.h \
+ gtkoffscreenwindow.h \
+ gtkorientable.h \
+ gtkoverlay.h \
+ gtkpadcontroller.h \
+ gtkpagesetup.h \
+ gtkpaned.h \
+ gtkpapersize.h \
+ gtkplacessidebar.h \
+ gtkplug.h \
+ gtkpopover.h \
+ gtkpopovermenu.h \
+ gtkprintcontext.h \
+ gtkprintoperation.h \
+ gtkprintoperationpreview.h \
+ gtkprintsettings.h \
+ gtkprogressbar.h \
+ gtkradiobutton.h \
+ gtkradiomenuitem.h \
+ gtkradiotoolbutton.h \
+ gtkrange.h \
+ gtkrecentchooser.h \
+ gtkrecentchooserdialog.h \
+ gtkrecentchoosermenu.h \
+ gtkrecentchooserwidget.h \
+ gtkrecentfilter.h \
+ gtkrecentmanager.h \
+ gtkrender.h \
+ gtkrevealer.h \
+ gtkscale.h \
+ gtkscalebutton.h \
+ gtkscrollable.h \
+ gtkscrollbar.h \
+ gtkscrolledwindow.h \
+ gtksearchbar.h \
+ gtksearchentry.h \
+ gtkselection.h \
+ gtkseparator.h \
+ gtkseparatormenuitem.h \
+ gtkseparatortoolitem.h \
+ gtksettings.h \
+ gtkshortcutlabel.h \
+ gtkshortcutsgroup.h \
+ gtkshortcutssection.h \
+ gtkshortcutsshortcut.h \
+ gtkshortcutswindow.h \
+ gtkshow.h \
+ gtkstacksidebar.h \
+ gtksizegroup.h \
+ gtksizerequest.h \
+ gtksocket.h \
+ gtkspinbutton.h \
+ gtkspinner.h \
+ gtkstack.h \
+ gtkstackswitcher.h \
+ gtkstatusbar.h \
+ gtkstylecontext.h \
+ gtkstyleprovider.h \
+ gtkswitch.h \
+ gtktestutils.h \
+ gtktextattributes.h \
+ gtktextbuffer.h \
+ gtktextbufferrichtext.h \
+ gtktextchild.h \
+ gtktextdisplay.h \
+ gtktextiter.h \
+ gtktextmark.h \
+ gtktexttag.h \
+ gtktexttagtable.h \
+ gtktextview.h \
+ gtktogglebutton.h \
+ gtktoggletoolbutton.h \
+ gtktoolbar.h \
+ gtktoolbutton.h \
+ gtktoolitem.h \
+ gtktoolitemgroup.h \
+ gtktoolpalette.h \
+ gtktoolshell.h \
+ gtktooltip.h \
+ gtktreednd.h \
+ gtktreemodel.h \
+ gtktreemodelfilter.h \
+ gtktreemodelsort.h \
+ gtktreeselection.h \
+ gtktreesortable.h \
+ gtktreestore.h \
+ gtktreeview.h \
+ gtktreeviewcolumn.h \
+ gtktypes.h \
+ gtkviewport.h \
+ gtkvolumebutton.h \
+ gtkwidget.h \
+ gtkwidgetpath.h \
+ gtkwindow.h \
+ gtkwindowgroup.h
+
+GTK_PRIVATE_TYPE_HDRS = \
+ gtkcsstypesprivate.h \
+ gtktexthandleprivate.h
diff --git a/win32/create-lists-msvc.mak b/win32/create-lists-msvc.mak
index d19e3a4..02eada5 100644
--- a/win32/create-lists-msvc.mak
+++ b/win32/create-lists-msvc.mak
@@ -65,7 +65,7 @@ NULL=
!endif
# For GTK enumeration sources
-!include ..\gtk\gtk-mkenums-headers.mak
+!include ..\gtk\gtk-sources.inc
!include ..\gtk\a11y\Makefile.inc
!include ..\gtk\deprecated\Makefile.inc