pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/gnome-shell



Module Name:    pkgsrc
Committed By:   cirnatdan
Date:           Thu Jun  3 15:11:05 UTC 2021

Modified Files:
        pkgsrc/x11/gnome-shell: Makefile PLIST distinfo
Added Files:
        pkgsrc/x11/gnome-shell/patches: patch-js_ui_main.js
            patch-js_ui_windowManager.js patch-src_main.c

Log Message:
gnome-shell: Update x11/gnome-shell to 40.0

40.0
====

Translators:
  Zander Brown [en_GB], Dušan Kazik [sk]

40.rc
=====
* Define default app grid arrangement [Allan; !1700]
* Fix shading behind system modal dialogs [Florian; !1712]
* Only show logout-inhibiting apps in end-session dialog [Michael; !1424]
* Fix minimap previews on multi-monitor systems [Florian; !1721]
* Drop strict extension version match for unstable releases [Florian; !1719]
* Fix missing app menu after overview gesture [Florian; !1726]
* Improve app folder appearance [Jakub; !1714]
* Fix window previews becoming undraggable after workspace switch
  [Sebastian; !1717]
* Fix dragging icons to a different page in RTL locales [Carlos; !1734]
* Support double super for opening app grid [Florian; !1736]
* Improve workspace handling on secondary monitors [Florian; !1735]
* Improve interaction when dragging between app grid pages [Carlos; !1630]
* Fix launching on requested workspace on wayland [Florian; !1316]
* Make wifi strength indicator consistent with icons in Settings [Remi; !1432]
* Start session in overview [Georges; !1678]
* Tweak window preview layout in overview [Jonas D.; !1702, !1737]
* Improve overview performance [Jonas D.; !1713, !1733, !1743, !1755]
* Fix new workspaces being invisible in minimap [Florian; !1716]
* Fix glitch after dragging window preview from second monitor [Ivan; !1727]
* Do not switch workspaces when scrolling during super-tab [Florian; !1746]
* Make OSK shifting up windows more reliable [Jonas D.; !1728, !1760]
* Fix swipe gesture glitches [Alexander; !1731]
* Fix mis-scaled preview icons in window picker [Sebastian; !1751]
* Fix unintended app grid changes during icon DND in dash [Sebastian; !1767]
* Fix missing X11 fallback icons [Florian; !1761]
* Fixed crashes [Sebastian; !1718]
* Misc. bug fixes and cleanups [Jonas Å., Sebastian, Abderrahim, Florian,
  Alexander, Felix, Ivan, Jonas D., Jakub, Daniel; !1710, !1707, !1720, !1722,
  !1724, !1732, !1246, !1738, !1740] !1742, !1741, !1745, !1748, !1749, !1765,
  !1766, !1757, !1758]

Contributors:
  Jonas Ådahl, arushsharma24, Allan Day, Felix Divo, Jonas Dreßler,
  Carlos Garnacho, Sebastian Keller, Abderrahim Kitouni, Alexander Mikhaylenko,
  Ivan Molodetskikh, Florian Müllner, Georges Basile Stavracas Neto,
  Remi Salmon, Jakub Steiner, Michael Terry, Daniel van Vugt

Translators:
  Fran Dieguez [gl], Balázs Meskó [hu], Baurzhan Muftakhidinov [kk],
  Goran Vidović [hr], Christian Kirbach [de], Марко Костић [sr],
  Asier Sarasua Garmendia [eu], Guillaume Bernard [fr], Tim Sabsch [de],
  Philipp Kiemle [de], Danial Behzadi [fa], Piotr Drąg [pl],
  Rūdolfs Mazurs [lv], Daniel Mustieles [es], Marek Černocký [cs],
  Fabio Tomat [fur], Changwoo Ryu [ko], Kjartan Maraas [nb], A S Alam [pa],
  Milo Casagrande [it]

