pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnome-shell: Import gnome-shell-44.0 as wip/gnome-shell
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <dan%alt.md@localhost>
Pushed By: cirnatdan
Date: Sat Dec 14 19:24:27 2024 +0100
Changeset: a097e47951db4a0a5f9c9817913f40407a20bcda
Modified Files:
Makefile
Added Files:
gnome-shell/DESCR
gnome-shell/Makefile
gnome-shell/PLIST
gnome-shell/distinfo
gnome-shell/files/org.freedesktop.ConsoleKit.Manager.xml
gnome-shell/files/org.freedesktop.ConsoleKit.Session.xml
gnome-shell/patches/patch-config.h.meson
gnome-shell/patches/patch-js_dbusServices_screencast_screencastService.js
gnome-shell/patches/patch-src_main.c
gnome-shell/patches/patch-src_shell-util.c
Log Message:
gnome-shell: Import gnome-shell-44.0 as wip/gnome-shell
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a097e47951db4a0a5f9c9817913f40407a20bcda
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
gnome-shell/DESCR | 5 +
gnome-shell/Makefile | 61 +++++++++
gnome-shell/PLIST | 145 +++++++++++++++++++++
gnome-shell/distinfo | 9 ++
.../files/org.freedesktop.ConsoleKit.Manager.xml | 25 ++++
.../files/org.freedesktop.ConsoleKit.Session.xml | 11 ++
gnome-shell/patches/patch-config.h.meson | 13 ++
...js_dbusServices_screencast_screencastService.js | 16 +++
gnome-shell/patches/patch-src_main.c | 22 ++++
gnome-shell/patches/patch-src_shell-util.c | 29 +++++
11 files changed, 337 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 8863055bfa..c2761742a1 100644
--- a/Makefile
+++ b/Makefile
@@ -1300,6 +1300,7 @@ SUBDIR+= gnome-maps
SUBDIR+= gnome-mount
SUBDIR+= gnome-paint
SUBDIR+= gnome-settings-daemon
+SUBDIR+= gnome-shell
SUBDIR+= gnome-todo
SUBDIR+= gnome-tweaks
SUBDIR+= gnome40
diff --git a/gnome-shell/DESCR b/gnome-shell/DESCR
new file mode 100644
index 0000000000..2f63c3f709
--- /dev/null
+++ b/gnome-shell/DESCR
@@ -0,0 +1,5 @@
+GNOME Shell provides core user interface functions for the GNOME desktop,
+like switching to windows and launching applications. GNOME Shell takes
+advantage of the capabilities of modern graphics hardware and introduces
+innovative user interface concepts to provide a visually attractive and
+easy to use experience.
diff --git a/gnome-shell/Makefile b/gnome-shell/Makefile
new file mode 100644
index 0000000000..481fd0c439
--- /dev/null
+++ b/gnome-shell/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.46 2024/11/17 07:16:53 wiz Exp $
+
+DISTNAME= gnome-shell-44.0
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= cirnatdan%NetBSD.org@localhost
+HOMEPAGE= https://wiki.gnome.org/Projects/GnomeShell
+COMMENT= Next generation GNOME shell
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config perl msgfmt xgettext gdbus-codegen
+
+MESON_ARGS+= -Dnetworkmanager=false
+MESON_ARGS+= -Dsystemd=false
+MESON_ARGS+= -Dextensions_app=false
+MESON_ARGS+= -Dextensions_tool=false
+MESON_ARGS+= -Dman=true
+MESON_ARGS+= -Dtests=false
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+DEPENDS+= libgdm>=40.0:../../x11/libgdm
+
+MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/subprojects/gvc
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/gnome-shell
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+post-extract:
+ cp ${FILESDIR}/*.xml ${WRKSRC}/data/dbus-interfaces/
+
+.include "../../devel/meson/build.mk"
+BUILDLINK_API_DEPENDS.libgweather+= libgweather>=40.0
+.include "../../devel/libgweather/buildlink3.mk"
+.include "../../x11/gtk4/buildlink3.mk"
+.include "../../archivers/gnome-autoar/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../devel/at-spi2-core/buildlink3.mk"
+.include "../../devel/gettext-tools/msgfmt-desktop.mk"
+.include "../../devel/glib2/schemas.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/adwaita-icon-theme/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../wip/gjs/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../wip/evolution-data-server/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../security/gcr/buildlink3.mk"
+.include "../../security/libsecret/buildlink3.mk"
+.include "../../security/polkit/buildlink3.mk"
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../wip/gcr4/buildlink3.mk"
+.include "../../wip/mutter/buildlink3.mk"
+.include "../../wip/gnome-desktop4/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnome-shell/PLIST b/gnome-shell/PLIST
new file mode 100644
index 0000000000..33276120e4
--- /dev/null
+++ b/gnome-shell/PLIST
@@ -0,0 +1,145 @@
+@comment $NetBSD$
+bin/gnome-shell
+bin/gnome-shell-extension-prefs
+bin/gnome-shell-perf-tool
+lib/gnome-shell/Gvc-1.0.typelib
+lib/gnome-shell/Shell-12.typelib
+lib/gnome-shell/St-12.typelib
+lib/gnome-shell/girepository-1.0/Shew-0.typelib
+lib/gnome-shell/libgnome-shell-menu.so
+lib/gnome-shell/libgvc.so
+lib/gnome-shell/libshell-12.so
+lib/gnome-shell/libshew-0.so
+lib/gnome-shell/libst-12.so
+libexec/gnome-shell-calendar-server
+libexec/gnome-shell-hotplug-sniffer
+libexec/gnome-shell-perf-helper
+man/man1/gnome-shell.1
+share/applications/org.gnome.Shell.Extensions.desktop
+share/applications/org.gnome.Shell.desktop
+share/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
+share/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
+share/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
+share/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
+share/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
+share/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
+share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
+share/dbus-1/services/org.gnome.ScreenSaver.service
+share/dbus-1/services/org.gnome.Shell.CalendarServer.service
+share/dbus-1/services/org.gnome.Shell.Extensions.service
+share/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
+share/dbus-1/services/org.gnome.Shell.Notifications.service
+share/dbus-1/services/org.gnome.Shell.Screencast.service
+share/glib-2.0/schemas/00_org.gnome.shell.gschema.override
+share/glib-2.0/schemas/org.gnome.shell.gschema.xml
+share/gnome-control-center/keybindings/50-gnome-shell-launchers.xml
+share/gnome-control-center/keybindings/50-gnome-shell-screenshots.xml
+share/gnome-control-center/keybindings/50-gnome-shell-system.xml
+share/gnome-shell/Gvc-1.0.gir
+share/gnome-shell/Shell-12.gir
+share/gnome-shell/St-12.gir
+share/gnome-shell/gir-1.0/Shew-0.gir
+share/gnome-shell/gnome-shell-dbus-interfaces.gresource
+share/gnome-shell/gnome-shell-icons.gresource
+share/gnome-shell/gnome-shell-osk-layouts.gresource
+share/gnome-shell/gnome-shell-theme.gresource
+share/gnome-shell/org.gnome.ScreenSaver
+share/gnome-shell/org.gnome.ScreenSaver.src.gresource
+share/gnome-shell/org.gnome.Shell.Extensions
+share/gnome-shell/org.gnome.Shell.Extensions.src.gresource
+share/gnome-shell/org.gnome.Shell.Notifications
+share/gnome-shell/org.gnome.Shell.Notifications.src.gresource
+share/gnome-shell/org.gnome.Shell.Screencast
+share/gnome-shell/org.gnome.Shell.Screencast.src.gresource
+share/gnome-shell/perf-background.xml
+share/icons/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
+share/icons/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
+share/locale/ab/LC_MESSAGES/gnome-shell.mo
+share/locale/af/LC_MESSAGES/gnome-shell.mo
+share/locale/an/LC_MESSAGES/gnome-shell.mo
+share/locale/ar/LC_MESSAGES/gnome-shell.mo
+share/locale/as/LC_MESSAGES/gnome-shell.mo
+share/locale/ast/LC_MESSAGES/gnome-shell.mo
+share/locale/be/LC_MESSAGES/gnome-shell.mo
+share/locale/bg/LC_MESSAGES/gnome-shell.mo
+share/locale/bn/LC_MESSAGES/gnome-shell.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-shell.mo
+share/locale/bs/LC_MESSAGES/gnome-shell.mo
+share/locale/ca/LC_MESSAGES/gnome-shell.mo
+share/locale/ca@valencia/LC_MESSAGES/gnome-shell.mo
+share/locale/ckb/LC_MESSAGES/gnome-shell.mo
+share/locale/cs/LC_MESSAGES/gnome-shell.mo
+share/locale/da/LC_MESSAGES/gnome-shell.mo
+share/locale/de/LC_MESSAGES/gnome-shell.mo
+share/locale/el/LC_MESSAGES/gnome-shell.mo
+share/locale/en_GB/LC_MESSAGES/gnome-shell.mo
+share/locale/eo/LC_MESSAGES/gnome-shell.mo
+share/locale/es/LC_MESSAGES/gnome-shell.mo
+share/locale/et/LC_MESSAGES/gnome-shell.mo
+share/locale/eu/LC_MESSAGES/gnome-shell.mo
+share/locale/fa/LC_MESSAGES/gnome-shell.mo
+share/locale/fi/LC_MESSAGES/gnome-shell.mo
+share/locale/fr/LC_MESSAGES/gnome-shell.mo
+share/locale/fur/LC_MESSAGES/gnome-shell.mo
+share/locale/fy/LC_MESSAGES/gnome-shell.mo
+share/locale/ga/LC_MESSAGES/gnome-shell.mo
+share/locale/gd/LC_MESSAGES/gnome-shell.mo
+share/locale/gl/LC_MESSAGES/gnome-shell.mo
+share/locale/gu/LC_MESSAGES/gnome-shell.mo
+share/locale/he/LC_MESSAGES/gnome-shell.mo
+share/locale/hi/LC_MESSAGES/gnome-shell.mo
+share/locale/hr/LC_MESSAGES/gnome-shell.mo
+share/locale/hu/LC_MESSAGES/gnome-shell.mo
+share/locale/ia/LC_MESSAGES/gnome-shell.mo
+share/locale/id/LC_MESSAGES/gnome-shell.mo
+share/locale/ie/LC_MESSAGES/gnome-shell.mo
+share/locale/is/LC_MESSAGES/gnome-shell.mo
+share/locale/it/LC_MESSAGES/gnome-shell.mo
+share/locale/ja/LC_MESSAGES/gnome-shell.mo
+share/locale/ka/LC_MESSAGES/gnome-shell.mo
+share/locale/kab/LC_MESSAGES/gnome-shell.mo
+share/locale/kk/LC_MESSAGES/gnome-shell.mo
+share/locale/km/LC_MESSAGES/gnome-shell.mo
+share/locale/kn/LC_MESSAGES/gnome-shell.mo
+share/locale/ko/LC_MESSAGES/gnome-shell.mo
+share/locale/ku/LC_MESSAGES/gnome-shell.mo
+share/locale/ky/LC_MESSAGES/gnome-shell.mo
+share/locale/lt/LC_MESSAGES/gnome-shell.mo
+share/locale/lv/LC_MESSAGES/gnome-shell.mo
+share/locale/mjw/LC_MESSAGES/gnome-shell.mo
+share/locale/mk/LC_MESSAGES/gnome-shell.mo
+share/locale/ml/LC_MESSAGES/gnome-shell.mo
+share/locale/mr/LC_MESSAGES/gnome-shell.mo
+share/locale/ms/LC_MESSAGES/gnome-shell.mo
+share/locale/nb/LC_MESSAGES/gnome-shell.mo
+share/locale/ne/LC_MESSAGES/gnome-shell.mo
+share/locale/nl/LC_MESSAGES/gnome-shell.mo
+share/locale/nn/LC_MESSAGES/gnome-shell.mo
+share/locale/oc/LC_MESSAGES/gnome-shell.mo
+share/locale/or/LC_MESSAGES/gnome-shell.mo
+share/locale/os/LC_MESSAGES/gnome-shell.mo
+share/locale/pa/LC_MESSAGES/gnome-shell.mo
+share/locale/pl/LC_MESSAGES/gnome-shell.mo
+share/locale/pt/LC_MESSAGES/gnome-shell.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-shell.mo
+share/locale/ro/LC_MESSAGES/gnome-shell.mo
+share/locale/ru/LC_MESSAGES/gnome-shell.mo
+share/locale/si/LC_MESSAGES/gnome-shell.mo
+share/locale/sk/LC_MESSAGES/gnome-shell.mo
+share/locale/sl/LC_MESSAGES/gnome-shell.mo
+share/locale/sr/LC_MESSAGES/gnome-shell.mo
+share/locale/sr@latin/LC_MESSAGES/gnome-shell.mo
+share/locale/sv/LC_MESSAGES/gnome-shell.mo
+share/locale/ta/LC_MESSAGES/gnome-shell.mo
+share/locale/te/LC_MESSAGES/gnome-shell.mo
+share/locale/tg/LC_MESSAGES/gnome-shell.mo
+share/locale/th/LC_MESSAGES/gnome-shell.mo
+share/locale/tr/LC_MESSAGES/gnome-shell.mo
+share/locale/ug/LC_MESSAGES/gnome-shell.mo
+share/locale/uk/LC_MESSAGES/gnome-shell.mo
+share/locale/uz@cyrillic/LC_MESSAGES/gnome-shell.mo
+share/locale/vi/LC_MESSAGES/gnome-shell.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-shell.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-shell.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-shell.mo
+share/xdg-desktop-portal/portals/gnome-shell.portal
diff --git a/gnome-shell/distinfo b/gnome-shell/distinfo
new file mode 100644
index 0000000000..505e3710f0
--- /dev/null
+++ b/gnome-shell/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.8 2024/05/09 20:27:46 wiz Exp $
+
+BLAKE2s (gnome-shell-44.0.tar.xz) = c17f183ac27e5078c478d2d52c679bc225267c840813967127f0ff3d99aecc91
+SHA512 (gnome-shell-44.0.tar.xz) = 5e19e3e3b06be6b06699f49501dee85fd21e5f4f394902732c505c24baa16a719848e31034d98718deb06cb004d3e8daf886a086412c2b67614eafecd1676bde
+Size (gnome-shell-44.0.tar.xz) = 1992764 bytes
+SHA1 (patch-config.h.meson) = 204829c331612de97f5c8d60b7788c96d60cc010
+SHA1 (patch-js_dbusServices_screencast_screencastService.js) = adc9cc45f496c98e0ff5241701dda47ff9df2797
+SHA1 (patch-src_main.c) = d6d109ff7aee58a437aa9389403366e4be241d40
+SHA1 (patch-src_shell-util.c) = 92fbc695162f7fe735b92eb344215cf0c69e65c6
diff --git a/gnome-shell/files/org.freedesktop.ConsoleKit.Manager.xml b/gnome-shell/files/org.freedesktop.ConsoleKit.Manager.xml
new file mode 100644
index 0000000000..bf6a73cf3c
--- /dev/null
+++ b/gnome-shell/files/org.freedesktop.ConsoleKit.Manager.xml
@@ -0,0 +1,25 @@
+<!-- $OpenBSD: org.freedesktop.ConsoleKit.Manager.xml,v 1.1 2019/01/17 19:00:46 ajacoutot Exp $ -->
+
+<node>
+ <interface name="org.freedesktop.ConsoleKit.Manager">
+ <method name="Suspend">
+ <arg type="b" direction="in"/>
+ </method>
+ <method name="CanSuspend">
+ <arg type="s" direction="out"/>
+ </method>
+ <method name="Inhibit">
+ <arg type="s" direction="in"/>
+ <arg type="s" direction="in"/>
+ <arg type="s" direction="in"/>
+ <arg type="s" direction="in"/>
+ <arg type="h" direction="out"/>
+ </method>
+ <signal name="PrepareForSleep">
+ <arg type="b" direction="out"/>
+ </signal>
+ <method name="GetCurrentSession">
+ <arg type="o" direction="out"/>
+ </method>
+ </interface>
+</node>
diff --git a/gnome-shell/files/org.freedesktop.ConsoleKit.Session.xml b/gnome-shell/files/org.freedesktop.ConsoleKit.Session.xml
new file mode 100644
index 0000000000..ffa38faf13
--- /dev/null
+++ b/gnome-shell/files/org.freedesktop.ConsoleKit.Session.xml
@@ -0,0 +1,11 @@
+<!-- $OpenBSD: org.freedesktop.ConsoleKit.Session.xml,v 1.1 2019/01/17 19:00:46 ajacoutot Exp $ -->
+
+<node>
+ <interface name="org.freedesktop.ConsoleKit.Session">
+ <signal name="Lock" />
+ <signal name="Unlock" />
+ <method name="SetLockedHint">
+ <arg type="b" direction="in"/>
+ </method>
+ </interface>
+</node>
diff --git a/gnome-shell/patches/patch-config.h.meson b/gnome-shell/patches/patch-config.h.meson
new file mode 100644
index 0000000000..059216ec9b
--- /dev/null
+++ b/gnome-shell/patches/patch-config.h.meson
@@ -0,0 +1,13 @@
+$NetBSD: patch-config.h.meson,v 1.1 2023/07/06 21:45:25 wiz Exp $
+
+Fix build with polkit-121.
+
+--- config.h.meson.orig 2021-06-10 11:33:01.518931600 +0000
++++ config.h.meson
+@@ -30,3 +30,6 @@
+
+ /* Define if fdwalk is available in libc */
+ #mesondefine HAVE_FDWALK
++
++/* Define if polkit defines autocleanup functions */
++#mesondefine HAVE_POLKIT_AUTOCLEANUP
diff --git a/gnome-shell/patches/patch-js_dbusServices_screencast_screencastService.js b/gnome-shell/patches/patch-js_dbusServices_screencast_screencastService.js
new file mode 100644
index 0000000000..51ad58168a
--- /dev/null
+++ b/gnome-shell/patches/patch-js_dbusServices_screencast_screencastService.js
@@ -0,0 +1,16 @@
+$NetBSD: patch-js_dbusServices_screencast_screencastService.js,v 1.1 2024/05/09 20:27:46 wiz Exp $
+
+Fix compatibility with glib2 2.80.1.
+https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303
+
+--- js/dbusServices/screencast/screencastService.js.orig 2021-06-10 11:33:01.564930400 +0000
++++ js/dbusServices/screencast/screencastService.js
+@@ -161,7 +161,7 @@ var Recorder = class {
+ });
+
+ this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
+- 'org.gnome.ScreenCast.Stream',
++ 'org.gnome.Mutter.ScreenCast',
+ streamPath);
+
+ this._streamProxy.connectSignal('PipeWireStreamAdded',
diff --git a/gnome-shell/patches/patch-src_main.c b/gnome-shell/patches/patch-src_main.c
new file mode 100644
index 0000000000..7d0059a675
--- /dev/null
+++ b/gnome-shell/patches/patch-src_main.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_main.c,v 1.1 2021/06/03 15:11:05 cirnatdan Exp $
+
+Disable gjs stack dumps?
+
+--- src/main.c.orig 2021-03-20 12:17:01.570519000 +0000
++++ src/main.c
+@@ -352,6 +352,7 @@ dump_gjs_stack_on_signal_handler (int si
+ static void
+ dump_gjs_stack_on_signal (int signo)
+ {
++#if 0
+ struct sigaction sa = {
+ .sa_flags = SA_RESETHAND | SA_NODEFER,
+ .sa_handler = dump_gjs_stack_on_signal_handler,
+@@ -361,6 +362,7 @@ dump_gjs_stack_on_signal (int signo)
+
+ sigaction (signo, &sa, NULL);
+ _tracked_signals[signo] = TRUE;
++#endif
+ }
+
+ static gboolean
diff --git a/gnome-shell/patches/patch-src_shell-util.c b/gnome-shell/patches/patch-src_shell-util.c
new file mode 100644
index 0000000000..2f80f55673
--- /dev/null
+++ b/gnome-shell/patches/patch-src_shell-util.c
@@ -0,0 +1,29 @@
+$NetBSD: patch-src_shell-util.c,v 1.1 2020/11/10 12:06:59 nia Exp $
+
+Quick ugly fix, breaks time string translation/format
+
+--- src/shell-util.c.orig 2020-10-05 18:36:07.971836800 +0000
++++ src/shell-util.c
+@@ -154,18 +154,22 @@ shell_util_translate_time_string (const
+ locale_t old_loc;
+ locale_t loc = (locale_t) 0;
+
++#ifndef __NetBSD__
+ if (locale)
+ loc = newlocale (LC_MESSAGES_MASK, locale, (locale_t) 0);
+
+ old_loc = uselocale (loc);
++#endif
+
+ sep = strchr (str, '\004');
+ res = g_dpgettext (NULL, str, sep ? sep - str + 1 : 0);
+
++#ifndef __NetBSD__
+ uselocale (old_loc);
+
+ if (loc != (locale_t) 0)
+ freelocale (loc);
++#endif
+
+ return res;
+ }
Home |
Main Index |
Thread Index |
Old Index