diff options
author | ryoon <ryoon@pkgsrc.org> | 2021-02-25 09:55:55 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2021-02-25 09:55:55 +0000 |
commit | 3ce97d90ea3253bf39b7ae638c026bc4e73959d7 (patch) | |
tree | 7b9df79aeb806ae2f6174d89f123b8670b96599b /x11 | |
parent | e70a2f686b1ef4fd0ae7485cc44a236aa5c3e6f6 (diff) | |
download | pkgsrc-3ce97d90ea3253bf39b7ae638c026bc4e73959d7.tar.gz |
x11/gtk4: import gtk4-4.0.3
GTK is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK is suitable for
projects ranging from small one-off tools to complete application
suites.
GTK has been designed from the ground up to support a range of
languages, not only C/C++.
This package contains GTK 4.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk4/DESCR | 9 | ||||
-rw-r--r-- | x11/gtk4/Makefile | 63 | ||||
-rw-r--r-- | x11/gtk4/PLIST | 646 | ||||
-rw-r--r-- | x11/gtk4/buildlink3.mk | 20 | ||||
-rw-r--r-- | x11/gtk4/distinfo | 9 | ||||
-rw-r--r-- | x11/gtk4/options.mk | 72 | ||||
-rw-r--r-- | x11/gtk4/patches/patch-config.h.meson | 17 | ||||
-rw-r--r-- | x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c | 17 | ||||
-rw-r--r-- | x11/gtk4/patches/patch-meson.build | 19 |
9 files changed, 872 insertions, 0 deletions
diff --git a/x11/gtk4/DESCR b/x11/gtk4/DESCR new file mode 100644 index 00000000000..90988c7d66d --- /dev/null +++ b/x11/gtk4/DESCR @@ -0,0 +1,9 @@ +GTK is a multi-platform toolkit for creating graphical user +interfaces. Offering a complete set of widgets, GTK is suitable for +projects ranging from small one-off tools to complete application +suites. + +GTK has been designed from the ground up to support a range of +languages, not only C/C++. + +This package contains GTK 4. diff --git a/x11/gtk4/Makefile b/x11/gtk4/Makefile new file mode 100644 index 00000000000..6ec5750fd6e --- /dev/null +++ b/x11/gtk4/Makefile @@ -0,0 +1,63 @@ +# $NetBSD: Makefile,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +DISTNAME= gtk-4.0.3 +PKGNAME= ${DISTNAME:S/gtk/gtk4/} +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk/4.0/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= https://www.gtk.org/ +COMMENT= Multi-platform toolkit for creating GUI, version 4 +LICENSE= gnu-lgpl-v2.1 + +TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen + +# This packge invokes python3 command. +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +.include "options.mk" + +USE_TOOLS+= pkg-config +USE_PKGLOCALEDIR= yes +USE_LANGUAGES= c c++ + +MESON_ARGS+= -Dsassc=disabled +MESON_ARGS+= -Dgtk_doc=false + +PKGCONFIG_OVERRIDE+= gtk4-unix-print.pc.in +PKGCONFIG_OVERRIDE+= gtk4.pc.in + +PLIST_VARS+= dylib no-dylib +.if ${SHLIB_TYPE} == "dylib" +PLIST.dylib= yes +SOEXT= dylib +.else +PLIST.no-dylib= yes +SOEXT= so +.endif +PLIST_SUBST+= SOEXT=${SOEXT} +PRINT_PLIST_AWK+= { gsub(/\.${SOEXT}/, ".$${SOEXT}") } + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../devel/libexecinfo/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../graphics/cairo-gobject/buildlink3.mk" +.include "../../graphics/gdk-pixbuf2/buildlink3.mk" +.include "../../graphics/graphene/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../graphics/libepoxy/buildlink3.mk" +# librsvg is required by a demo only. +#.include "../../graphics/librsvg/buildlink3.mk" +.include "../../multimedia/ffmpeg4/buildlink3.mk" +.include "../../textproc/iso-codes/buildlink3.mk" +# json-gliba and librest07 are required to support Google Cloud Print. +# Google Cloud Print reached EOL (2020-12-31). +#.include "../../textproc/json-glib/buildlink3.mk" +#.include "../../www/librest07/buildlink3.mk" + +.include "../../devel/meson/build.mk" +.include "../../lang/python/tool.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/gtk4/PLIST b/x11/gtk4/PLIST new file mode 100644 index 00000000000..368c5a11a0e --- /dev/null +++ b/x11/gtk4/PLIST @@ -0,0 +1,646 @@ +@comment $NetBSD: PLIST,v 1.1 2021/02/25 09:55:55 ryoon Exp $ +bin/gtk4-builder-tool +bin/gtk4-demo +bin/gtk4-demo-application +bin/gtk4-encode-symbolic-svg +bin/gtk4-icon-browser +bin/gtk4-launch +bin/gtk4-print-editor +bin/gtk4-query-settings +bin/gtk4-update-icon-cache +bin/gtk4-widget-factory +include/gtk-4.0/gdk/gdk-autocleanup.h +include/gtk-4.0/gdk/gdk.h +include/gtk-4.0/gdk/gdkapplaunchcontext.h +include/gtk-4.0/gdk/gdkcairo.h +include/gtk-4.0/gdk/gdkcairocontext.h +include/gtk-4.0/gdk/gdkclipboard.h +include/gtk-4.0/gdk/gdkconfig.h +include/gtk-4.0/gdk/gdkcontentdeserializer.h +include/gtk-4.0/gdk/gdkcontentformats.h +include/gtk-4.0/gdk/gdkcontentprovider.h +include/gtk-4.0/gdk/gdkcontentproviderimpl.h +include/gtk-4.0/gdk/gdkcontentserializer.h +include/gtk-4.0/gdk/gdkcursor.h +include/gtk-4.0/gdk/gdkdevice.h +include/gtk-4.0/gdk/gdkdevicepad.h +include/gtk-4.0/gdk/gdkdevicetool.h +include/gtk-4.0/gdk/gdkdisplay.h +include/gtk-4.0/gdk/gdkdisplaymanager.h +include/gtk-4.0/gdk/gdkdrag.h +include/gtk-4.0/gdk/gdkdragsurface.h +include/gtk-4.0/gdk/gdkdrawcontext.h +include/gtk-4.0/gdk/gdkdrop.h +include/gtk-4.0/gdk/gdkenumtypes.h +include/gtk-4.0/gdk/gdkevents.h +include/gtk-4.0/gdk/gdkframeclock.h +include/gtk-4.0/gdk/gdkframetimings.h +include/gtk-4.0/gdk/gdkglcontext.h +include/gtk-4.0/gdk/gdkgltexture.h +include/gtk-4.0/gdk/gdkkeys.h +include/gtk-4.0/gdk/gdkkeysyms.h +include/gtk-4.0/gdk/gdkmemorytexture.h +include/gtk-4.0/gdk/gdkmonitor.h +include/gtk-4.0/gdk/gdkpaintable.h +include/gtk-4.0/gdk/gdkpango.h +include/gtk-4.0/gdk/gdkpixbuf.h +include/gtk-4.0/gdk/gdkpopup.h +include/gtk-4.0/gdk/gdkpopuplayout.h +include/gtk-4.0/gdk/gdkrectangle.h +include/gtk-4.0/gdk/gdkrgba.h +include/gtk-4.0/gdk/gdkseat.h +include/gtk-4.0/gdk/gdksnapshot.h +include/gtk-4.0/gdk/gdksurface.h +include/gtk-4.0/gdk/gdktexture.h +include/gtk-4.0/gdk/gdktoplevel.h +include/gtk-4.0/gdk/gdktoplevellayout.h +include/gtk-4.0/gdk/gdktoplevelsize.h +include/gtk-4.0/gdk/gdktypes.h +include/gtk-4.0/gdk/gdkversionmacros.h +include/gtk-4.0/gdk/gdkvulkancontext.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacos.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacosdevice.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacosdisplay.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacosglcontext.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacoskeymap.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacosmonitor.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacosseat.h +${PLIST.quartz}include/gtk-4.0/gdk/macos/gdkmacossurface.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx-autocleanups.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11applaunchcontext.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11device-xi2.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11device.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11devicemanager-xi2.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11devicemanager.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11display.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11dnd.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11glcontext.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11monitor.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11property.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11screen.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11selection.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11surface.h +${PLIST.x11}include/gtk-4.0/gdk/x11/gdkx11utils.h +include/gtk-4.0/gsk/gl/gskglrenderer.h +include/gtk-4.0/gsk/gsk-autocleanup.h +include/gtk-4.0/gsk/gsk.h +include/gtk-4.0/gsk/gskcairorenderer.h +include/gtk-4.0/gsk/gskenums.h +include/gtk-4.0/gsk/gskenumtypes.h +include/gtk-4.0/gsk/gskglshader.h +include/gtk-4.0/gsk/gskrenderer.h +include/gtk-4.0/gsk/gskrendernode.h +include/gtk-4.0/gsk/gskroundedrect.h +include/gtk-4.0/gsk/gsktransform.h +include/gtk-4.0/gsk/gsktypes.h +include/gtk-4.0/gtk/css/gtkcss.h +include/gtk-4.0/gtk/css/gtkcssenums.h +include/gtk-4.0/gtk/css/gtkcssenumtypes.h +include/gtk-4.0/gtk/css/gtkcsserror.h +include/gtk-4.0/gtk/css/gtkcsslocation.h +include/gtk-4.0/gtk/css/gtkcsssection.h +include/gtk-4.0/gtk/gtk-autocleanups.h +include/gtk-4.0/gtk/gtk.h +include/gtk-4.0/gtk/gtkaboutdialog.h +include/gtk-4.0/gtk/gtkaccelgroup.h +include/gtk-4.0/gtk/gtkaccessible.h +include/gtk-4.0/gtk/gtkactionable.h +include/gtk-4.0/gtk/gtkactionbar.h +include/gtk-4.0/gtk/gtkadjustment.h +include/gtk-4.0/gtk/gtkappchooser.h +include/gtk-4.0/gtk/gtkappchooserbutton.h +include/gtk-4.0/gtk/gtkappchooserdialog.h +include/gtk-4.0/gtk/gtkappchooserwidget.h +include/gtk-4.0/gtk/gtkapplication.h +include/gtk-4.0/gtk/gtkapplicationwindow.h +include/gtk-4.0/gtk/gtkaspectframe.h +include/gtk-4.0/gtk/gtkassistant.h +include/gtk-4.0/gtk/gtkatcontext.h +include/gtk-4.0/gtk/gtkbinlayout.h +include/gtk-4.0/gtk/gtkbitset.h +include/gtk-4.0/gtk/gtkbookmarklist.h +include/gtk-4.0/gtk/gtkboolfilter.h +include/gtk-4.0/gtk/gtkborder.h +include/gtk-4.0/gtk/gtkbox.h +include/gtk-4.0/gtk/gtkboxlayout.h +include/gtk-4.0/gtk/gtkbuildable.h +include/gtk-4.0/gtk/gtkbuilder.h +include/gtk-4.0/gtk/gtkbuilderlistitemfactory.h +include/gtk-4.0/gtk/gtkbuilderscope.h +include/gtk-4.0/gtk/gtkbutton.h +include/gtk-4.0/gtk/gtkcalendar.h +include/gtk-4.0/gtk/gtkcellarea.h +include/gtk-4.0/gtk/gtkcellareabox.h +include/gtk-4.0/gtk/gtkcellareacontext.h +include/gtk-4.0/gtk/gtkcelleditable.h +include/gtk-4.0/gtk/gtkcelllayout.h +include/gtk-4.0/gtk/gtkcellrenderer.h +include/gtk-4.0/gtk/gtkcellrendereraccel.h +include/gtk-4.0/gtk/gtkcellrenderercombo.h +include/gtk-4.0/gtk/gtkcellrendererpixbuf.h +include/gtk-4.0/gtk/gtkcellrendererprogress.h +include/gtk-4.0/gtk/gtkcellrendererspin.h +include/gtk-4.0/gtk/gtkcellrendererspinner.h +include/gtk-4.0/gtk/gtkcellrenderertext.h +include/gtk-4.0/gtk/gtkcellrenderertoggle.h +include/gtk-4.0/gtk/gtkcellview.h +include/gtk-4.0/gtk/gtkcenterbox.h +include/gtk-4.0/gtk/gtkcenterlayout.h +include/gtk-4.0/gtk/gtkcheckbutton.h +include/gtk-4.0/gtk/gtkcolorbutton.h +include/gtk-4.0/gtk/gtkcolorchooser.h +include/gtk-4.0/gtk/gtkcolorchooserdialog.h +include/gtk-4.0/gtk/gtkcolorchooserwidget.h +include/gtk-4.0/gtk/gtkcolorutils.h +include/gtk-4.0/gtk/gtkcolumnview.h +include/gtk-4.0/gtk/gtkcolumnviewcolumn.h +include/gtk-4.0/gtk/gtkcombobox.h +include/gtk-4.0/gtk/gtkcomboboxtext.h +include/gtk-4.0/gtk/gtkconstraint.h +include/gtk-4.0/gtk/gtkconstraintguide.h +include/gtk-4.0/gtk/gtkconstraintlayout.h +include/gtk-4.0/gtk/gtkcssprovider.h +include/gtk-4.0/gtk/gtkcustomfilter.h +include/gtk-4.0/gtk/gtkcustomlayout.h +include/gtk-4.0/gtk/gtkcustomsorter.h +include/gtk-4.0/gtk/gtkdebug.h +include/gtk-4.0/gtk/gtkdialog.h +include/gtk-4.0/gtk/gtkdirectorylist.h +include/gtk-4.0/gtk/gtkdragicon.h +include/gtk-4.0/gtk/gtkdragsource.h +include/gtk-4.0/gtk/gtkdrawingarea.h +include/gtk-4.0/gtk/gtkdropcontrollermotion.h +include/gtk-4.0/gtk/gtkdropdown.h +include/gtk-4.0/gtk/gtkdroptarget.h +include/gtk-4.0/gtk/gtkdroptargetasync.h +include/gtk-4.0/gtk/gtkeditable.h +include/gtk-4.0/gtk/gtkeditablelabel.h +include/gtk-4.0/gtk/gtkemojichooser.h +include/gtk-4.0/gtk/gtkentry.h +include/gtk-4.0/gtk/gtkentrybuffer.h +include/gtk-4.0/gtk/gtkentrycompletion.h +include/gtk-4.0/gtk/gtkenums.h +include/gtk-4.0/gtk/gtkeventcontroller.h +include/gtk-4.0/gtk/gtkeventcontrollerfocus.h +include/gtk-4.0/gtk/gtkeventcontrollerkey.h +include/gtk-4.0/gtk/gtkeventcontrollerlegacy.h +include/gtk-4.0/gtk/gtkeventcontrollermotion.h +include/gtk-4.0/gtk/gtkeventcontrollerscroll.h +include/gtk-4.0/gtk/gtkexpander.h +include/gtk-4.0/gtk/gtkexpression.h +include/gtk-4.0/gtk/gtkfilechooser.h +include/gtk-4.0/gtk/gtkfilechooserdialog.h +include/gtk-4.0/gtk/gtkfilechoosernative.h +include/gtk-4.0/gtk/gtkfilechooserwidget.h +include/gtk-4.0/gtk/gtkfilefilter.h +include/gtk-4.0/gtk/gtkfilter.h +include/gtk-4.0/gtk/gtkfilterlistmodel.h +include/gtk-4.0/gtk/gtkfixed.h +include/gtk-4.0/gtk/gtkfixedlayout.h +include/gtk-4.0/gtk/gtkflattenlistmodel.h +include/gtk-4.0/gtk/gtkflowbox.h +include/gtk-4.0/gtk/gtkfontbutton.h +include/gtk-4.0/gtk/gtkfontchooser.h +include/gtk-4.0/gtk/gtkfontchooserdialog.h +include/gtk-4.0/gtk/gtkfontchooserwidget.h +include/gtk-4.0/gtk/gtkframe.h +include/gtk-4.0/gtk/gtkgesture.h +include/gtk-4.0/gtk/gtkgestureclick.h +include/gtk-4.0/gtk/gtkgesturedrag.h +include/gtk-4.0/gtk/gtkgesturelongpress.h +include/gtk-4.0/gtk/gtkgesturepan.h +include/gtk-4.0/gtk/gtkgesturerotate.h +include/gtk-4.0/gtk/gtkgesturesingle.h +include/gtk-4.0/gtk/gtkgesturestylus.h +include/gtk-4.0/gtk/gtkgestureswipe.h +include/gtk-4.0/gtk/gtkgesturezoom.h +include/gtk-4.0/gtk/gtkglarea.h +include/gtk-4.0/gtk/gtkgrid.h +include/gtk-4.0/gtk/gtkgridlayout.h +include/gtk-4.0/gtk/gtkgridview.h +include/gtk-4.0/gtk/gtkheaderbar.h +include/gtk-4.0/gtk/gtkicontheme.h +include/gtk-4.0/gtk/gtkiconview.h +include/gtk-4.0/gtk/gtkimage.h +include/gtk-4.0/gtk/gtkimcontext.h +include/gtk-4.0/gtk/gtkimcontextsimple.h +include/gtk-4.0/gtk/gtkimmodule.h +include/gtk-4.0/gtk/gtkimmulticontext.h +include/gtk-4.0/gtk/gtkinfobar.h +include/gtk-4.0/gtk/gtklabel.h +include/gtk-4.0/gtk/gtklayoutchild.h +include/gtk-4.0/gtk/gtklayoutmanager.h +include/gtk-4.0/gtk/gtklevelbar.h +include/gtk-4.0/gtk/gtklinkbutton.h +include/gtk-4.0/gtk/gtklistbase.h +include/gtk-4.0/gtk/gtklistbox.h +include/gtk-4.0/gtk/gtklistitem.h +include/gtk-4.0/gtk/gtklistitemfactory.h +include/gtk-4.0/gtk/gtkliststore.h +include/gtk-4.0/gtk/gtklistview.h +include/gtk-4.0/gtk/gtklockbutton.h +include/gtk-4.0/gtk/gtkmain.h +include/gtk-4.0/gtk/gtkmaplistmodel.h +include/gtk-4.0/gtk/gtkmediacontrols.h +include/gtk-4.0/gtk/gtkmediafile.h +include/gtk-4.0/gtk/gtkmediastream.h +include/gtk-4.0/gtk/gtkmenubutton.h +include/gtk-4.0/gtk/gtkmessagedialog.h +include/gtk-4.0/gtk/gtkmountoperation.h +include/gtk-4.0/gtk/gtkmultifilter.h +include/gtk-4.0/gtk/gtkmultiselection.h +include/gtk-4.0/gtk/gtkmultisorter.h +include/gtk-4.0/gtk/gtknative.h +include/gtk-4.0/gtk/gtknativedialog.h +include/gtk-4.0/gtk/gtknoselection.h +include/gtk-4.0/gtk/gtknotebook.h +include/gtk-4.0/gtk/gtknumericsorter.h +include/gtk-4.0/gtk/gtkorientable.h +include/gtk-4.0/gtk/gtkoverlay.h +include/gtk-4.0/gtk/gtkoverlaylayout.h +include/gtk-4.0/gtk/gtkpadcontroller.h +include/gtk-4.0/gtk/gtkpagesetup.h +include/gtk-4.0/gtk/gtkpaned.h +include/gtk-4.0/gtk/gtkpapersize.h +include/gtk-4.0/gtk/gtkpasswordentry.h +include/gtk-4.0/gtk/gtkpicture.h +include/gtk-4.0/gtk/gtkpopover.h +include/gtk-4.0/gtk/gtkpopovermenu.h +include/gtk-4.0/gtk/gtkpopovermenubar.h +include/gtk-4.0/gtk/gtkprintcontext.h +include/gtk-4.0/gtk/gtkprintoperation.h +include/gtk-4.0/gtk/gtkprintoperationpreview.h +include/gtk-4.0/gtk/gtkprintsettings.h +include/gtk-4.0/gtk/gtkprogressbar.h +include/gtk-4.0/gtk/gtkrange.h +include/gtk-4.0/gtk/gtkrecentmanager.h +include/gtk-4.0/gtk/gtkrender.h +include/gtk-4.0/gtk/gtkrevealer.h +include/gtk-4.0/gtk/gtkroot.h +include/gtk-4.0/gtk/gtkscale.h +include/gtk-4.0/gtk/gtkscalebutton.h +include/gtk-4.0/gtk/gtkscrollable.h +include/gtk-4.0/gtk/gtkscrollbar.h +include/gtk-4.0/gtk/gtkscrolledwindow.h +include/gtk-4.0/gtk/gtksearchbar.h +include/gtk-4.0/gtk/gtksearchentry.h +include/gtk-4.0/gtk/gtkselectionfiltermodel.h +include/gtk-4.0/gtk/gtkselectionmodel.h +include/gtk-4.0/gtk/gtkseparator.h +include/gtk-4.0/gtk/gtksettings.h +include/gtk-4.0/gtk/gtkshortcut.h +include/gtk-4.0/gtk/gtkshortcutaction.h +include/gtk-4.0/gtk/gtkshortcutcontroller.h +include/gtk-4.0/gtk/gtkshortcutlabel.h +include/gtk-4.0/gtk/gtkshortcutmanager.h +include/gtk-4.0/gtk/gtkshortcutsgroup.h +include/gtk-4.0/gtk/gtkshortcutssection.h +include/gtk-4.0/gtk/gtkshortcutsshortcut.h +include/gtk-4.0/gtk/gtkshortcutswindow.h +include/gtk-4.0/gtk/gtkshortcuttrigger.h +include/gtk-4.0/gtk/gtkshow.h +include/gtk-4.0/gtk/gtksignallistitemfactory.h +include/gtk-4.0/gtk/gtksingleselection.h +include/gtk-4.0/gtk/gtksizegroup.h +include/gtk-4.0/gtk/gtksizerequest.h +include/gtk-4.0/gtk/gtkslicelistmodel.h +include/gtk-4.0/gtk/gtksnapshot.h +include/gtk-4.0/gtk/gtksorter.h +include/gtk-4.0/gtk/gtksortlistmodel.h +include/gtk-4.0/gtk/gtkspinbutton.h +include/gtk-4.0/gtk/gtkspinner.h +include/gtk-4.0/gtk/gtkstack.h +include/gtk-4.0/gtk/gtkstacksidebar.h +include/gtk-4.0/gtk/gtkstackswitcher.h +include/gtk-4.0/gtk/gtkstatusbar.h +include/gtk-4.0/gtk/gtkstringfilter.h +include/gtk-4.0/gtk/gtkstringlist.h +include/gtk-4.0/gtk/gtkstringsorter.h +include/gtk-4.0/gtk/gtkstylecontext.h +include/gtk-4.0/gtk/gtkstyleprovider.h +include/gtk-4.0/gtk/gtkswitch.h +include/gtk-4.0/gtk/gtktestatcontext.h +include/gtk-4.0/gtk/gtktestutils.h +include/gtk-4.0/gtk/gtktext.h +include/gtk-4.0/gtk/gtktextbuffer.h +include/gtk-4.0/gtk/gtktextchild.h +include/gtk-4.0/gtk/gtktextiter.h +include/gtk-4.0/gtk/gtktextmark.h +include/gtk-4.0/gtk/gtktexttag.h +include/gtk-4.0/gtk/gtktexttagtable.h +include/gtk-4.0/gtk/gtktextview.h +include/gtk-4.0/gtk/gtktogglebutton.h +include/gtk-4.0/gtk/gtktooltip.h +include/gtk-4.0/gtk/gtktreednd.h +include/gtk-4.0/gtk/gtktreeexpander.h +include/gtk-4.0/gtk/gtktreelistmodel.h +include/gtk-4.0/gtk/gtktreelistrowsorter.h +include/gtk-4.0/gtk/gtktreemodel.h +include/gtk-4.0/gtk/gtktreemodelfilter.h +include/gtk-4.0/gtk/gtktreemodelsort.h +include/gtk-4.0/gtk/gtktreeselection.h +include/gtk-4.0/gtk/gtktreesortable.h +include/gtk-4.0/gtk/gtktreestore.h +include/gtk-4.0/gtk/gtktreeview.h +include/gtk-4.0/gtk/gtktreeviewcolumn.h +include/gtk-4.0/gtk/gtktypebuiltins.h +include/gtk-4.0/gtk/gtktypes.h +include/gtk-4.0/gtk/gtkversion.h +include/gtk-4.0/gtk/gtkvideo.h +include/gtk-4.0/gtk/gtkviewport.h +include/gtk-4.0/gtk/gtkvolumebutton.h +include/gtk-4.0/gtk/gtkwidget.h +include/gtk-4.0/gtk/gtkwidgetpaintable.h +include/gtk-4.0/gtk/gtkwindow.h +include/gtk-4.0/gtk/gtkwindowcontrols.h +include/gtk-4.0/gtk/gtkwindowgroup.h +include/gtk-4.0/gtk/gtkwindowhandle.h +include/gtk-4.0/unix-print/gtk/gtkpagesetupunixdialog.h +include/gtk-4.0/unix-print/gtk/gtkprinter.h +include/gtk-4.0/unix-print/gtk/gtkprintjob.h +include/gtk-4.0/unix-print/gtk/gtkprintunixdialog.h +include/gtk-4.0/unix-print/gtk/gtkunixprint-autocleanups.h +include/gtk-4.0/unix-print/gtk/gtkunixprint.h +lib/girepository-1.0/Gdk-4.0.typelib +${PLIST.x11}lib/girepository-1.0/GdkX11-4.0.typelib +lib/girepository-1.0/Gsk-4.0.typelib +lib/girepository-1.0/Gtk-4.0.typelib +lib/gtk-4.0/4.0.0/media/libmedia-ffmpeg.so +${PLIST.cups}lib/gtk-4.0/4.0.0/printbackends/libprintbackend-cups.so +lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so +${PLIST.lpr}lib/gtk-4.0/4.0.0/printbackends/libprintbackend-lpr.so +lib/libgtk-4.${SOEXT} +${PLIST.dylib}lib/libgtk-4.1.dylib +${PLIST.no-dylib}lib/libgtk-4.so.1 +${PLIST.no-dylib}lib/libgtk-4.so.1.0.3 +${PLIST.quartz}lib/pkgconfig/gtk4-macos.pc +lib/pkgconfig/gtk4-unix-print.pc +${PLIST.x11}lib/pkgconfig/gtk4-x11.pc +lib/pkgconfig/gtk4.pc +share/applications/org.gtk.Demo4.desktop +share/applications/org.gtk.IconBrowser4.desktop +share/applications/org.gtk.PrintEditor4.desktop +share/applications/org.gtk.WidgetFactory4.desktop +share/gettext/its/gtk4builder.its +share/gettext/its/gtk4builder.loc +share/gir-1.0/Gdk-4.0.gir +${PLIST.x11}share/gir-1.0/GdkX11-4.0.gir +share/gir-1.0/Gsk-4.0.gir +share/gir-1.0/Gtk-4.0.gir +share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml +share/glib-2.0/schemas/org.gtk.gtk4.Settings.ColorChooser.gschema.xml +share/glib-2.0/schemas/org.gtk.gtk4.Settings.Debug.gschema.xml +share/glib-2.0/schemas/org.gtk.gtk4.Settings.EmojiChooser.gschema.xml +share/glib-2.0/schemas/org.gtk.gtk4.Settings.FileChooser.gschema.xml +share/gtk-4.0/emoji/de.gresource +share/gtk-4.0/emoji/es.gresource +share/gtk-4.0/emoji/fr.gresource +share/gtk-4.0/emoji/zh.gresource +share/gtk-4.0/gtk4builder.rng +share/gtk-4.0/valgrind/gtk.supp +share/icons/hicolor/scalable/apps/org.gtk.Demo4.svg +share/icons/hicolor/scalable/apps/org.gtk.IconBrowser4.svg +share/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.Devel.svg +share/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.svg +share/icons/hicolor/scalable/apps/org.gtk.WidgetFactory4.svg +share/icons/hicolor/symbolic/apps/org.gtk.Demo4-symbolic.svg +share/icons/hicolor/symbolic/apps/org.gtk.IconBrowser4-symbolic.svg +share/icons/hicolor/symbolic/apps/org.gtk.PrintEditor4-symbolic.svg +share/icons/hicolor/symbolic/apps/org.gtk.WidgetFactory4-symbolic.svg +share/locale/af/LC_MESSAGES/gtk40-properties.mo +share/locale/af/LC_MESSAGES/gtk40.mo +share/locale/am/LC_MESSAGES/gtk40-properties.mo +share/locale/am/LC_MESSAGES/gtk40.mo +share/locale/an/LC_MESSAGES/gtk40-properties.mo +share/locale/an/LC_MESSAGES/gtk40.mo +share/locale/ang/LC_MESSAGES/gtk40-properties.mo +share/locale/ang/LC_MESSAGES/gtk40.mo +share/locale/ar/LC_MESSAGES/gtk40-properties.mo +share/locale/ar/LC_MESSAGES/gtk40.mo +share/locale/as/LC_MESSAGES/gtk40-properties.mo +share/locale/as/LC_MESSAGES/gtk40.mo +share/locale/ast/LC_MESSAGES/gtk40-properties.mo +share/locale/ast/LC_MESSAGES/gtk40.mo +share/locale/az/LC_MESSAGES/gtk40-properties.mo +share/locale/az/LC_MESSAGES/gtk40.mo +share/locale/az_IR/LC_MESSAGES/gtk40-properties.mo +share/locale/az_IR/LC_MESSAGES/gtk40.mo +share/locale/be/LC_MESSAGES/gtk40-properties.mo +share/locale/be/LC_MESSAGES/gtk40.mo +share/locale/be@latin/LC_MESSAGES/gtk40-properties.mo +share/locale/be@latin/LC_MESSAGES/gtk40.mo +share/locale/bg/LC_MESSAGES/gtk40-properties.mo +share/locale/bg/LC_MESSAGES/gtk40.mo +share/locale/bn/LC_MESSAGES/gtk40-properties.mo +share/locale/bn/LC_MESSAGES/gtk40.mo +share/locale/bn_IN/LC_MESSAGES/gtk40-properties.mo +share/locale/bn_IN/LC_MESSAGES/gtk40.mo +share/locale/br/LC_MESSAGES/gtk40-properties.mo +share/locale/br/LC_MESSAGES/gtk40.mo +share/locale/bs/LC_MESSAGES/gtk40-properties.mo +share/locale/bs/LC_MESSAGES/gtk40.mo +share/locale/ca/LC_MESSAGES/gtk40-properties.mo +share/locale/ca/LC_MESSAGES/gtk40.mo +share/locale/ca@valencia/LC_MESSAGES/gtk40-properties.mo +share/locale/ca@valencia/LC_MESSAGES/gtk40.mo +share/locale/crh/LC_MESSAGES/gtk40-properties.mo +share/locale/crh/LC_MESSAGES/gtk40.mo +share/locale/cs/LC_MESSAGES/gtk40-properties.mo +share/locale/cs/LC_MESSAGES/gtk40.mo +share/locale/cy/LC_MESSAGES/gtk40-properties.mo +share/locale/cy/LC_MESSAGES/gtk40.mo +share/locale/da/LC_MESSAGES/gtk40-properties.mo +share/locale/da/LC_MESSAGES/gtk40.mo +share/locale/de/LC_MESSAGES/gtk40-properties.mo +share/locale/de/LC_MESSAGES/gtk40.mo +share/locale/dz/LC_MESSAGES/gtk40-properties.mo +share/locale/dz/LC_MESSAGES/gtk40.mo +share/locale/el/LC_MESSAGES/gtk40-properties.mo +share/locale/el/LC_MESSAGES/gtk40.mo +share/locale/en/LC_MESSAGES/gtk40-properties.mo +share/locale/en/LC_MESSAGES/gtk40.mo +share/locale/en@shaw/LC_MESSAGES/gtk40-properties.mo +share/locale/en@shaw/LC_MESSAGES/gtk40.mo +share/locale/en_CA/LC_MESSAGES/gtk40-properties.mo +share/locale/en_CA/LC_MESSAGES/gtk40.mo +share/locale/en_GB/LC_MESSAGES/gtk40-properties.mo +share/locale/en_GB/LC_MESSAGES/gtk40.mo +share/locale/eo/LC_MESSAGES/gtk40-properties.mo +share/locale/eo/LC_MESSAGES/gtk40.mo +share/locale/es/LC_MESSAGES/gtk40-properties.mo +share/locale/es/LC_MESSAGES/gtk40.mo +share/locale/et/LC_MESSAGES/gtk40-properties.mo +share/locale/et/LC_MESSAGES/gtk40.mo +share/locale/eu/LC_MESSAGES/gtk40-properties.mo +share/locale/eu/LC_MESSAGES/gtk40.mo +share/locale/fa/LC_MESSAGES/gtk40-properties.mo +share/locale/fa/LC_MESSAGES/gtk40.mo +share/locale/fi/LC_MESSAGES/gtk40-properties.mo +share/locale/fi/LC_MESSAGES/gtk40.mo +share/locale/fr/LC_MESSAGES/gtk40-properties.mo +share/locale/fr/LC_MESSAGES/gtk40.mo +share/locale/fur/LC_MESSAGES/gtk40-properties.mo +share/locale/fur/LC_MESSAGES/gtk40.mo +share/locale/ga/LC_MESSAGES/gtk40-properties.mo +share/locale/ga/LC_MESSAGES/gtk40.mo +share/locale/gd/LC_MESSAGES/gtk40-properties.mo +share/locale/gd/LC_MESSAGES/gtk40.mo +share/locale/gl/LC_MESSAGES/gtk40-properties.mo +share/locale/gl/LC_MESSAGES/gtk40.mo +share/locale/gu/LC_MESSAGES/gtk40-properties.mo +share/locale/gu/LC_MESSAGES/gtk40.mo +share/locale/he/LC_MESSAGES/gtk40-properties.mo +share/locale/he/LC_MESSAGES/gtk40.mo +share/locale/hi/LC_MESSAGES/gtk40-properties.mo +share/locale/hi/LC_MESSAGES/gtk40.mo +share/locale/hr/LC_MESSAGES/gtk40-properties.mo +share/locale/hr/LC_MESSAGES/gtk40.mo +share/locale/hu/LC_MESSAGES/gtk40-properties.mo +share/locale/hu/LC_MESSAGES/gtk40.mo +share/locale/hy/LC_MESSAGES/gtk40-properties.mo +share/locale/hy/LC_MESSAGES/gtk40.mo +share/locale/ia/LC_MESSAGES/gtk40-properties.mo +share/locale/ia/LC_MESSAGES/gtk40.mo +share/locale/id/LC_MESSAGES/gtk40-properties.mo +share/locale/id/LC_MESSAGES/gtk40.mo +share/locale/io/LC_MESSAGES/gtk40-properties.mo +share/locale/io/LC_MESSAGES/gtk40.mo +share/locale/is/LC_MESSAGES/gtk40-properties.mo +share/locale/is/LC_MESSAGES/gtk40.mo +share/locale/it/LC_MESSAGES/gtk40-properties.mo +share/locale/it/LC_MESSAGES/gtk40.mo +share/locale/ja/LC_MESSAGES/gtk40-properties.mo +share/locale/ja/LC_MESSAGES/gtk40.mo +share/locale/ka/LC_MESSAGES/gtk40-properties.mo +share/locale/ka/LC_MESSAGES/gtk40.mo +share/locale/kg/LC_MESSAGES/gtk40-properties.mo +share/locale/kg/LC_MESSAGES/gtk40.mo +share/locale/kk/LC_MESSAGES/gtk40-properties.mo +share/locale/kk/LC_MESSAGES/gtk40.mo +share/locale/km/LC_MESSAGES/gtk40-properties.mo +share/locale/km/LC_MESSAGES/gtk40.mo +share/locale/kn/LC_MESSAGES/gtk40-properties.mo +share/locale/kn/LC_MESSAGES/gtk40.mo +share/locale/ko/LC_MESSAGES/gtk40-properties.mo +share/locale/ko/LC_MESSAGES/gtk40.mo +share/locale/ku/LC_MESSAGES/gtk40-properties.mo +share/locale/ku/LC_MESSAGES/gtk40.mo +share/locale/ky/LC_MESSAGES/gtk40-properties.mo +share/locale/ky/LC_MESSAGES/gtk40.mo +share/locale/lg/LC_MESSAGES/gtk40-properties.mo +share/locale/lg/LC_MESSAGES/gtk40.mo +share/locale/li/LC_MESSAGES/gtk40-properties.mo +share/locale/li/LC_MESSAGES/gtk40.mo +share/locale/lt/LC_MESSAGES/gtk40-properties.mo +share/locale/lt/LC_MESSAGES/gtk40.mo +share/locale/lv/LC_MESSAGES/gtk40-properties.mo +share/locale/lv/LC_MESSAGES/gtk40.mo +share/locale/mai/LC_MESSAGES/gtk40-properties.mo +share/locale/mai/LC_MESSAGES/gtk40.mo +share/locale/mi/LC_MESSAGES/gtk40-properties.mo +share/locale/mi/LC_MESSAGES/gtk40.mo +share/locale/mjw/LC_MESSAGES/gtk40-properties.mo +share/locale/mjw/LC_MESSAGES/gtk40.mo +share/locale/mk/LC_MESSAGES/gtk40-properties.mo +share/locale/mk/LC_MESSAGES/gtk40.mo +share/locale/ml/LC_MESSAGES/gtk40-properties.mo +share/locale/ml/LC_MESSAGES/gtk40.mo +share/locale/mn/LC_MESSAGES/gtk40-properties.mo +share/locale/mn/LC_MESSAGES/gtk40.mo +share/locale/mr/LC_MESSAGES/gtk40-properties.mo +share/locale/mr/LC_MESSAGES/gtk40.mo +share/locale/ms/LC_MESSAGES/gtk40-properties.mo +share/locale/ms/LC_MESSAGES/gtk40.mo +share/locale/my/LC_MESSAGES/gtk40-properties.mo +share/locale/my/LC_MESSAGES/gtk40.mo +share/locale/nb/LC_MESSAGES/gtk40-properties.mo +share/locale/nb/LC_MESSAGES/gtk40.mo +share/locale/nds/LC_MESSAGES/gtk40-properties.mo +share/locale/nds/LC_MESSAGES/gtk40.mo +share/locale/ne/LC_MESSAGES/gtk40-properties.mo +share/locale/ne/LC_MESSAGES/gtk40.mo +share/locale/nl/LC_MESSAGES/gtk40-properties.mo +share/locale/nl/LC_MESSAGES/gtk40.mo +share/locale/nn/LC_MESSAGES/gtk40-properties.mo +share/locale/nn/LC_MESSAGES/gtk40.mo +share/locale/nso/LC_MESSAGES/gtk40-properties.mo +share/locale/nso/LC_MESSAGES/gtk40.mo +share/locale/oc/LC_MESSAGES/gtk40-properties.mo +share/locale/oc/LC_MESSAGES/gtk40.mo +share/locale/or/LC_MESSAGES/gtk40-properties.mo +share/locale/or/LC_MESSAGES/gtk40.mo +share/locale/pa/LC_MESSAGES/gtk40-properties.mo +share/locale/pa/LC_MESSAGES/gtk40.mo +share/locale/pl/LC_MESSAGES/gtk40-properties.mo +share/locale/pl/LC_MESSAGES/gtk40.mo +share/locale/ps/LC_MESSAGES/gtk40-properties.mo +share/locale/ps/LC_MESSAGES/gtk40.mo +share/locale/pt/LC_MESSAGES/gtk40-properties.mo +share/locale/pt/LC_MESSAGES/gtk40.mo +share/locale/pt_BR/LC_MESSAGES/gtk40-properties.mo +share/locale/pt_BR/LC_MESSAGES/gtk40.mo +share/locale/ro/LC_MESSAGES/gtk40-properties.mo +share/locale/ro/LC_MESSAGES/gtk40.mo +share/locale/ru/LC_MESSAGES/gtk40-properties.mo +share/locale/ru/LC_MESSAGES/gtk40.mo +share/locale/rw/LC_MESSAGES/gtk40-properties.mo +share/locale/rw/LC_MESSAGES/gtk40.mo +share/locale/si/LC_MESSAGES/gtk40-properties.mo +share/locale/si/LC_MESSAGES/gtk40.mo +share/locale/sk/LC_MESSAGES/gtk40-properties.mo +share/locale/sk/LC_MESSAGES/gtk40.mo +share/locale/sl/LC_MESSAGES/gtk40-properties.mo +share/locale/sl/LC_MESSAGES/gtk40.mo +share/locale/sq/LC_MESSAGES/gtk40-properties.mo +share/locale/sq/LC_MESSAGES/gtk40.mo +share/locale/sr/LC_MESSAGES/gtk40-properties.mo +share/locale/sr/LC_MESSAGES/gtk40.mo +share/locale/sr@ije/LC_MESSAGES/gtk40-properties.mo +share/locale/sr@ije/LC_MESSAGES/gtk40.mo +share/locale/sr@latin/LC_MESSAGES/gtk40-properties.mo +share/locale/sr@latin/LC_MESSAGES/gtk40.mo +share/locale/sv/LC_MESSAGES/gtk40-properties.mo +share/locale/sv/LC_MESSAGES/gtk40.mo +share/locale/ta/LC_MESSAGES/gtk40-properties.mo +share/locale/ta/LC_MESSAGES/gtk40.mo +share/locale/te/LC_MESSAGES/gtk40-properties.mo +share/locale/te/LC_MESSAGES/gtk40.mo +share/locale/tg/LC_MESSAGES/gtk40-properties.mo +share/locale/tg/LC_MESSAGES/gtk40.mo +share/locale/th/LC_MESSAGES/gtk40-properties.mo +share/locale/th/LC_MESSAGES/gtk40.mo +share/locale/tk/LC_MESSAGES/gtk40-properties.mo +share/locale/tk/LC_MESSAGES/gtk40.mo +share/locale/tr/LC_MESSAGES/gtk40-properties.mo +share/locale/tr/LC_MESSAGES/gtk40.mo +share/locale/tt/LC_MESSAGES/gtk40-properties.mo +share/locale/tt/LC_MESSAGES/gtk40.mo +share/locale/ug/LC_MESSAGES/gtk40-properties.mo +share/locale/ug/LC_MESSAGES/gtk40.mo +share/locale/uk/LC_MESSAGES/gtk40-properties.mo +share/locale/uk/LC_MESSAGES/gtk40.mo +share/locale/ur/LC_MESSAGES/gtk40-properties.mo +share/locale/ur/LC_MESSAGES/gtk40.mo +share/locale/uz/LC_MESSAGES/gtk40-properties.mo +share/locale/uz/LC_MESSAGES/gtk40.mo +share/locale/uz@cyrillic/LC_MESSAGES/gtk40-properties.mo +share/locale/uz@cyrillic/LC_MESSAGES/gtk40.mo +share/locale/vi/LC_MESSAGES/gtk40-properties.mo +share/locale/vi/LC_MESSAGES/gtk40.mo +share/locale/wa/LC_MESSAGES/gtk40-properties.mo +share/locale/wa/LC_MESSAGES/gtk40.mo +share/locale/xh/LC_MESSAGES/gtk40-properties.mo +share/locale/xh/LC_MESSAGES/gtk40.mo +share/locale/yi/LC_MESSAGES/gtk40-properties.mo +share/locale/yi/LC_MESSAGES/gtk40.mo +share/locale/zh_CN/LC_MESSAGES/gtk40-properties.mo +share/locale/zh_CN/LC_MESSAGES/gtk40.mo +share/locale/zh_HK/LC_MESSAGES/gtk40-properties.mo +share/locale/zh_HK/LC_MESSAGES/gtk40.mo +share/locale/zh_TW/LC_MESSAGES/gtk40-properties.mo +share/locale/zh_TW/LC_MESSAGES/gtk40.mo +share/metainfo/org.gtk.Demo4.appdata.xml +share/metainfo/org.gtk.IconBrowser4.appdata.xml +share/metainfo/org.gtk.PrintEditor4.appdata.xml +share/metainfo/org.gtk.WidgetFactory4.appdata.xml diff --git a/x11/gtk4/buildlink3.mk b/x11/gtk4/buildlink3.mk new file mode 100644 index 00000000000..526cdd2661d --- /dev/null +++ b/x11/gtk4/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +BUILDLINK_TREE+= gtk4 + +.if !defined(GTK4_BUILDLINK3_MK) +GTK4_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gtk4+= gtk4>=4.0.3 +BUILDLINK_PKGSRCDIR.gtk4?= ../../x11/gtk4 + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../graphics/cairo-gobject/buildlink3.mk" +.include "../../graphics/gdk-pixbuf2/buildlink3.mk" +.include "../../graphics/graphene/buildlink3.mk" +.include "../../graphics/libepoxy/buildlink3.mk" +.endif # GTK4_BUILDLINK3_MK + +BUILDLINK_TREE+= -gtk4 diff --git a/x11/gtk4/distinfo b/x11/gtk4/distinfo new file mode 100644 index 00000000000..65edc95e2f8 --- /dev/null +++ b/x11/gtk4/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +SHA1 (gtk-4.0.3.tar.xz) = 515845f020592cd1aa4bebb70cce662a014d91cd +RMD160 (gtk-4.0.3.tar.xz) = 89bc3d0189c921609005b8fbf0392aa5ba9827ea +SHA512 (gtk-4.0.3.tar.xz) = 94683bf03607daf9cb62ef836e5e2bfee3fcfc6a17f7e0d3232da0d7fc07f8d5c0c12479fcd31cbdef50c86777d986ae82e43f291f2cbc2976967820bbfcb982 +Size (gtk-4.0.3.tar.xz) = 19442520 bytes +SHA1 (patch-config.h.meson) = 1e216652695220b0932f7d86eec4e4836b937985 +SHA1 (patch-gdk_wayland_cursor_os-compatibility.c) = 01d26eccf32e6ab4a2ae0da273e9f66d76b3c31d +SHA1 (patch-meson.build) = 4d82fd17776f0713dc3ed29ea679684d725e9552 diff --git a/x11/gtk4/options.mk b/x11/gtk4/options.mk new file mode 100644 index 00000000000..d0b7603c9c6 --- /dev/null +++ b/x11/gtk4/options.mk @@ -0,0 +1,72 @@ +# $NetBSD: options.mk,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gtk4 +PKG_SUPPORTED_OPTIONS= cups debug + +PKG_OPTIONS_REQUIRED_GROUPS= gui +PKG_OPTIONS_GROUP.gui= x11 + +.if exists(/System/Library/Frameworks/Quartz.framework) +PKG_OPTIONS_GROUP.gui+= quartz +.endif + +PKG_SUGGESTED_OPTIONS+= cups x11 + +.include "../../mk/bsd.options.mk" + +## wayland option requires gdk/wayland/tablet-unstable-v2-client-protocol.h +## and I cannot fint it in pkgsrc. +#PKG_SUPPORTED_OPTIONS+= wayland +#PLIST_VARS+= wayland +#.if !empty(PKG_OPTIONS:Mwayland) +#PLIST.wayland= yes +#.include "../../devel/wayland/buildlink3.mk" +#.include "../../devel/wayland-protocols/buildlink3.mk" +#.include "../../fonts/fontconfig/buildlink3.mk" +#.include "../../x11/libxkbcommon/buildlink3.mk" +#MESON_ARGS+= -Dwayland-backend=true +#.else +MESON_ARGS+= -Dwayland-backend=false +#.endif + +PLIST_VARS+= quartz +.if !empty(PKG_OPTIONS:Mquartz) +PLIST.quartz= yes +MESON_ARGS+= -Dmacos-backend=true +.else +MESON_ARGS+= -Dmacos-backend=false +.endif + +PLIST_VARS+= x11 +.if !empty(PKG_OPTIONS:Mx11) +PLIST.x11= yes +MESON_ARGS+= -Dx11-backend=true +.include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXrender/buildlink3.mk" +.include "../../x11/libXi/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXcursor/buildlink3.mk" +.include "../../x11/libXdamage/buildlink3.mk" +.include "../../x11/libXfixes/buildlink3.mk" +.include "../../x11/libXcomposite/buildlink3.mk" +.else +MESON_ARGS+= -Dx11-backend=false +.endif + +PLIST_VARS+= cups lpr +.if !empty(PKG_OPTIONS:Mcups) +PLIST.cups= yes +MESON_ARGS+= -Dprint-cups=enabled +.include "../../print/libcups/buildlink3.mk" +.else +PLIST.lpr= yes +MESON_ARGS+= -Dprint-cups=disabled +.endif + +.if !empty(PKG_OPTIONS:Mdebug) +MESON_ARGS+= -Ddebug=true +.else +MESON_ARGS+= -Ddebug=false +.endif diff --git a/x11/gtk4/patches/patch-config.h.meson b/x11/gtk4/patches/patch-config.h.meson new file mode 100644 index 00000000000..7ee549654b5 --- /dev/null +++ b/x11/gtk4/patches/patch-config.h.meson @@ -0,0 +1,17 @@ +$NetBSD: patch-config.h.meson,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +* meson's has_function misdetects sincos(3) under NetBSD 9.99.80 at least. + Do not define HAVE_SINCOS for NetBSD in ugly way. + +--- config.h.meson.orig 2021-02-07 23:06:57.305976200 +0000 ++++ config.h.meson +@@ -86,7 +86,9 @@ + #mesondefine HAVE_RANDR15 + + /* Define to 1 if you have the `sincos' function. */ ++#if !defined(__NetBSD__) + #mesondefine HAVE_SINCOS ++#endif + + /* Define to 1 if you have the <stdint.h> header file. */ + #mesondefine HAVE_STDINT_H diff --git a/x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c b/x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c new file mode 100644 index 00000000000..5a7e722c9ae --- /dev/null +++ b/x11/gtk4/patches/patch-gdk_wayland_cursor_os-compatibility.c @@ -0,0 +1,17 @@ +$NetBSD: patch-gdk_wayland_cursor_os-compatibility.c,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +* NetBSD has no memfd_create. + +--- gdk/wayland/cursor/os-compatibility.c.orig 2021-02-07 23:06:57.457976600 +0000 ++++ gdk/wayland/cursor/os-compatibility.c +@@ -32,7 +32,9 @@ + #include <string.h> + #include <stdlib.h> + +-#define HAVE_MEMFD_CREATE ++#if !defined(__NetBSD__) ++# define HAVE_MEMFD_CREATE ++#endif + #ifdef HAVE_MEMFD_CREATE + #include <sys/mman.h> + #endif diff --git a/x11/gtk4/patches/patch-meson.build b/x11/gtk4/patches/patch-meson.build new file mode 100644 index 00000000000..24694255d47 --- /dev/null +++ b/x11/gtk4/patches/patch-meson.build @@ -0,0 +1,19 @@ +$NetBSD: patch-meson.build,v 1.1 2021/02/25 09:55:55 ryoon Exp $ + +* Do not check gtk-doc dependency unconditionally. (only for pkgsrc) + +--- meson.build.orig 2021-02-07 23:06:57.760977300 +0000 ++++ meson.build +@@ -400,10 +400,12 @@ else + endif + iso_codes_dep = dependency('iso-codes', required: false) + ++if get_option('gtk_doc') + gtk_doc_dep = dependency('gtk-doc', version: '>=1.33', + fallback: ['gtk-doc', 'dummy_dep'], + default_options: ['tests=false', 'yelp_manual=false'], + required: get_option('gtk_doc')) ++endif + + fontconfig_dep = [] # only used in x11 backend + |