40.beta
=======
* Overview redesign
 - Move dash to the bottom [Georges, Abderrahim, Jakub; !1559]
 - Do not duplicate dash icons in app grid [Florian; !1580]
 - Separate favorites from running apps in dash [Florian; !1606, !1610, !1659]
 - Change to a horizontal workspace layout [Georges; !1593, !1603]
 - Move background to workspaces [Georges, Florian, Jakub; !1599]
 - Overhaul window preview style [Florian, Jakub; !1605, !1654, !1657]
 - Rework workspace switching animation [Alexander; !1326]
 - Show workspace side-by-side [Georges; !1613]
 - Allow switching workspaces with super+scroll on wayland [Florian; !1612]
 - Allow swiping through more than one workspace at a time [Alexander; !1647]
 - Extend active dash area to the screen edge [Florian; !1660]
 - Change overall overview layout [Georges, Florian; !1624]
 - Refine workspace activation in overview [Georges; !1645]
 - Add vertical swipe gesture to shift through overview [Carlos; !1643]
 - Add shortcuts for shifting through overview [Florian; !1695]
 - Round background corners in overview [Jonas D.; !1651, !1697]
 - Hide workspace minimap when using less than two workspaces [Florian; !1696]
 - Scale down backgrounds in window picker [Georges; !1691]
 - Minor improvements and bug fixes [Florian, Abderrahim, Georges, Sebastian,
   Jakub, Pascal, Jonas D.; !1594, !1609, !1608, !1620, !1629, !1625, !1634,
   !1640, #3669, !1636, !1655, !1656, !1665, !1667, !1638, !1680, !1682, !1684,
   !1681, !1687, !1693, !1694, !1692]
* Fix glitch in app folder icons on smaller displays [Sebastian; !1581]
* Remove arrows from top bar menus [Doan, Florian, Razze; !1583, !1618, !1615]
* Fix stuck grab after failed area screenshots [Sebastian; !1600]
* Prefer image-data hint over app-icon in notifications [Guilherme; !1616]
* Fix drag actor position when animations are turned off [Sebastian; !1627]
* Improve spacing in MPRIS notifications with small text [Sebastian; !1632]
* Add Welcome dialog after major updates [Bastien; !1619]
* Do not save empty commands in run dialog history [Lucas; !1442, !1653]
* Consider device type for fingerprint hint on login screen [Razze; !1572]
* Add tooltip to Extensions app to view unellipsized description [Leleat; !1663]
* Fix stuck polkit dialog when using non-password auth [Florian; !1662]
* Provide screenshot feedback (flash, shutter) before writing file to disk
  [Brion, Jonas; !1658]
* Improve Thai layout in on-screen keyboard [Panawat; !1427]
* Improve error handling for fingerprint auth [Marco; !1652]
* Handle a large number of window previews more gracefully [Sebastian; !1685]
* Follow swipe gesture when bringing up on-screen keyboard [Carlos; !1668]
* Disable out-of-date extensions by default (again) [Evan; !1706]
* Fixed crashes [Jonas D., Carlos; !1673, !1672]
* Misc. bug fixes and cleanups [Florian, Sebastian, Razze, Georges, Daniel,
  Robert, Jonas D., Jonas Å., Marco, Bastien, TerraAr, Carlos; !1575, !1579,
  !1577, !1578, !1585, !1587, !1588, !1590, !1591, !1592, !1595, !1596, !1597,
  !1598, !1582, !1589, !1617, !1611, !1637, !1635, !1641, !1646, !1546, !1648,
  !1650, !1649, !1644, !1661, !1622, !1075, !1674, !1556, !1686, !1683, !1688,
  !1699, !1698, !1701, !1709]

Contributors:
  Jonas Ådahl, Jonas Dreßler, Carlos Garnacho, Sebastian Keller,
  Abderrahim Kitouni, Leleat, Robert Mader, Alexander Mikhaylenko,
  Florian Müllner, Georges Basile Stavracas Neto, Bastien Nocera, Pascal Nowack,
  Razze, Guilherme Silva, Jakub Steiner, TerraAr, Marco Trevisan (Treviño),
  Brion Vibber, Doan Nam Long Vu, Daniel van Vugt, Evan Welsh,
  Lucas Werkmeister, Panawat Wong-kleaw

