diff options
Diffstat (limited to 'x11-wm/muffin')
-rw-r--r-- | x11-wm/muffin/Manifest | 6 | ||||
-rw-r--r-- | x11-wm/muffin/files/muffin-4.4-gir-fixes.patch | 65 | ||||
-rw-r--r-- | x11-wm/muffin/files/muffin-4.4-gobject-introspection-fixes.patch | 529 | ||||
-rw-r--r-- | x11-wm/muffin/metadata.xml | 8 | ||||
-rw-r--r-- | x11-wm/muffin/muffin-4.4.3.ebuild | 84 |
5 files changed, 691 insertions, 1 deletions
diff --git a/x11-wm/muffin/Manifest b/x11-wm/muffin/Manifest index c36339acc6dd..1aa367d4ea48 100644 --- a/x11-wm/muffin/Manifest +++ b/x11-wm/muffin/Manifest @@ -1,5 +1,9 @@ AUX muffin-4.0-clutter-configure.patch 456 BLAKE2B f3f855dbc5fa8cdf85c87fc1ae2dc2d88c348bc9a53872d4f953a816c78a330a036a6e6f16a409f96e096654ea220a93d95b6f7ae57a9ed81f7b4d91280f6aff SHA512 168648d3ee94d3ebecf0b85fd943885af118c0939881a18ceaf7283b59ba34eedc1fbae735f4c589e671e1f0b60fbf94ac6e1009a92d2da2a26881cda40b2e5f AUX muffin-4.0-cogl-configure.patch 717 BLAKE2B bf55437c4a3c5b41fe4c9dc4bb0a7e58def0cc5263826f924dd6b35f19e0fc662b9b20c80dce97b92532ab3798b54cfa4cf1851c4d44e05a099bffa5f895b44e SHA512 f8902b5e777106008f5697b9384462633aa07d70ae66eb8a7ad9bc5f1c757a14aa614711614cdd4aec969120ceaf98bec07b91a42ecba4b696ebcf9f63dcba11 +AUX muffin-4.4-gir-fixes.patch 2133 BLAKE2B 07635927daaa45e5f83c419e27efc9863b43b23591b908fbaa94c7b951c9bd6626ea8df6682f8a16cd4e18192486d84ec6d3d431e91cc20488546077c2450683 SHA512 01fe330ba2dc2bb965b5870ba22bb11c1d31d8d318457bc5a1035d49386a117e605aa0edbabd1ad2d34b6c4ab3cf347936b13d6a2f6f4dea94db8d0aac82f7fd +AUX muffin-4.4-gobject-introspection-fixes.patch 16907 BLAKE2B 02cc9f22053580f046eb9f5ea2d9ca55364330e729f7f2e765c7c7f100077e81d33f47e4097e24ac95ab901447a1c4eccf0dd09d85b5af93f91daccbfba3eb5a SHA512 181007af23aa61c0d9422a6c7fe1cdc7cc4ee5e506d789ffc12b5a799171a34aa4eaba995c00cf04512d81549d6e675ec8259fc7440a21d97c19a2148a9e7a46 DIST muffin-4.0.3.tar.gz 5194156 BLAKE2B 8d58d37f8410ad5384c09a4edabd3ca5bd8a3a612825ded55bf625a9a8c2ba8aba295187e3eb727fc248716b3efe84e9a567a49f95635150c4bda5f309545ed2 SHA512 34a3f152d2701e06498f2de28639af656bd4efa6c7d5c56244fe9002cf769e929fc2360bd036509318fab9c4fe73c976605c3fdb444c9280f52e6db27867a14c +DIST muffin-4.4.3.tar.gz 5194631 BLAKE2B 10221560daed72f776f6543b8d044442fe8f501ec42cc2f6ce15f0d00f26fe74d3dbe763145c48ecf18d0f821277753a71a607e8c705e6dc624c16d7f17b9785 SHA512 a11418f9ab6f6dee0f4df45f06ec6df5666490effec7468fd4c1e9cb6b537448f1aaf0fe743b208194488b86de0b269ffdc442ee677b45940761bbdfa4fafed3 EBUILD muffin-4.0.3.ebuild 2026 BLAKE2B cc032e3a46a86e52a9b235a6df018cb50028987de9e91d40fa92fb240011eb322fa6b265dd4b79290874430d61bbcb9e0df1cb57b953557e6fd332debc4c2d90 SHA512 80d397c253b6ffe00b9420b99a650df2f6e77b1e150d083828e99b68ca8a88c8a0c30fa41ec81b3b80b04ac4e112a047c406e60ee219a79b673a5b915e3adc14 -MISC metadata.xml 333 BLAKE2B d29a873cc8702d8251ff425eca5ec16b4ea2a75f4e512c05513c3a6a61e38e0fde4450158503cdb2e71b324c86a7e66e03c1eecba8bff6a6be81244f040ceaad SHA512 42c7d8e82dd95e76e6b72973d53a0a27de2562108b5989092c34804140d336dcb20b331a4c70b1fcf6730ef5f377f366f480271597c63f7ce3e8f7aa8d359555 +EBUILD muffin-4.4.3.ebuild 2059 BLAKE2B 95ad8ac24d78556542cbdc537e7826184fcc169238b95d6fd78e7de280d984d13fe98c13f4bc889abf937945be6f1626e521109d54bd19d702d8ef2c3b972a01 SHA512 aec02f556eca9b4325c4177eb4ad12baca81c2b88c6ae8c1d80dd2c3f8e8e885c997f61e4e82d7c3bb2309f3df314c01afc972049a7d3c1ce0db81175a8ab5c0 +MISC metadata.xml 568 BLAKE2B 508383c07145ee7f1d2e24749a32499ac1786a26af8034eb87f0fd1ddcd0c4a27572fbeb8e4a288ad1122348162dbaa34063ec268e0b90aa56e1f2f9ee097067 SHA512 ae69e0756469ba11a738248b601489de534b54d5e7f5f6765f77be3fb4437ec7c42f85c5b8ae19d52cdc9a2cf664bffbe0d65ba7b90a49be48448e97606629db diff --git a/x11-wm/muffin/files/muffin-4.4-gir-fixes.patch b/x11-wm/muffin/files/muffin-4.4-gir-fixes.patch new file mode 100644 index 000000000000..46613194be15 --- /dev/null +++ b/x11-wm/muffin/files/muffin-4.4-gir-fixes.patch @@ -0,0 +1,65 @@ +From eaacd664855b03517a0406024b18eb9f5a597a9d Mon Sep 17 00:00:00 2001 +From: Michael Webster <miketwebster@gmail.com> +Date: Tue, 14 Jan 2020 12:12:13 -0500 +Subject: [PATCH] display.c: Remove meta_display_get_atom() - it is unused, and + breaks the build when g-ir-scanner (with gobject-introspection ~1.62) + +ref: +https://gitlab.gnome.org/GNOME/mutter/commit/edeac1de09473809debc4d0b8c416f79dde8f500 +--- + src/core/display.c | 14 -------------- + src/meta/display.h | 9 --------- + 2 files changed, 23 deletions(-) + +diff --git a/src/core/display.c b/src/core/display.c +index 6c186e87..6baf2cc2 100644 +--- a/src/core/display.c ++++ b/src/core/display.c +@@ -5640,20 +5640,6 @@ meta_display_get_shape_event_base (MetaDisplay *display) + } + #endif + +-/** +- * meta_display_get_atom: (skip) +- * +- * Gets up an X atom that Muffin prefetched at startup. +- * +- * Return value: the X atom corresponding to the given atom enumeration +- */ +-Atom meta_display_get_atom (MetaDisplay *display, MetaAtom meta_atom) +-{ +- Atom *atoms = & display->atom_WM_PROTOCOLS; +- +- return atoms[meta_atom - 1]; +-} +- + /** + * meta_display_get_leader_window: + * @display: a #MetaDisplay +diff --git a/src/meta/display.h b/src/meta/display.h +index 3f82c32b..434296f1 100644 +--- a/src/meta/display.h ++++ b/src/meta/display.h +@@ -56,14 +56,6 @@ GType meta_display_get_type (void) G_GNUC_CONST; + + #define meta_XFree(p) do { if ((p)) XFree ((p)); } while (0) + +-typedef enum +-{ +- META_ATOM_FIRST = 0, +-#define item(x) META_ATOM_##x, +-#include "atomnames.h" +-#undef item +-}MetaAtom; +- + typedef enum { + META_LIST_DEFAULT = 0, /* normal windows */ + META_LIST_INCLUDE_OVERRIDE_REDIRECT = 1 << 0, /* normal and O-R */ +@@ -90,7 +82,6 @@ gboolean meta_display_xwindow_is_a_no_focus_window (MetaDisplay *display, + + int meta_display_get_damage_event_base (MetaDisplay *display); + int meta_display_get_shape_event_base (MetaDisplay *display); +-Atom meta_display_get_atom (MetaDisplay *display, MetaAtom meta_atom); + + gboolean meta_display_xserver_time_is_before (MetaDisplay *display, + guint32 time1, diff --git a/x11-wm/muffin/files/muffin-4.4-gobject-introspection-fixes.patch b/x11-wm/muffin/files/muffin-4.4-gobject-introspection-fixes.patch new file mode 100644 index 000000000000..053319d5c42f --- /dev/null +++ b/x11-wm/muffin/files/muffin-4.4-gobject-introspection-fixes.patch @@ -0,0 +1,529 @@ +From a452ec976f22b1ffba51e934f2d771d0680f6cca Mon Sep 17 00:00:00 2001 +From: Michael Webster <miketwebster@gmail.com> +Date: Tue, 14 Jan 2020 11:29:54 -0500 +Subject: [PATCH] muffin: Use glib for gettext + +This was also breaking the build under gobject-introspection ~1.62 + +ref: +https://gitlab.gnome.org/GNOME/mutter/commit/6ceddd626a20f5c3d92ddd9318338626f4be4a4d +https://gitlab.gnome.org/GNOME/mutter/commit/5298a834efef5eeacaea24a9752468277782cb04 +--- + ChangeLog | 2 +- + src/Makefile.am | 3 ++- + src/compositor/compositor.c | 1 + + src/compositor/meta-background.c | 1 + + src/compositor/plugins/default.c | 8 +++---- + src/core/core.c | 1 + + src/core/delete.c | 2 +- + src/core/display.c | 4 ++-- + src/core/keybindings.c | 2 +- + src/core/main.c | 2 +- + src/core/muffin.c | 1 + + src/core/prefs.c | 2 +- + src/core/screen.c | 2 +- + src/core/session.c | 1 + + src/core/stack.c | 2 +- + src/core/util-private.h | 36 ++++++++++++++++++++++++++++++++ + src/core/util.c | 2 +- + src/core/window-props.c | 1 + + src/core/window.c | 2 +- + src/core/xprops.c | 2 +- + src/meta/common.h | 2 +- + src/meta/util.h | 5 ----- + src/ui/frames.c | 24 ++++++++++----------- + src/ui/menu.c | 2 +- + src/ui/metaaccellabel.c | 2 +- + src/ui/resizepopup.c | 2 +- + src/ui/theme-parser.c | 2 +- + src/ui/theme.c | 2 +- + 28 files changed, 77 insertions(+), 41 deletions(-) + create mode 100644 src/core/util-private.h + +diff --git a/ChangeLog b/ChangeLog +index e68822de..7123e9cf 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -13015,7 +13015,7 @@ Mon Jun 3 15:12:11 2002 HideToshi Tajima <hidetoshi.tajima@sun.com> + + Patch from Erwann Chenede for raise_or_lower keybinding + +- * src/display.c, src/common.h: POINT_IN_RECT moved to a common ++ * src/display.c, src/common.h: META_POINT_IN_RECT moved to a common + location, removed from here + (meta_rectangle_intersect): move here and make it public + +diff --git a/src/Makefile.am b/src/Makefile.am +index cbb5b3af..9cb3af14 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -142,6 +142,7 @@ libmuffin_la_SOURCES = \ + core/stack-tracker.h \ + core/util.c \ + meta/util.h \ ++ meta/util-private.h \ + core/window-props.c \ + core/window-props.h \ + core/window.c \ +@@ -281,7 +282,7 @@ Meta-$(api_version).gir: libmuffin.la + muffin-enum-types.h \ + $(libmuffininclude_base_headers) \ + $(filter %.c,$(libmuffin_la_SOURCES)) +-@META_GIR@_SCANNERFLAGS = $(WARN_SCANNERFLAGS) --warn-all --warn-error ++@META_GIR@_SCANNERFLAGS = $(WARN_SCANNERFLAGS) --warn-all --warn-error --identifier-prefix=Meta + + endif + +diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c +index 0556f743..a8bc6db8 100644 +--- a/src/compositor/compositor.c ++++ b/src/compositor/compositor.c +@@ -74,6 +74,7 @@ + #include "meta-background-actor-private.h" + #include "window-private.h" /* to check window->hidden */ + #include "display-private.h" /* for meta_display_lookup_x_window() */ ++#include "util-private.h" + #include <X11/extensions/shape.h> + #include <X11/extensions/Xcomposite.h> + #include "meta-sync-ring.h" +diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c +index 95917429..33bce084 100644 +--- a/src/compositor/meta-background.c ++++ b/src/compositor/meta-background.c +@@ -28,6 +28,7 @@ + #include <clutter/clutter.h> + #include "cogl-utils.h" + #include <meta/errors.h> ++// #include "util-private.h" + #include "meta-background-actor-private.h" + + struct _MetaBackgroundPrivate +diff --git a/src/compositor/plugins/default.c b/src/compositor/plugins/default.c +index 1d223465..f69563bc 100644 +--- a/src/compositor/plugins/default.c ++++ b/src/compositor/plugins/default.c +@@ -20,14 +20,12 @@ + * Foundation, Inc., 51 Franklin Street - Suite 500, Boston, MA + * 02110-1335, USA. + */ +- ++#include <config.h> + #include <meta/meta-plugin.h> + #include <meta/window.h> + +-#include <libintl.h> +-#define _(x) dgettext (GETTEXT_PACKAGE, x) +-#define N_(x) x +- ++#include <meta/util.h> ++#include <glib/gi18n-lib.h> + #include <clutter/clutter.h> + #include <gmodule.h> + #include <string.h> +diff --git a/src/core/core.c b/src/core/core.c +index 43962825..77228aac 100644 +--- a/src/core/core.c ++++ b/src/core/core.c +@@ -29,6 +29,7 @@ + #include "workspace-private.h" + #include <meta/prefs.h> + #include <meta/errors.h> ++#include "util-private.h" + + /* Looks up the MetaWindow representing the frame of the given X window. + * Used as a helper function by a bunch of the functions below. +diff --git a/src/core/delete.c b/src/core/delete.c +index 5c1e4bb6..5ef767c2 100644 +--- a/src/core/delete.c ++++ b/src/core/delete.c +@@ -25,7 +25,7 @@ + #define _XOPEN_SOURCE /* for kill() */ + + #include <config.h> +-#include <meta/util.h> ++#include "util-private.h" + #include "window-private.h" + #include <meta/errors.h> + #include <meta/workspace.h> +diff --git a/src/core/display.c b/src/core/display.c +index 691a8ed1..6c186e87 100644 +--- a/src/core/display.c ++++ b/src/core/display.c +@@ -1568,8 +1568,8 @@ window_raise_with_delay_callback (void *data) + meta_error_trap_pop (window->display); + + point_in_window = +- (window->frame && POINT_IN_RECT (root_x, root_y, window->frame->rect)) || +- (window->frame == NULL && POINT_IN_RECT (root_x, root_y, window->rect)); ++ (window->frame && META_POINT_IN_RECT (root_x, root_y, window->frame->rect)) || ++ (window->frame == NULL && META_POINT_IN_RECT (root_x, root_y, window->rect)); + if (same_screen && point_in_window) + meta_window_raise (window); + #ifdef WITH_VERBOSE_MODE +diff --git a/src/core/keybindings.c b/src/core/keybindings.c +index 6b1c1cdf..50658880 100644 +--- a/src/core/keybindings.c ++++ b/src/core/keybindings.c +@@ -44,7 +44,7 @@ + #include "frame.h" + #include "place.h" + #include <meta/prefs.h> +-#include <meta/util.h> ++#include "util-private.h" + + #include <X11/keysym.h> + #include <string.h> +diff --git a/src/core/main.c b/src/core/main.c +index 71c78526..a16bee1e 100644 +--- a/src/core/main.c ++++ b/src/core/main.c +@@ -49,7 +49,7 @@ + + #include <config.h> + #include <meta/main.h> +-#include <meta/util.h> ++#include "util-private.h" + #include "display-private.h" + #include <meta/errors.h> + #include "ui.h" +diff --git a/src/core/muffin.c b/src/core/muffin.c +index 26d98f02..8665797a 100644 +--- a/src/core/muffin.c ++++ b/src/core/muffin.c +@@ -26,6 +26,7 @@ + #include <meta/main.h> + #include <meta/util.h> + #include "meta-plugin-manager.h" ++#include <glib/gi18n-lib.h> + + #include <glib.h> + +diff --git a/src/core/prefs.c b/src/core/prefs.c +index d146902d..d92826a1 100644 +--- a/src/core/prefs.c ++++ b/src/core/prefs.c +@@ -33,7 +33,7 @@ + #include <config.h> + #include <meta/prefs.h> + #include "ui.h" +-#include <meta/util.h> ++#include "util-private.h" + #include "meta-plugin-manager.h" + #include <glib.h> + #include <gio/gio.h> +diff --git a/src/core/screen.c b/src/core/screen.c +index 8ba26a06..cdcbcab9 100644 +--- a/src/core/screen.c ++++ b/src/core/screen.c +@@ -33,7 +33,7 @@ + #include <config.h> + #include "screen-private.h" + #include <meta/main.h> +-#include <meta/util.h> ++#include "util-private.h" + #include <meta/errors.h> + #include "window-private.h" + #include "frame.h" +diff --git a/src/core/session.c b/src/core/session.c +index 8e0ded3a..f45e1a63 100644 +--- a/src/core/session.c ++++ b/src/core/session.c +@@ -25,6 +25,7 @@ + + #include <config.h> + ++#include "util-private.h" + #include "session.h" + #include <X11/Xatom.h> + +diff --git a/src/core/stack.c b/src/core/stack.c +index 7404a59e..49ff24b4 100644 +--- a/src/core/stack.c ++++ b/src/core/stack.c +@@ -1424,7 +1424,7 @@ window_contains_point (MetaWindow *window, + + meta_window_get_outer_rect (window, &rect); + +- return POINT_IN_RECT (root_x, root_y, rect); ++ return META_POINT_IN_RECT (root_x, root_y, rect); + } + + static MetaWindow* +diff --git a/src/core/util-private.h b/src/core/util-private.h +new file mode 100644 +index 00000000..8e51b42f +--- /dev/null ++++ b/src/core/util-private.h +@@ -0,0 +1,36 @@ ++/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ ++ ++/* Mutter utilities */ ++ ++/* ++ * Copyright (C) 2001 Havoc Pennington ++ * Copyright (C) 2005 Elijah Newren ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License as ++ * published by the Free Software Foundation; either version 2 of the ++ * License, or (at your option) any later version. ++ * ++ * This program is distributed in the hope that it will be useful, but ++ * WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ * ++ * You should have received a copy of the GNU General Public License ++ * along with this program; if not, write to the Free Software ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA ++ * 02111-1307, USA. ++ */ ++ ++#ifndef META_UTIL_PRIVATE_H ++#define META_UTIL_PRIVATE_H ++ ++#include <meta/util.h> ++#include <glib/gi18n-lib.h> ++ ++void meta_set_verbose (gboolean setting); ++void meta_set_debugging (gboolean setting); ++void meta_set_syncing (gboolean setting); ++void meta_set_replace_current_wm (gboolean setting); ++ ++#endif +diff --git a/src/core/util.c b/src/core/util.c +index c1d84520..896c7195 100644 +--- a/src/core/util.c ++++ b/src/core/util.c +@@ -35,7 +35,7 @@ + + #include <config.h> + #include <meta/common.h> +-#include <meta/util.h> ++#include "util-private.h" + #include <meta/main.h> + + #include <clutter/clutter.h> /* For clutter_threads_add_repaint_func() */ +diff --git a/src/core/window-props.c b/src/core/window-props.c +index 911b9a10..e5306838 100644 +--- a/src/core/window-props.c ++++ b/src/core/window-props.c +@@ -50,6 +50,7 @@ + #include <X11/Xatom.h> + #include <unistd.h> + #include <string.h> ++#include "util-private.h" + #ifndef HOST_NAME_MAX + /* Solaris headers apparently don't define this so do so manually; #326745 */ + #define HOST_NAME_MAX 255 +diff --git a/src/core/window.c b/src/core/window.c +index 500eaac0..1a080887 100644 +--- a/src/core/window.c ++++ b/src/core/window.c +@@ -32,7 +32,7 @@ + #include "window-private.h" + #include "boxes-private.h" + #include "edge-resistance.h" +-#include <meta/util.h> ++#include "util-private.h" + #include "frame.h" + #include <meta/errors.h> + #include "workspace-private.h" +diff --git a/src/core/xprops.c b/src/core/xprops.c +index 01df70a6..bcf11f21 100644 +--- a/src/core/xprops.c ++++ b/src/core/xprops.c +@@ -83,7 +83,7 @@ from The Open Group. + #include <config.h> + #include "xprops.h" + #include <meta/errors.h> +-#include <meta/util.h> ++#include "util-private.h" + #include "async-getprop.h" + #include "ui.h" + #include "muffin-Xatomtype.h" +diff --git a/src/meta/common.h b/src/meta/common.h +index 46bf3461..55426589 100644 +--- a/src/meta/common.h ++++ b/src/meta/common.h +@@ -398,7 +398,7 @@ void meta_frame_borders_clear (MetaFrameBorders *self); + + /************************************************************/ + +-#define POINT_IN_RECT(xcoord, ycoord, rect) \ ++#define META_POINT_IN_RECT(xcoord, ycoord, rect) \ + ((xcoord) >= (rect).x && \ + (xcoord) < ((rect).x + (rect).width) && \ + (ycoord) >= (rect).y && \ +diff --git a/src/meta/util.h b/src/meta/util.h +index cce79ed5..ea10f16a 100644 +--- a/src/meta/util.h ++++ b/src/meta/util.h +@@ -31,12 +31,8 @@ + #include <meta/common.h> + + gboolean meta_is_verbose (void); +-void meta_set_verbose (gboolean setting); + gboolean meta_is_debugging (void); +-void meta_set_debugging (gboolean setting); + gboolean meta_is_syncing (void); +-void meta_set_syncing (gboolean setting); +-void meta_set_replace_current_wm (gboolean setting); + + void meta_debug_spew_real (const char *format, + ...) G_GNUC_PRINTF (1, 2); +@@ -97,7 +93,6 @@ const char* meta_gravity_to_string (int gravity); + + #include <libintl.h> + #define _(x) dgettext (GETTEXT_PACKAGE, x) +-#define N_(x) x + + char* meta_g_utf8_strndup (const gchar *src, gsize n); + +diff --git a/src/ui/frames.c b/src/ui/frames.c +index c1ae7a1d..be075134 100644 +--- a/src/ui/frames.c ++++ b/src/ui/frames.c +@@ -2495,16 +2495,16 @@ get_control (MetaFrames *frames, + meta_frames_calc_geometry (frames, frame, &fgeom); + get_client_rect (&fgeom, fgeom.width, fgeom.height, &client); + +- if (POINT_IN_RECT (x, y, client)) ++ if (META_POINT_IN_RECT (x, y, client)) + return META_FRAME_CONTROL_CLIENT_AREA; + +- if (POINT_IN_RECT (x, y, fgeom.close_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.close_rect.clickable)) + return META_FRAME_CONTROL_DELETE; + +- if (POINT_IN_RECT (x, y, fgeom.min_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.min_rect.clickable)) + return META_FRAME_CONTROL_MINIMIZE; + +- if (POINT_IN_RECT (x, y, fgeom.menu_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.menu_rect.clickable)) + return META_FRAME_CONTROL_MENU; + + meta_core_get (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), +@@ -2521,7 +2521,7 @@ get_control (MetaFrames *frames, + has_right = (flags & META_FRAME_ALLOWS_RIGHT_RESIZE) != 0; + has_bottom = (flags & META_FRAME_ALLOWS_BOTTOM_RESIZE) != 0; + +- if (POINT_IN_RECT (x, y, fgeom.title_rect)) ++ if (META_POINT_IN_RECT (x, y, fgeom.title_rect)) + { + if (has_vert && y <= TOP_RESIZE_HEIGHT && has_north_resize) + return META_FRAME_CONTROL_RESIZE_N; +@@ -2529,7 +2529,7 @@ get_control (MetaFrames *frames, + return META_FRAME_CONTROL_TITLE; + } + +- if (POINT_IN_RECT (x, y, fgeom.max_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.max_rect.clickable)) + { + if (flags & META_FRAME_MAXIMIZED && + (META_WINDOW_TILED_TOP (window) || +@@ -2542,32 +2542,32 @@ get_control (MetaFrames *frames, + return META_FRAME_CONTROL_MAXIMIZE; + } + +- if (POINT_IN_RECT (x, y, fgeom.shade_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.shade_rect.clickable)) + { + return META_FRAME_CONTROL_SHADE; + } + +- if (POINT_IN_RECT (x, y, fgeom.unshade_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.unshade_rect.clickable)) + { + return META_FRAME_CONTROL_UNSHADE; + } + +- if (POINT_IN_RECT (x, y, fgeom.above_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.above_rect.clickable)) + { + return META_FRAME_CONTROL_ABOVE; + } + +- if (POINT_IN_RECT (x, y, fgeom.unabove_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.unabove_rect.clickable)) + { + return META_FRAME_CONTROL_UNABOVE; + } + +- if (POINT_IN_RECT (x, y, fgeom.stick_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.stick_rect.clickable)) + { + return META_FRAME_CONTROL_STICK; + } + +- if (POINT_IN_RECT (x, y, fgeom.unstick_rect.clickable)) ++ if (META_POINT_IN_RECT (x, y, fgeom.unstick_rect.clickable)) + { + return META_FRAME_CONTROL_UNSTICK; + } +diff --git a/src/ui/menu.c b/src/ui/menu.c +index c0b94a1e..5d1155e7 100644 +--- a/src/ui/menu.c ++++ b/src/ui/menu.c +@@ -28,7 +28,7 @@ + #include <string.h> + #include "menu.h" + #include <meta/main.h> +-#include <meta/util.h> ++#include "util-private.h" + #include "core.h" + #include "metaaccellabel.h" + #include "ui.h" +diff --git a/src/ui/metaaccellabel.c b/src/ui/metaaccellabel.c +index fd5c6e6c..097b45b4 100644 +--- a/src/ui/metaaccellabel.c ++++ b/src/ui/metaaccellabel.c +@@ -35,7 +35,7 @@ + #include "metaaccellabel.h" + #include <gtk/gtk.h> + #include <string.h> +-#include <meta/util.h> ++#include "util-private.h" + + static void meta_accel_label_destroy (GtkWidget *object); + static void meta_accel_label_finalize (GObject *object); +diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c +index 18c395d2..56742fd7 100644 +--- a/src/ui/resizepopup.c ++++ b/src/ui/resizepopup.c +@@ -23,7 +23,7 @@ + + #include <config.h> + #include "resizepopup.h" +-#include <meta/util.h> ++#include "util-private.h" + #include <gtk/gtk.h> + #include <gdk/gdkx.h> + +diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c +index 0151f362..628bf73e 100644 +--- a/src/ui/theme-parser.c ++++ b/src/ui/theme-parser.c +@@ -23,7 +23,7 @@ + + #include <config.h> + #include "theme-private.h" +-#include <meta/util.h> ++#include "util-private.h" + #include <meta/prefs.h> + #include <string.h> + #include <stdlib.h> +diff --git a/src/ui/theme.c b/src/ui/theme.c +index cb717bbb..99ea519c 100644 +--- a/src/ui/theme.c ++++ b/src/ui/theme.c +@@ -55,7 +55,7 @@ + + #include <config.h> + #include "theme-private.h" +-#include <meta/util.h> ++#include "util-private.h" + #include <meta/gradient.h> + #include <meta/prefs.h> + #include <gtk/gtk.h> diff --git a/x11-wm/muffin/metadata.xml b/x11-wm/muffin/metadata.xml index 7b5976166a10..34a28b9277af 100644 --- a/x11-wm/muffin/metadata.xml +++ b/x11-wm/muffin/metadata.xml @@ -5,6 +5,14 @@ <email>cinnamon@gentoo.org</email> <name>Cinnamon Project</name> </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>sparky@bluefang-logic.com</email> + <name>Matthew Turnbull</name> + </maintainer> <upstream> <remote-id type="github">linuxmint/muffin</remote-id> </upstream> diff --git a/x11-wm/muffin/muffin-4.4.3.ebuild b/x11-wm/muffin/muffin-4.4.3.ebuild new file mode 100644 index 000000000000..f8d8c2d3a9c7 --- /dev/null +++ b/x11-wm/muffin/muffin-4.4.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils gnome2 + +DESCRIPTION="Compositing window manager forked from Mutter for use with Cinnamon" +HOMEPAGE="https://projects.linuxmint.com/cinnamon/" +SRC_URI="https://github.com/linuxmint/muffin/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+introspection test xinerama" +KEYWORDS="~amd64 ~x86" + +RESTRICT="test" + +COMMON_DEPEND=" + >=x11-libs/pango-1.2[X,introspection?] + >=x11-libs/cairo-1.14:=[X] + x11-libs/gdk-pixbuf:2[introspection?] + >=x11-libs/gtk+-3.9.12:3[X,introspection?] + >=dev-libs/glib-2.37.3:2[dbus] + >=gnome-extra/cinnamon-desktop-4.4:0= + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/libXcomposite-0.3 + >=x11-libs/startup-notification-0.7:= + + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXrender + virtual/opengl + + gnome-extra/zenity + + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) + xinerama? ( x11-libs/libXinerama ) +" +# needs gtk-doc, not just -am, for gtk-doc.make +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + >=app-text/gnome-doc-utils-0.8 + sys-devel/gettext + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.35 + virtual/pkgconfig + x11-base/xorg-proto + test? ( app-text/docbook-xml-dtd:4.5 ) +" +RDEPEND="${COMMON_DEPEND} + !x11-misc/expocity +" + +src_prepare() { + # Fixes from 4.6.0. + eapply "${FILESDIR}"/muffin-4.4-{gobject-introspection,gir}-fixes.patch + + eautoreconf + gnome2_src_prepare +} + +# Wayland is not supported upstream. Disabled by default in 4.6.0. +src_configure() { + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* *.txt doc/*.txt" + gnome2_src_configure \ + --disable-static \ + --disable-wayland-egl-server \ + --enable-shape \ + --enable-sm \ + --enable-startup-notification \ + --enable-xsync \ + --enable-verbose-mode \ + --with-libcanberra \ + $(use_enable introspection) \ + $(use_enable xinerama) +} |