pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mutter: Import mutter-40.0 as wip/mutter
Module Name: pkgsrc-wip
Committed By: Dan CÃirnat <cirnatdan%NetBSD.org@localhost>
Pushed By: cirnatdan
Date: Fri Mar 26 11:29:59 2021 +0100
Changeset: 792a1499f73b74c9872c39c4d50584c5c6ae7da2
Added Files:
mutter/DESCR
mutter/Makefile
mutter/PLIST
mutter/buildlink3.mk
mutter/distinfo
mutter/patches/patch-clutter_clutter_clutter-stage-view.c
mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.c
mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.h
mutter/patches/patch-src_backends_x11_meta-input-settings-x11.c
mutter/patches/patch-src_backends_x11_meta-seat-x11.c
Log Message:
mutter: Import mutter-40.0 as wip/mutter
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=792a1499f73b74c9872c39c4d50584c5c6ae7da2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mutter/DESCR | 4 +
mutter/Makefile | 65 ++++
mutter/PLIST | 349 +++++++++++++++++++++
mutter/buildlink3.mk | 18 ++
mutter/distinfo | 11 +
.../patch-clutter_clutter_clutter-stage-view.c | 59 ++++
.../patches/patch-cogl_cogl_cogl-dma-buf-handle.c | 34 ++
.../patches/patch-cogl_cogl_cogl-dma-buf-handle.h | 23 ++
...atch-src_backends_x11_meta-input-settings-x11.c | 38 +++
.../patches/patch-src_backends_x11_meta-seat-x11.c | 51 +++
10 files changed, 652 insertions(+)
diffs:
diff --git a/mutter/DESCR b/mutter/DESCR
new file mode 100644
index 0000000000..7951bb6745
--- /dev/null
+++ b/mutter/DESCR
@@ -0,0 +1,4 @@
+Mutter is a window and compositing manager that displays and manages your
+desktop via OpenGL. Mutter combines a sophisticated display engine using
+the Clutter toolkit with solid window-management logic inherited from the
+Metacity window manager.
diff --git a/mutter/Makefile b/mutter/Makefile
new file mode 100644
index 0000000000..4cc9b46ad6
--- /dev/null
+++ b/mutter/Makefile
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.5 2020/11/22 00:05:09 gutteridge Exp $
+
+DISTNAME= mutter-40.0
+CATEGORIES= wm gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= dan%alt.md@localhost
+HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter
+COMMENT= GNOME window manager
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= msgfmt pkg-config
+TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
+
+.include "../../graphics/MesaLib/features.mk"
+
+.if ${MESALIB_SUPPORTS_EGL} == "no"
+MESON_ARGS+= -Degl=false
+.endif
+
+.if ${MESALIB_SUPPORTS_GLESv2} == "no"
+MESON_ARGS+= -Dgles2=false
+.endif
+
+MESON_ARGS+= -Dudev=false
+MESON_ARGS+= -Dnative_backend=false
+MESON_ARGS+= -Dlibwacom=false
+MESON_ARGS+= -Dremote_desktop=false
+MESON_ARGS+= -Dprofiler=false
+MESON_ARGS+= -Dwayland=false
+MESON_ARGS+= -Dtests=false #tests require Wayland support
+MESON_ARGS+= -Dsm=true
+MESON_ARGS+= -Dverbose=true
+
+.if ${OPSYS} == "NetBSD"
+MESON_ARGS+= -Dopengl_libname=libGL.so
+TOOLS_PLATFORM.msgfmt=
+.endif
+
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-8.pc
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-8
+
+.include "../../devel/meson/build.mk"
+.include "../../wip/glib2/schemas.mk"
+.include "../../audio/libcanberra/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/graphene/buildlink3.mk"
+.include "../../sysutils/gnome-settings-daemon/buildlink3.mk"
+.include "../../wip/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../wip/gnome-desktop40/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mutter/PLIST b/mutter/PLIST
new file mode 100644
index 0000000000..47b28d2379
--- /dev/null
+++ b/mutter/PLIST
@@ -0,0 +1,349 @@
+@comment $NetBSD$
+bin/mutter
+include/mutter-8/clutter/cally/cally-actor.h
+include/mutter-8/clutter/cally/cally-clone.h
+include/mutter-8/clutter/cally/cally-factory.h
+include/mutter-8/clutter/cally/cally-main.h
+include/mutter-8/clutter/cally/cally-root.h
+include/mutter-8/clutter/cally/cally-stage.h
+include/mutter-8/clutter/cally/cally-text.h
+include/mutter-8/clutter/cally/cally-util.h
+include/mutter-8/clutter/cally/cally.h
+include/mutter-8/clutter/clutter/clutter-action.h
+include/mutter-8/clutter/clutter/clutter-actor-meta.h
+include/mutter-8/clutter/clutter/clutter-actor.h
+include/mutter-8/clutter/clutter/clutter-align-constraint.h
+include/mutter-8/clutter/clutter/clutter-animatable.h
+include/mutter-8/clutter/clutter/clutter-autocleanups.h
+include/mutter-8/clutter/clutter/clutter-backend.h
+include/mutter-8/clutter/clutter/clutter-bin-layout.h
+include/mutter-8/clutter/clutter/clutter-bind-constraint.h
+include/mutter-8/clutter/clutter/clutter-binding-pool.h
+include/mutter-8/clutter/clutter/clutter-blur-effect.h
+include/mutter-8/clutter/clutter/clutter-box-layout.h
+include/mutter-8/clutter/clutter/clutter-brightness-contrast-effect.h
+include/mutter-8/clutter/clutter/clutter-cairo.h
+include/mutter-8/clutter/clutter/clutter-canvas.h
+include/mutter-8/clutter/clutter/clutter-child-meta.h
+include/mutter-8/clutter/clutter/clutter-click-action.h
+include/mutter-8/clutter/clutter/clutter-clone.h
+include/mutter-8/clutter/clutter/clutter-color-static.h
+include/mutter-8/clutter/clutter/clutter-color.h
+include/mutter-8/clutter/clutter/clutter-colorize-effect.h
+include/mutter-8/clutter/clutter/clutter-config.h
+include/mutter-8/clutter/clutter/clutter-constraint.h
+include/mutter-8/clutter/clutter/clutter-container.h
+include/mutter-8/clutter/clutter/clutter-content.h
+include/mutter-8/clutter/clutter/clutter-deform-effect.h
+include/mutter-8/clutter/clutter/clutter-deprecated.h
+include/mutter-8/clutter/clutter/clutter-desaturate-effect.h
+include/mutter-8/clutter/clutter/clutter-effect.h
+include/mutter-8/clutter/clutter/clutter-enum-types.h
+include/mutter-8/clutter/clutter/clutter-enums.h
+include/mutter-8/clutter/clutter/clutter-event.h
+include/mutter-8/clutter/clutter/clutter-feature.h
+include/mutter-8/clutter/clutter/clutter-fixed-layout.h
+include/mutter-8/clutter/clutter/clutter-flow-layout.h
+include/mutter-8/clutter/clutter/clutter-frame-clock.h
+include/mutter-8/clutter/clutter/clutter-frame.h
+include/mutter-8/clutter/clutter/clutter-gesture-action.h
+include/mutter-8/clutter/clutter/clutter-grid-layout.h
+include/mutter-8/clutter/clutter/clutter-image.h
+include/mutter-8/clutter/clutter/clutter-input-device-tool.h
+include/mutter-8/clutter/clutter/clutter-input-device.h
+include/mutter-8/clutter/clutter/clutter-input-focus.h
+include/mutter-8/clutter/clutter/clutter-input-method.h
+include/mutter-8/clutter/clutter/clutter-interval.h
+include/mutter-8/clutter/clutter/clutter-keyframe-transition.h
+include/mutter-8/clutter/clutter/clutter-keymap.h
+include/mutter-8/clutter/clutter/clutter-keysyms.h
+include/mutter-8/clutter/clutter/clutter-layout-manager.h
+include/mutter-8/clutter/clutter/clutter-layout-meta.h
+include/mutter-8/clutter/clutter/clutter-macros.h
+include/mutter-8/clutter/clutter/clutter-main.h
+include/mutter-8/clutter/clutter/clutter-marshal.h
+include/mutter-8/clutter/clutter/clutter-mutter.h
+include/mutter-8/clutter/clutter/clutter-offscreen-effect.h
+include/mutter-8/clutter/clutter/clutter-page-turn-effect.h
+include/mutter-8/clutter/clutter/clutter-paint-context.h
+include/mutter-8/clutter/clutter/clutter-paint-node.h
+include/mutter-8/clutter/clutter/clutter-paint-nodes.h
+include/mutter-8/clutter/clutter/clutter-pan-action.h
+include/mutter-8/clutter/clutter/clutter-path-constraint.h
+include/mutter-8/clutter/clutter/clutter-path.h
+include/mutter-8/clutter/clutter/clutter-pick-context.h
+include/mutter-8/clutter/clutter/clutter-property-transition.h
+include/mutter-8/clutter/clutter/clutter-rotate-action.h
+include/mutter-8/clutter/clutter/clutter-script.h
+include/mutter-8/clutter/clutter/clutter-scriptable.h
+include/mutter-8/clutter/clutter/clutter-scroll-actor.h
+include/mutter-8/clutter/clutter/clutter-seat.h
+include/mutter-8/clutter/clutter/clutter-settings.h
+include/mutter-8/clutter/clutter/clutter-shader-effect.h
+include/mutter-8/clutter/clutter/clutter-shader-types.h
+include/mutter-8/clutter/clutter/clutter-snap-constraint.h
+include/mutter-8/clutter/clutter/clutter-stage-manager.h
+include/mutter-8/clutter/clutter/clutter-stage-view.h
+include/mutter-8/clutter/clutter/clutter-stage.h
+include/mutter-8/clutter/clutter/clutter-swipe-action.h
+include/mutter-8/clutter/clutter/clutter-tap-action.h
+include/mutter-8/clutter/clutter/clutter-text-buffer.h
+include/mutter-8/clutter/clutter/clutter-text.h
+include/mutter-8/clutter/clutter/clutter-timeline.h
+include/mutter-8/clutter/clutter/clutter-transition-group.h
+include/mutter-8/clutter/clutter/clutter-transition.h
+include/mutter-8/clutter/clutter/clutter-types.h
+include/mutter-8/clutter/clutter/clutter-units.h
+include/mutter-8/clutter/clutter/clutter-virtual-input-device.h
+include/mutter-8/clutter/clutter/clutter-zoom-action.h
+include/mutter-8/clutter/clutter/clutter.h
+include/mutter-8/clutter/clutter/deprecated/clutter-container.h
+include/mutter-8/clutter/clutter/deprecated/clutter-timeline.h
+include/mutter-8/clutter/clutter/x11/clutter-x11.h
+include/mutter-8/cogl/cogl-pango/cogl-pango.h
+include/mutter-8/cogl/cogl/cogl-atlas-texture.h
+include/mutter-8/cogl/cogl/cogl-attribute-buffer.h
+include/mutter-8/cogl/cogl/cogl-attribute.h
+include/mutter-8/cogl/cogl/cogl-bitmap.h
+include/mutter-8/cogl/cogl/cogl-buffer.h
+include/mutter-8/cogl/cogl/cogl-color.h
+include/mutter-8/cogl/cogl/cogl-context.h
+include/mutter-8/cogl/cogl/cogl-defines.h
+include/mutter-8/cogl/cogl/cogl-depth-state.h
+include/mutter-8/cogl/cogl/cogl-display.h
+include/mutter-8/cogl/cogl/cogl-dma-buf-handle.h
+include/mutter-8/cogl/cogl/cogl-egl-defines.h
+include/mutter-8/cogl/cogl/cogl-egl.h
+include/mutter-8/cogl/cogl/cogl-fence.h
+include/mutter-8/cogl/cogl/cogl-frame-info.h
+include/mutter-8/cogl/cogl/cogl-framebuffer.h
+include/mutter-8/cogl/cogl/cogl-glib-source.h
+include/mutter-8/cogl/cogl/cogl-glx.h
+include/mutter-8/cogl/cogl/cogl-graphene.h
+include/mutter-8/cogl/cogl/cogl-gtype-private.h
+include/mutter-8/cogl/cogl/cogl-index-buffer.h
+include/mutter-8/cogl/cogl/cogl-indices.h
+include/mutter-8/cogl/cogl/cogl-macros.h
+include/mutter-8/cogl/cogl/cogl-matrix-stack.h
+include/mutter-8/cogl/cogl/cogl-meta-texture.h
+include/mutter-8/cogl/cogl/cogl-object.h
+include/mutter-8/cogl/cogl/cogl-offscreen.h
+include/mutter-8/cogl/cogl/cogl-onscreen-template.h
+include/mutter-8/cogl/cogl/cogl-onscreen.h
+include/mutter-8/cogl/cogl/cogl-output.h
+include/mutter-8/cogl/cogl/cogl-pipeline-layer-state.h
+include/mutter-8/cogl/cogl/cogl-pipeline-state.h
+include/mutter-8/cogl/cogl/cogl-pipeline.h
+include/mutter-8/cogl/cogl/cogl-pixel-buffer.h
+include/mutter-8/cogl/cogl/cogl-pixel-format.h
+include/mutter-8/cogl/cogl/cogl-poll.h
+include/mutter-8/cogl/cogl/cogl-primitive-texture.h
+include/mutter-8/cogl/cogl/cogl-primitive.h
+include/mutter-8/cogl/cogl/cogl-renderer.h
+include/mutter-8/cogl/cogl/cogl-scanout.h
+include/mutter-8/cogl/cogl/cogl-snippet.h
+include/mutter-8/cogl/cogl/cogl-sub-texture.h
+include/mutter-8/cogl/cogl/cogl-swap-chain.h
+include/mutter-8/cogl/cogl/cogl-texture-2d-sliced.h
+include/mutter-8/cogl/cogl/cogl-texture-2d.h
+include/mutter-8/cogl/cogl/cogl-texture-pixmap-x11.h
+include/mutter-8/cogl/cogl/cogl-texture.h
+include/mutter-8/cogl/cogl/cogl-trace.h
+include/mutter-8/cogl/cogl/cogl-types.h
+include/mutter-8/cogl/cogl/cogl-version.h
+include/mutter-8/cogl/cogl/cogl-xlib-renderer.h
+include/mutter-8/cogl/cogl/cogl-xlib.h
+include/mutter-8/cogl/cogl/cogl.h
+include/mutter-8/cogl/cogl/cogl1-context.h
+include/mutter-8/cogl/cogl/deprecated/cogl-auto-texture.h
+include/mutter-8/cogl/cogl/deprecated/cogl-clutter.h
+include/mutter-8/cogl/cogl/deprecated/cogl-material-compat.h
+include/mutter-8/cogl/cogl/deprecated/cogl-shader.h
+include/mutter-8/cogl/cogl/deprecated/cogl-type-casts.h
+include/mutter-8/cogl/cogl/gl-prototypes/cogl-core-functions.h
+include/mutter-8/cogl/cogl/gl-prototypes/cogl-gles2-functions.h
+include/mutter-8/cogl/cogl/gl-prototypes/cogl-glsl-functions.h
+include/mutter-8/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h
+include/mutter-8/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h
+include/mutter-8/meta/barrier.h
+include/mutter-8/meta/boxes.h
+include/mutter-8/meta/common.h
+include/mutter-8/meta/compositor-mutter.h
+include/mutter-8/meta/compositor.h
+include/mutter-8/meta/display.h
+include/mutter-8/meta/group.h
+include/mutter-8/meta/keybindings.h
+include/mutter-8/meta/main.h
+include/mutter-8/meta/meta-backend.h
+include/mutter-8/meta/meta-background-actor.h
+include/mutter-8/meta/meta-background-content.h
+include/mutter-8/meta/meta-background-group.h
+include/mutter-8/meta/meta-background-image.h
+include/mutter-8/meta/meta-background.h
+include/mutter-8/meta/meta-close-dialog.h
+include/mutter-8/meta/meta-cursor-tracker.h
+include/mutter-8/meta/meta-dnd.h
+include/mutter-8/meta/meta-enum-types.h
+include/mutter-8/meta/meta-idle-monitor.h
+include/mutter-8/meta/meta-inhibit-shortcuts-dialog.h
+include/mutter-8/meta/meta-later.h
+include/mutter-8/meta/meta-launch-context.h
+include/mutter-8/meta/meta-monitor-manager.h
+include/mutter-8/meta/meta-plugin.h
+include/mutter-8/meta/meta-remote-access-controller.h
+include/mutter-8/meta/meta-selection-source-memory.h
+include/mutter-8/meta/meta-selection-source.h
+include/mutter-8/meta/meta-selection.h
+include/mutter-8/meta/meta-settings.h
+include/mutter-8/meta/meta-shadow-factory.h
+include/mutter-8/meta/meta-shaped-texture.h
+include/mutter-8/meta/meta-sound-player.h
+include/mutter-8/meta/meta-stage.h
+include/mutter-8/meta/meta-startup-notification.h
+include/mutter-8/meta/meta-window-actor.h
+include/mutter-8/meta/meta-window-group.h
+include/mutter-8/meta/meta-window-shape.h
+include/mutter-8/meta/meta-workspace-manager.h
+include/mutter-8/meta/meta-x11-display.h
+include/mutter-8/meta/meta-x11-errors.h
+include/mutter-8/meta/prefs.h
+include/mutter-8/meta/theme.h
+include/mutter-8/meta/types.h
+include/mutter-8/meta/util.h
+include/mutter-8/meta/window.h
+include/mutter-8/meta/workspace.h
+lib/libmutter-8.so
+lib/libmutter-8.so.0
+lib/libmutter-8.so.0.0.0
+lib/mutter-8/Cally-8.gir
+lib/mutter-8/Cally-8.typelib
+lib/mutter-8/Clutter-8.gir
+lib/mutter-8/Clutter-8.typelib
+lib/mutter-8/ClutterX11-8.gir
+lib/mutter-8/ClutterX11-8.typelib
+lib/mutter-8/Cogl-8.gir
+lib/mutter-8/Cogl-8.typelib
+lib/mutter-8/CoglPango-8.gir
+lib/mutter-8/CoglPango-8.typelib
+lib/mutter-8/Meta-8.gir
+lib/mutter-8/Meta-8.typelib
+lib/mutter-8/libmutter-clutter-8.so
+lib/mutter-8/libmutter-clutter-8.so.0
+lib/mutter-8/libmutter-clutter-8.so.0.0.0
+lib/mutter-8/libmutter-cogl-8.so
+lib/mutter-8/libmutter-cogl-8.so.0
+lib/mutter-8/libmutter-cogl-8.so.0.0.0
+lib/mutter-8/libmutter-cogl-pango-8.so
+lib/mutter-8/libmutter-cogl-pango-8.so.0
+lib/mutter-8/libmutter-cogl-pango-8.so.0.0.0
+lib/mutter-8/plugins/libdefault.so
+lib/pkgconfig/libmutter-8.pc
+lib/pkgconfig/mutter-clutter-8.pc
+lib/pkgconfig/mutter-clutter-x11-8.pc
+lib/pkgconfig/mutter-cogl-8.pc
+lib/pkgconfig/mutter-cogl-pango-8.pc
+libexec/mutter-restart-helper
+man/man1/mutter.1
+share/GConf/gsettings/mutter-schemas.convert
+share/applications/mutter.desktop
+share/glib-2.0/schemas/org.gnome.mutter.gschema.xml
+share/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
+share/gnome-control-center/keybindings/50-mutter-navigation.xml
+share/gnome-control-center/keybindings/50-mutter-system.xml
+share/gnome-control-center/keybindings/50-mutter-windows.xml
+share/locale/am/LC_MESSAGES/mutter.mo
+share/locale/ar/LC_MESSAGES/mutter.mo
+share/locale/as/LC_MESSAGES/mutter.mo
+share/locale/ast/LC_MESSAGES/mutter.mo
+share/locale/az/LC_MESSAGES/mutter.mo
+share/locale/be/LC_MESSAGES/mutter.mo
+share/locale/be@latin/LC_MESSAGES/mutter.mo
+share/locale/bg/LC_MESSAGES/mutter.mo
+share/locale/bn/LC_MESSAGES/mutter.mo
+share/locale/bn_IN/LC_MESSAGES/mutter.mo
+share/locale/br/LC_MESSAGES/mutter.mo
+share/locale/bs/LC_MESSAGES/mutter.mo
+share/locale/ca/LC_MESSAGES/mutter.mo
+share/locale/ca@valencia/LC_MESSAGES/mutter.mo
+share/locale/cs/LC_MESSAGES/mutter.mo
+share/locale/cy/LC_MESSAGES/mutter.mo
+share/locale/da/LC_MESSAGES/mutter.mo
+share/locale/de/LC_MESSAGES/mutter.mo
+share/locale/dz/LC_MESSAGES/mutter.mo
+share/locale/el/LC_MESSAGES/mutter.mo
+share/locale/en_CA/LC_MESSAGES/mutter.mo
+share/locale/en_GB/LC_MESSAGES/mutter.mo
+share/locale/eo/LC_MESSAGES/mutter.mo
+share/locale/es/LC_MESSAGES/mutter.mo
+share/locale/et/LC_MESSAGES/mutter.mo
+share/locale/eu/LC_MESSAGES/mutter.mo
+share/locale/fa/LC_MESSAGES/mutter.mo
+share/locale/fi/LC_MESSAGES/mutter.mo
+share/locale/fr/LC_MESSAGES/mutter.mo
+share/locale/fur/LC_MESSAGES/mutter.mo
+share/locale/ga/LC_MESSAGES/mutter.mo
+share/locale/gd/LC_MESSAGES/mutter.mo
+share/locale/gl/LC_MESSAGES/mutter.mo
+share/locale/gu/LC_MESSAGES/mutter.mo
+share/locale/ha/LC_MESSAGES/mutter.mo
+share/locale/he/LC_MESSAGES/mutter.mo
+share/locale/hi/LC_MESSAGES/mutter.mo
+share/locale/hr/LC_MESSAGES/mutter.mo
+share/locale/hu/LC_MESSAGES/mutter.mo
+share/locale/hy/LC_MESSAGES/mutter.mo
+share/locale/id/LC_MESSAGES/mutter.mo
+share/locale/ig/LC_MESSAGES/mutter.mo
+share/locale/is/LC_MESSAGES/mutter.mo
+share/locale/it/LC_MESSAGES/mutter.mo
+share/locale/ja/LC_MESSAGES/mutter.mo
+share/locale/ka/LC_MESSAGES/mutter.mo
+share/locale/kk/LC_MESSAGES/mutter.mo
+share/locale/kn/LC_MESSAGES/mutter.mo
+share/locale/ko/LC_MESSAGES/mutter.mo
+share/locale/ku/LC_MESSAGES/mutter.mo
+share/locale/la/LC_MESSAGES/mutter.mo
+share/locale/lt/LC_MESSAGES/mutter.mo
+share/locale/lv/LC_MESSAGES/mutter.mo
+share/locale/mai/LC_MESSAGES/mutter.mo
+share/locale/mg/LC_MESSAGES/mutter.mo
+share/locale/mk/LC_MESSAGES/mutter.mo
+share/locale/ml/LC_MESSAGES/mutter.mo
+share/locale/mn/LC_MESSAGES/mutter.mo
+share/locale/mr/LC_MESSAGES/mutter.mo
+share/locale/ms/LC_MESSAGES/mutter.mo
+share/locale/nb/LC_MESSAGES/mutter.mo
+share/locale/nds/LC_MESSAGES/mutter.mo
+share/locale/ne/LC_MESSAGES/mutter.mo
+share/locale/nl/LC_MESSAGES/mutter.mo
+share/locale/nn/LC_MESSAGES/mutter.mo
+share/locale/oc/LC_MESSAGES/mutter.mo
+share/locale/or/LC_MESSAGES/mutter.mo
+share/locale/pa/LC_MESSAGES/mutter.mo
+share/locale/pl/LC_MESSAGES/mutter.mo
+share/locale/pt/LC_MESSAGES/mutter.mo
+share/locale/pt_BR/LC_MESSAGES/mutter.mo
+share/locale/ro/LC_MESSAGES/mutter.mo
+share/locale/ru/LC_MESSAGES/mutter.mo
+share/locale/rw/LC_MESSAGES/mutter.mo
+share/locale/si/LC_MESSAGES/mutter.mo
+share/locale/sk/LC_MESSAGES/mutter.mo
+share/locale/sl/LC_MESSAGES/mutter.mo
+share/locale/sq/LC_MESSAGES/mutter.mo
+share/locale/sr/LC_MESSAGES/mutter.mo
+share/locale/sr@latin/LC_MESSAGES/mutter.mo
+share/locale/sv/LC_MESSAGES/mutter.mo
+share/locale/ta/LC_MESSAGES/mutter.mo
+share/locale/te/LC_MESSAGES/mutter.mo
+share/locale/tg/LC_MESSAGES/mutter.mo
+share/locale/th/LC_MESSAGES/mutter.mo
+share/locale/tk/LC_MESSAGES/mutter.mo
+share/locale/tr/LC_MESSAGES/mutter.mo
+share/locale/ug/LC_MESSAGES/mutter.mo
+share/locale/uk/LC_MESSAGES/mutter.mo
+share/locale/vi/LC_MESSAGES/mutter.mo
+share/locale/wa/LC_MESSAGES/mutter.mo
+share/locale/xh/LC_MESSAGES/mutter.mo
+share/locale/yo/LC_MESSAGES/mutter.mo
+share/locale/zh_CN/LC_MESSAGES/mutter.mo
+share/locale/zh_HK/LC_MESSAGES/mutter.mo
+share/locale/zh_TW/LC_MESSAGES/mutter.mo
diff --git a/mutter/buildlink3.mk b/mutter/buildlink3.mk
new file mode 100644
index 0000000000..d57e98d7b4
--- /dev/null
+++ b/mutter/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/10 01:56:20 nia Exp $
+
+BUILDLINK_TREE+= mutter
+
+.if !defined(MUTTER_BUILDLINK3_MK)
+MUTTER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mutter+= mutter>=40.0
+BUILDLINK_PKGSRCDIR.mutter?= ../../wip/mutter
+
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/graphene/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.endif # MUTTER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mutter
diff --git a/mutter/distinfo b/mutter/distinfo
new file mode 100644
index 0000000000..a86d10533e
--- /dev/null
+++ b/mutter/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1 2020/11/10 01:56:20 nia Exp $
+
+SHA1 (mutter-40.0.tar.xz) = f8fc8c489bc7437c1a941ee1a50a2085efe26b01
+RMD160 (mutter-40.0.tar.xz) = 5eb7f558c5579ce5a084bc7c6b8be4aee4f03b33
+SHA512 (mutter-40.0.tar.xz) = af4fd21e5ea7e2cf1004d6912771279cebb2fc60f51f5c7371fd5f6fefbfbd7e36841de98757b8f116b0d2006c1151ccf74ed03ee62836cf59d2a86eaf48084d
+Size (mutter-40.0.tar.xz) = 2678364 bytes
+SHA1 (patch-clutter_clutter_clutter-stage-view.c) = abba7a702a612457ba56acf1ecfd9396d28d1a2c
+SHA1 (patch-cogl_cogl_cogl-dma-buf-handle.c) = 75547ffc2560860b6101a19165a3659bf799104e
+SHA1 (patch-cogl_cogl_cogl-dma-buf-handle.h) = 311de2a52624c081bd5baf4a6f878a6f1ebd4015
+SHA1 (patch-src_backends_x11_meta-input-settings-x11.c) = 74b4887c1f1162bc5c1ae597f8554133ec770503
+SHA1 (patch-src_backends_x11_meta-seat-x11.c) = 552b83f575ea8bc65d3e0efbdaf25ce90a31b5df
diff --git a/mutter/patches/patch-clutter_clutter_clutter-stage-view.c b/mutter/patches/patch-clutter_clutter_clutter-stage-view.c
new file mode 100644
index 0000000000..f32e31bb01
--- /dev/null
+++ b/mutter/patches/patch-clutter_clutter_clutter-stage-view.c
@@ -0,0 +1,59 @@
+$NetBSD: patch-clutter_clutter_clutter-stage-view.c,v 1.1 2020/11/10 01:56:20 nia Exp $
+
+Disable Linux-only functions
+
+--- clutter/clutter/clutter-stage-view.c.orig 2020-10-05 18:05:31.453278500 +0000
++++ clutter/clutter/clutter-stage-view.c
+@@ -529,13 +529,13 @@ find_damaged_tiles (ClutterStageView
+ bpp = cogl_dma_buf_handle_get_bpp (current_dma_buf_handle);
+
+ cogl_framebuffer_finish (COGL_FRAMEBUFFER (priv->shadow.framebuffer));
+-
++#ifdef __linux__
+ if (!cogl_dma_buf_handle_sync_read_start (prev_dma_buf_handle, error))
+ return NULL;
+
+ if (!cogl_dma_buf_handle_sync_read_start (current_dma_buf_handle, error))
+ goto err_sync_read_current;
+-
++#endif
+ prev_data = cogl_dma_buf_handle_mmap (prev_dma_buf_handle, error);
+ if (!prev_data)
+ goto err_mmap_prev;
+@@ -580,7 +580,7 @@ find_damaged_tiles (ClutterStageView
+ cairo_region_union_rectangle (tile_damage_region, &tile);
+ }
+ }
+-
++#ifdef __linux__
+ if (!cogl_dma_buf_handle_sync_read_end (prev_dma_buf_handle, error))
+ {
+ g_warning ("Failed to end DMA buffer read synchronization: %s",
+@@ -594,7 +594,7 @@ find_damaged_tiles (ClutterStageView
+ (*error)->message);
+ g_clear_error (error);
+ }
+-
++#endif
+ cogl_dma_buf_handle_munmap (prev_dma_buf_handle, prev_data, NULL);
+ cogl_dma_buf_handle_munmap (current_dma_buf_handle, current_data, NULL);
+
+@@ -604,13 +604,16 @@ find_damaged_tiles (ClutterStageView
+
+ err_mmap_current:
+ cogl_dma_buf_handle_munmap (prev_dma_buf_handle, prev_data, NULL);
+-
++#ifdef __linux__
+ err_mmap_prev:
+ cogl_dma_buf_handle_sync_read_end (current_dma_buf_handle, NULL);
+
+ err_sync_read_current:
+ cogl_dma_buf_handle_sync_read_end (prev_dma_buf_handle, NULL);
+-
++#else
++err_mmap_prev:
++err_sync_read_current:
++#endif
+ return NULL;
+ }
+
diff --git a/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.c b/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.c
new file mode 100644
index 0000000000..4f64f0a236
--- /dev/null
+++ b/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.c
@@ -0,0 +1,34 @@
+$NetBSD: patch-cogl_cogl_cogl-dma-buf-handle.c,v 1.1 2020/11/10 01:56:20 nia Exp $
+
+Disable Linux-only functions
+
+--- cogl/cogl/cogl-dma-buf-handle.c.orig 2020-10-05 18:05:31.474278000 +0000
++++ cogl/cogl/cogl-dma-buf-handle.c
+@@ -36,8 +36,10 @@
+
+ #include <errno.h>
+ #include <gio/gio.h>
++#ifdef __linux__
+ #include <linux/dma-buf.h>
+ #include <sys/ioctl.h>
++#endif
+ #include <sys/mman.h>
+ #include <unistd.h>
+
+@@ -101,6 +103,8 @@ cogl_dma_buf_handle_free (CoglDmaBufHand
+ g_free (dmabuf_handle);
+ }
+
++
++#ifdef __linux__
+ static gboolean
+ sync_read (CoglDmaBufHandle *dmabuf_handle,
+ uint64_t start_or_end,
+@@ -147,6 +151,7 @@ cogl_dma_buf_handle_sync_read_end (CoglD
+ {
+ return sync_read (dmabuf_handle, DMA_BUF_SYNC_END, error);
+ }
++#endif
+
+ gpointer
+ cogl_dma_buf_handle_mmap (CoglDmaBufHandle *dmabuf_handle,
diff --git a/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.h b/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.h
new file mode 100644
index 0000000000..8b072c3656
--- /dev/null
+++ b/mutter/patches/patch-cogl_cogl_cogl-dma-buf-handle.h
@@ -0,0 +1,23 @@
+$NetBSD: patch-cogl_cogl_cogl-dma-buf-handle.h,v 1.1 2020/11/10 01:56:20 nia Exp $
+
+Disable Linux-only functions
+
+--- cogl/cogl/cogl-dma-buf-handle.h.orig 2020-10-05 18:05:31.474278000 +0000
++++ cogl/cogl/cogl-dma-buf-handle.h
+@@ -63,6 +63,7 @@ cogl_dma_buf_handle_new (CoglFramebuffer
+ COGL_EXPORT void
+ cogl_dma_buf_handle_free (CoglDmaBufHandle *dmabuf_handle);
+
++# ifdef __linux__
+ COGL_EXPORT gboolean
+ cogl_dma_buf_handle_sync_read_start (CoglDmaBufHandle *dmabuf_handle,
+ GError **error);
+@@ -70,7 +71,7 @@ cogl_dma_buf_handle_sync_read_start (Cog
+ COGL_EXPORT gboolean
+ cogl_dma_buf_handle_sync_read_end (CoglDmaBufHandle *dmabuf_handle,
+ GError **error);
+-
++# endif
+ COGL_EXPORT gpointer
+ cogl_dma_buf_handle_mmap (CoglDmaBufHandle *dmabuf_handle,
+ GError **error);
diff --git a/mutter/patches/patch-src_backends_x11_meta-input-settings-x11.c b/mutter/patches/patch-src_backends_x11_meta-input-settings-x11.c
new file mode 100644
index 0000000000..923e4292c8
--- /dev/null
+++ b/mutter/patches/patch-src_backends_x11_meta-input-settings-x11.c
@@ -0,0 +1,38 @@
+$NetBSD$
+
+--- src/backends/x11/meta-input-settings-x11.c.orig 2021-03-20 12:08:54.064907300 +0000
++++ src/backends/x11/meta-input-settings-x11.c
+@@ -45,6 +45,7 @@ typedef struct _MetaInputSettingsX11Priv
+ #ifdef HAVE_LIBGUDEV
+ GUdevClient *udev_client;
+ #endif
++ bool dummy_field;
+ } MetaInputSettingsX11Private;
+
+ G_DEFINE_TYPE_WITH_PRIVATE (MetaInputSettingsX11, meta_input_settings_x11,
+@@ -765,11 +766,10 @@ meta_input_settings_x11_set_tablet_aspec
+ static void
+ meta_input_settings_x11_dispose (GObject *object)
+ {
+-#ifdef HAVE_LIBGUDEV
+ MetaInputSettingsX11 *settings_x11 = META_INPUT_SETTINGS_X11 (object);
+ MetaInputSettingsX11Private *priv =
+ meta_input_settings_x11_get_instance_private (settings_x11);
+-
++#ifdef HAVE_LIBGUDEV
+ g_clear_object (&priv->udev_client);
+ #endif
+
+@@ -938,11 +938,10 @@ meta_input_settings_x11_class_init (Meta
+ static void
+ meta_input_settings_x11_init (MetaInputSettingsX11 *settings)
+ {
+-#ifdef HAVE_LIBGUDEV
+ MetaInputSettingsX11Private *priv =
+ meta_input_settings_x11_get_instance_private (settings);
+ const char *subsystems[] = { NULL };
+-
++#ifdef HAVE_LIBGUDEV
+ priv->udev_client = g_udev_client_new (subsystems);
+ #endif
+ }
diff --git a/mutter/patches/patch-src_backends_x11_meta-seat-x11.c b/mutter/patches/patch-src_backends_x11_meta-seat-x11.c
new file mode 100644
index 0000000000..34aac3b3f3
--- /dev/null
+++ b/mutter/patches/patch-src_backends_x11_meta-seat-x11.c
@@ -0,0 +1,51 @@
+$NetBSD$
+
+--- src/backends/x11/meta-seat-x11.c.orig 2021-03-20 12:08:54.069907200 +0000
++++ src/backends/x11/meta-seat-x11.c
+@@ -17,8 +17,9 @@
+ * Author: Carlos Garnacho <carlosg%gnome.org@localhost>
+ */
+ #include "config.h"
+-
++#ifdef __linux__
+ #include <linux/input-event-codes.h>
++#endif
+ #include <X11/extensions/XInput2.h>
+ #include <X11/extensions/XKB.h>
+
+@@ -1731,7 +1732,7 @@ get_source_device_checked (MetaSeatX11
+
+ return source_device;
+ }
+-
++#ifdef __linux__
+ static uint32_t
+ evdev_button_code (uint32_t x_button)
+ {
+@@ -1752,7 +1753,6 @@ evdev_button_code (uint32_t x_button)
+ case 3:
+ button = BTN_RIGHT;
+ break;
+-
+ default:
+ button = x_button + (BTN_LEFT - 1) + 4;
+ break;
+@@ -1760,7 +1760,7 @@ evdev_button_code (uint32_t x_button)
+
+ return button;
+ }
+-
++#endif
+ gboolean
+ meta_seat_x11_translate_event (MetaSeatX11 *seat,
+ XEvent *xevent,
+@@ -2048,7 +2048,9 @@ meta_seat_x11_translate_event (MetaSeatX
+ event->button.time = xev->time;
+ translate_coords (stage_x11, xev->event_x, xev->event_y, &event->button.x, &event->button.y);
+ event->button.button = xev->detail;
++#ifdef __linux__
+ event->button.evdev_code = evdev_button_code (xev->detail);
++#endif
+ meta_input_device_x11_translate_state (event,
+ &xev->mods,
+ &xev->buttons,
Home |
Main Index |
Thread Index |
Old Index