Translators:
  Balázs Úr [hu], Danial Behzadi [fa], Rafael Fontenelle [pt_BR], A S Alam [pa],
  Anders Jonsson [sv], Yuri Chornoivan [uk], Marek Černocký [cs],
  Hugo Carvalho [pt], Fran Dieguez [gl], Daniel Șerbănescu [ro],
  Florentina Mușat [ro], Daniel Mustieles [es], Jordi Mas [ca],
  Matej Urbančič [sl], Kukuh Syafaat [id], Bruno Lopes da Silva [pt_BR],
  Аляксей [be], Balázs Meskó [hu], Марко Костић [sr], Enrico Nicoletto [pt_BR],
  Emin Tufan Çetin [tr], Jiri Grönroos [fi], Aurimas Černius [lt]

40.alpha.1.1
============
* Adapt to settings moving to gsettings-desktop-schemas [Florian; !1573]
* Misc. bug fixes [Georges, Florian; !1571, !1574]

Contributors:
  Florian Müllner, Georges Basile Stavracas Neto

Translators:
  Марко Костић [sr], Marek Černocký [cs], Fabio Tomat [fur]

40.alpha.1
==========
* Restore app picker fade during swipes [Georges, Florian; !1519, !1569]
* Sort extensions in Looking Glass alphabetically [Florijan; !1516]
* Fix screenshots of unredirected fullscreen windows on X11
  [Jonas Å., LuK1337; !1534, !1549]
* Use GPU to render (most) shadows [Georges; !1539]
* Refine avatar styling [Joonas; !1490]
* Fix storing VPN secrets [Sebastian; !1535]
* Don't depend on asciidoc and sassc when building from tarball
  [Florian; !1553, !1555]
* Use horizontal pages in app picker [Georges; !1554]
* Avoid costly icon theme lookups unless when needed [Ivan; !1558]
* Properly expose locked state to logind [Florian; !1561]
* Use 3 fingers for system swipe gestures [Georges; !1562]
* Fix glitches in overview transitions [Jonas Å., Ivan; !1545, !1550]
* Improve login screen accessibility [Mike; !1567]
* Overhaul top bar styling [Jonas D.; !1397]
* Allow changing input volume by scrolling over microphone icon [Razze; !1566]
* Port Extensions app and portal to GTK4 [Florian; !1495]
* Fixed crashes [Jonas Å.; !1527]
* Misc. bug fixes and cleanups [Georges, Florian, Tom, Hans, Jonas D., Ivan,
  Sebastian, Daniel; !1518, !1521, !1523, !1525, !1520, !1526, !1472, !1339,
  !1529, !1531, !1532, !1533, !1528, !1350] !1542, !1537, !1548, !1551, !1557,
  !1543, !1560, !1544, !1565]

Contributors:
  Jonas Ådahl, Jonas Dreßler, Mike Gerow, Florijan Hamzic, Joonas Henriksson,
  Sebastian Keller, Tom Levy, LuK1337, Ivan Molodetskikh, Florian Müllner,
  Georges Basile Stavracas Neto, Hans Ulrich Niedermann, Razze, Daniel van Vugt

Translators:
  Florentina Mușat [ro], Fabio Tomat [fur], Hugo Carvalho [pt],
  Jordi Mas i Hernandez [ca], Philipp Kiemle [de], Fran Dieguez [gl],
  Jordi Mas [ca], Kukuh Syafaat [id], Kjartan Maraas [nb],
  Daniel Șerbănescu [ro], Matej Urbančič [sl]

