cinnamon.muffin: 5.2.0 -> 5.4.4
Rebased on mutter 3.36.0-0ubuntu0.20.04.1.
This commit is contained in:
parent
b110dadc98
commit
fbfbbc2d0c
2 changed files with 78 additions and 61 deletions
|
@ -1,100 +1,104 @@
|
|||
{ fetchFromGitHub
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, cairo
|
||||
, cinnamon-desktop
|
||||
, dbus
|
||||
, desktop-file-utils
|
||||
, glib
|
||||
, file
|
||||
, gnome
|
||||
, gnome-doc-utils
|
||||
, fetchpatch
|
||||
, gobject-introspection
|
||||
, graphene
|
||||
, gtk3
|
||||
, intltool
|
||||
, json-glib
|
||||
, libcanberra
|
||||
, libdrm
|
||||
, libgnomekbd
|
||||
, libgudev
|
||||
, libinput
|
||||
, libstartup_notification
|
||||
, libXtst
|
||||
, libwacom
|
||||
, libXdamage
|
||||
, libxkbcommon
|
||||
, libXtst
|
||||
, mesa
|
||||
, meson
|
||||
, ninja
|
||||
, pipewire
|
||||
, pkg-config
|
||||
, lib
|
||||
, stdenv
|
||||
, python3
|
||||
, udev
|
||||
, xorg
|
||||
, wrapGAppsHook
|
||||
, pango
|
||||
, cairo
|
||||
, gtk-doc
|
||||
, docbook_xsl
|
||||
, docbook_xml_dtd_43
|
||||
, docbook_xml_dtd_42
|
||||
, docbook_xml_dtd_412
|
||||
, autoconf
|
||||
, automake
|
||||
, gettext
|
||||
, libtool
|
||||
, xorgserver
|
||||
}:
|
||||
|
||||
# it's a frankensteins monster with some cinnamon sparkles added on top of it
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "muffin";
|
||||
version = "5.2.0";
|
||||
version = "5.4.4";
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
zenity = gnome.zenity;
|
||||
})
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxmint";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-WAp0HbfRtwsPjJX1kPBqUStqLaudQPZ8E+h4jmggmw8=";
|
||||
hash = "sha256-u3PNSyjxtPLFdA+2Iz+NuqlcQC9IwsFb7Tb5eVAJunY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
glib
|
||||
pango
|
||||
cairo
|
||||
json-glib
|
||||
cinnamon-desktop
|
||||
xorg.libXcomposite
|
||||
xorg.libXcursor
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXi
|
||||
xorg.libxkbfile
|
||||
xorg.xkeyboardconfig
|
||||
nativeBuildInputs = [
|
||||
desktop-file-utils
|
||||
mesa # needed for gbm
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook
|
||||
xorgserver # for cvt command
|
||||
];
|
||||
|
||||
libxkbcommon
|
||||
gnome.zenity
|
||||
buildInputs = [
|
||||
cairo
|
||||
cinnamon-desktop
|
||||
dbus
|
||||
glib
|
||||
gobject-introspection
|
||||
gtk3
|
||||
libcanberra
|
||||
libdrm
|
||||
libgnomekbd
|
||||
libgudev
|
||||
libinput
|
||||
libstartup_notification
|
||||
libXtst
|
||||
libwacom
|
||||
libXdamage
|
||||
libxkbcommon
|
||||
pipewire
|
||||
udev
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
gettext
|
||||
libtool
|
||||
wrapGAppsHook
|
||||
pkg-config
|
||||
intltool
|
||||
|
||||
gnome-doc-utils
|
||||
gtk-doc
|
||||
docbook_xsl
|
||||
docbook_xml_dtd_43
|
||||
docbook_xml_dtd_42
|
||||
docbook_xml_dtd_412
|
||||
propagatedBuildInputs = [
|
||||
# required for pkg-config to detect muffin-clutter
|
||||
json-glib
|
||||
libXtst
|
||||
graphene
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
postPatch = ''
|
||||
patchShebangs src/backends/native/gen-default-modes.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/linuxmint/muffin";
|
||||
description = "The window management library for the Cinnamon desktop (libmuffin) and its sample WM binary (muffin)";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.cinnamon.members;
|
||||
};
|
||||
|
|
13
pkgs/desktops/cinnamon/muffin/fix-paths.patch
Normal file
13
pkgs/desktops/cinnamon/muffin/fix-paths.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/core/util.c b/src/core/util.c
|
||||
index 57b73747d..f424cc81c 100644
|
||||
--- a/src/core/util.c
|
||||
+++ b/src/core/util.c
|
||||
@@ -636,7 +636,7 @@ meta_show_dialog (const char *type,
|
||||
|
||||
args = g_ptr_array_new ();
|
||||
|
||||
- append_argument (args, "zenity");
|
||||
+ append_argument (args, "@zenity@/bin/zenity");
|
||||
append_argument (args, type);
|
||||
|
||||
if (display)
|
Loading…
Reference in a new issue