40.alpha
========
* Handle @content properties in ease() functions [Andre; !1461]
* Fix screencast indicator on Xorg [Jonas Å.; !1466]
* Expand ellipsized app picker labels on hover [Georges; !1477, !1496]
* Fix inline-replies in chat notifications [Florian; #3226]
* Refine MPRIS notification layout [Harry; !1480]
* Improve do-not-disturb support [Florian; #2873, !1511]
* Fix mobile broadband support [Popax21; #3203]
* Add extension filtering in Extensions app [Florian; #3382]
* Improve app picker spacing on larger resolutions [Georges; !1510]
* Plugged leaks [Ray; !1460, !1459]
* Fixed crashes [Daniel, Florian; !1453, #3258, !1507]
* Misc. bug fixes and cleanups [Florian, Georges, Carlos, Joonas, Jan,
  Jonas Å., Robert, Jonas D., Ian, Daniel, Sebastian, Jordan; !1456, !1436,
  !1405, !1421, #3252, !1464, !1469, !1465, !1473, !1475, #3307, !1479,
  !1482, !1470, !1486, #3335, #3342, #3388, !1497, !1498, !1491, !1501,
  !1492, !1489, !1502, !1505, !1504, !1506, !1503, !1483, !1508, !1481,
  !1509, !1512, !1417, !1517]

Contributors:
  Jonas Dreßler, Carlos Garnacho, Joonas Henriksson, Sebastian Keller,
  Robert Mader, Andre Moreira Magalhaes, Daniel García Moreno, Harry Míchal,
  Florian Müllner, Georges Basile Stavracas Neto, Jordan Petridis, Popax21,
  Ian Douglas Scott, Ray Strode, Jan Tojnar, Olav Vitters, Daniel van Vugt,
  Jonas Ådahl

Translators:
  Juliano de Souza Camargo [pt], Fabio Tomat [fur], Akarshan Biswas [bn_IN],
  Carmen Bianca BAKKER [eo], Daniel Mustieles [es],
  Asier Sarasua Garmendia [eu], Ask Hjorth Larsen [da], Yuri Chornoivan [uk],
  Anders Jonsson [sv], Kjartan Maraas [nb]


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/gnome-shell/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/gnome-shell/PLIST \
    pkgsrc/x11/gnome-shell/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/gnome-shell/patches/patch-js_ui_main.js \
    pkgsrc/x11/gnome-shell/patches/patch-js_ui_windowManager.js \
    pkgsrc/x11/gnome-shell/patches/patch-src_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/gnome-shell/Makefile
diff -u pkgsrc/x11/gnome-shell/Makefile:1.10 pkgsrc/x11/gnome-shell/Makefile:1.11
--- pkgsrc/x11/gnome-shell/Makefile:1.10        Mon May 24 19:55:59 2021
+++ pkgsrc/x11/gnome-shell/Makefile     Thu Jun  3 15:11:05 2021
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2021/05/24 19:55:59 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2021/06/03 15:11:05 cirnatdan Exp $
 
-DISTNAME=      gnome-shell-3.38.1
-PKGREVISION=   7
+DISTNAME=      gnome-shell-40.0
 CATEGORIES=    x11 gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=    dan%alt.md@localhost
+MAINTAINER=    cirnatdan%NetBSD.org@localhost
 HOMEPAGE=      https://wiki.gnome.org/Projects/GnomeShell
 COMMENT=       Next generation GNOME shell
 LICENSE=       gnu-gpl-v2
@@ -17,6 +16,7 @@ MESON_ARGS+=  -Dnetworkmanager=false
 MESON_ARGS+=   -Dsystemd=false
 MESON_ARGS+=   -Dextensions_app=false
 MESON_ARGS+=   -Dextensions_tool=false
+MESON_ARGS+=   -Dman=true
 
 TOOL_DEPENDS+= sassc>=3.6:../../www/sassc
 TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
@@ -43,6 +43,9 @@ 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-atk/buildlink3.mk"

Index: pkgsrc/x11/gnome-shell/PLIST
diff -u pkgsrc/x11/gnome-shell/PLIST:1.1 pkgsrc/x11/gnome-shell/PLIST:1.2
--- pkgsrc/x11/gnome-shell/PLIST:1.1    Tue Nov 10 12:06:59 2020
+++ pkgsrc/x11/gnome-shell/PLIST        Thu Jun  3 15:11:05 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/11/10 12:06:59 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/06/03 15:11:05 cirnatdan Exp $
 bin/gnome-shell
 bin/gnome-shell-extension-prefs
 bin/gnome-shell-perf-tool
@@ -27,6 +27,7 @@ share/dbus-1/interfaces/org.gnome.Shell.
 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
@@ -42,6 +43,8 @@ share/gnome-shell/gir-1.0/Shew-0.gir
 share/gnome-shell/gnome-shell-dbus-interfaces.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
Index: pkgsrc/x11/gnome-shell/distinfo
diff -u pkgsrc/x11/gnome-shell/distinfo:1.1 pkgsrc/x11/gnome-shell/distinfo:1.2
--- pkgsrc/x11/gnome-shell/distinfo:1.1 Tue Nov 10 12:06:59 2020
+++ pkgsrc/x11/gnome-shell/distinfo     Thu Jun  3 15:11:05 2021
@@ -1,11 +1,14 @@
-$NetBSD: distinfo,v 1.1 2020/11/10 12:06:59 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/06/03 15:11:05 cirnatdan Exp $
 
-SHA1 (gnome-shell-3.38.1.tar.xz) = 29d70150d37c35abb40e78c1deaedd669dfa9431
-RMD160 (gnome-shell-3.38.1.tar.xz) = e963d1570853308827bfa5d99d425ad0aa63b636
-SHA512 (gnome-shell-3.38.1.tar.xz) = 7ab580f892c4b4dac2fc8625343dfab1bf7a11e148dc01e6e805a5b1ac1d4cb17943b9a3058ec69fc086c270d76ef8073dca494991a5da1dcfa52b42dcc03f01
-Size (gnome-shell-3.38.1.tar.xz) = 1812860 bytes
+SHA1 (gnome-shell-40.0.tar.xz) = 85e3e1108c0f2cf95be52268ac47c449e06ad0b3
+RMD160 (gnome-shell-40.0.tar.xz) = 387f3946571df37897f491698e2252a8ea30117c
+SHA512 (gnome-shell-40.0.tar.xz) = fc4ca3fbd3dafd4a81f97a765e53b74fa4902018721e25a767c0d353d127b0cdc69c64171188272e3f5b48f11d6ad52064cc237e35210f5e09dfcd763ceb00c4
+Size (gnome-shell-40.0.tar.xz) = 1863432 bytes
 SHA1 (patch-data_gnome-shell-dbus-interfaces_gresource_xml) = de2bec04695594c5b1e4b0ecce3284bfd2edfab7
 SHA1 (patch-js_misc_loginManager_js) = d37d17dd8a121d5ef5497fccafea954cc797286c
 SHA1 (patch-js_ui_endSessionDialog.js) = 6971df6ee8b65fa827131d92404f6ae817acd84c
+SHA1 (patch-js_ui_main.js) = ea9940d1308a2f3c5405ff9307ac4d8e18ffac0b
+SHA1 (patch-js_ui_windowManager.js) = 7c3309d90670853430d4637b75edd3e480c5a93a
 SHA1 (patch-meson.build) = e6d2e514dcc64c744e308b08190d9e2e20190ac7
+SHA1 (patch-src_main.c) = d6d109ff7aee58a437aa9389403366e4be241d40
 SHA1 (patch-src_shell-util.c) = 92fbc695162f7fe735b92eb344215cf0c69e65c6

Added files:

Index: pkgsrc/x11/gnome-shell/patches/patch-js_ui_main.js
diff -u /dev/null pkgsrc/x11/gnome-shell/patches/patch-js_ui_main.js:1.1
--- /dev/null   Thu Jun  3 15:11:05 2021
+++ pkgsrc/x11/gnome-shell/patches/patch-js_ui_main.js  Thu Jun  3 15:11:05 2021
@@ -0,0 +1,38 @@
+$NetBSD: patch-js_ui_main.js,v 1.1 2021/06/03 15:11:05 cirnatdan Exp $
+
+Remove usages of unsupported functions:
+- Gio.Credentials.get_unix_user
+- file.touch_async
+
+--- js/ui/main.js.orig 2021-03-20 12:17:01.417523000 +0000
++++ js/ui/main.js
+@@ -289,19 +289,11 @@ function _initializeUI() {
+             });
+         }
+ 
+-        let credentials = new Gio.Credentials();
+-        if (credentials.get_unix_user() === 0) {
+-            notify(_('Logged in as a privileged user'),
+-                   _('Running a session as a privileged user should be avoided for security reasons. If possible, you should log in as a normal user.'));
+-        } else if (sessionMode.currentMode !== 'gdm' &&
++        if (sessionMode.currentMode !== 'gdm' &&
+                    sessionMode.currentMode !== 'initial-setup') {
+             _handleShowWelcomeScreen();
+         }
+ 
+-        if (sessionMode.currentMode !== 'gdm' &&
+-            sessionMode.currentMode !== 'initial-setup')
+-            _handleLockScreenWarning();
+-
+         LoginManager.registerSessionWithGDM();
+ 
+         let perfModuleName = GLib.getenv("SHELL_PERF_MODULE");
+@@ -324,7 +316,7 @@ function _handleShowWelcomeScreen() {
+ async function _handleLockScreenWarning() {
+     const path = '%s/lock-warning-shown'.format(global.userdatadir);
+     const file = Gio.File.new_for_path(path);
+-
++return;
+     const hasLockScreen = screenShield !== null;
+     if (hasLockScreen) {
+         try {
Index: pkgsrc/x11/gnome-shell/patches/patch-js_ui_windowManager.js
diff -u /dev/null pkgsrc/x11/gnome-shell/patches/patch-js_ui_windowManager.js:1.1
--- /dev/null   Thu Jun  3 15:11:05 2021
+++ pkgsrc/x11/gnome-shell/patches/patch-js_ui_windowManager.js Thu Jun  3 15:11:05 2021
@@ -0,0 +1,28 @@
+$NetBSD: patch-js_ui_windowManager.js,v 1.1 2021/06/03 15:11:05 cirnatdan Exp $
+
+Remove systemd code
+
+--- js/ui/windowManager.js.orig        2021-03-20 12:17:01.442522300 +0000
++++ js/ui/windowManager.js
+@@ -974,8 +974,8 @@ var WindowManager = class {
+ 
+     async _startX11Services(task, cancellable) {
+         try {
+-            await Shell.util_start_systemd_unit(
+-                'gnome-session-x11-services-ready.target', 'fail', cancellable);
++            //await Shell.util_start_systemd_unit(
++            //    'gnome-session-x11-services-ready.target', 'fail', cancellable);
+         } catch (e) {
+             // Ignore NOT_SUPPORTED error, which indicates we are not systemd
+             // managed and gnome-session will have taken care of everything
+@@ -990,8 +990,8 @@ var WindowManager = class {
+ 
+     async _stopX11Services(cancellable) {
+         try {
+-            await Shell.util_stop_systemd_unit(
+-                'gnome-session-x11-services.target', 'fail', cancellable);
++            //await Shell.util_stop_systemd_unit(
++            //    'gnome-session-x11-services.target', 'fail', cancellable);
+         } catch (e) {
+             // Ignore NOT_SUPPORTED error, which indicates we are not systemd
+             // managed and gnome-session will have taken care of everything
Index: pkgsrc/x11/gnome-shell/patches/patch-src_main.c
diff -u /dev/null pkgsrc/x11/gnome-shell/patches/patch-src_main.c:1.1
--- /dev/null   Thu Jun  3 15:11:05 2021
+++ pkgsrc/x11/gnome-shell/patches/patch-src_main.c     Thu Jun  3 15:11:05 2021
@@ -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



Home | Main Index | Thread Index | Old Index