Tue Nov 10 02:15:01 2020 UTC ()
gnome-session: Import version 3.38.0
Based on work by Dan Cîrnaț and myself.
gnome-session contains the GNOME session manager, as well as a
configuration program to choose applications starting on login.
(nia)
diff -r1.910 -r1.911 pkgsrc/x11/Makefile
diff -r0 -r1.5 pkgsrc/x11/gnome-session/DESCR
diff -r0 -r1.196 pkgsrc/x11/gnome-session/Makefile
diff -r0 -r1.35 pkgsrc/x11/gnome-session/PLIST
diff -r0 -r1.51 pkgsrc/x11/gnome-session/distinfo
diff -r0 -r1.1 pkgsrc/x11/gnome-session/patches/patch-meson__options.txt
diff -r0 -r1.1 pkgsrc/x11/gnome-session/patches/patch-tools_meson.build
--- pkgsrc/x11/Makefile 2020/11/03 11:44:58 1.910
+++ pkgsrc/x11/Makefile 2020/11/10 02:15:00 1.911
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.910 2020/11/03 11:44:58 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.911 2020/11/10 02:15:00 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Packages to support the X window system | | 4 | COMMENT= Packages to support the X window system |
5 | | | 5 | |
6 | SUBDIR+= 9term | | 6 | SUBDIR+= 9term |
7 | SUBDIR+= XaoS | | 7 | SUBDIR+= XaoS |
8 | SUBDIR+= Xaw-Xpm | | 8 | SUBDIR+= Xaw-Xpm |
9 | SUBDIR+= Xbae | | 9 | SUBDIR+= Xbae |
10 | SUBDIR+= Xfixes | | 10 | SUBDIR+= Xfixes |
11 | SUBDIR+= XmHTML | | 11 | SUBDIR+= XmHTML |
12 | SUBDIR+= alacritty | | 12 | SUBDIR+= alacritty |
13 | SUBDIR+= antiright | | 13 | SUBDIR+= antiright |
14 | SUBDIR+= appmenu-qt | | 14 | SUBDIR+= appmenu-qt |
| @@ -57,26 +57,27 @@ SUBDIR+= filerunner | | | @@ -57,26 +57,27 @@ SUBDIR+= filerunner |
57 | SUBDIR+= fixesproto4 | | 57 | SUBDIR+= fixesproto4 |
58 | SUBDIR+= fltk | | 58 | SUBDIR+= fltk |
59 | SUBDIR+= fltk13 | | 59 | SUBDIR+= fltk13 |
60 | SUBDIR+= fox | | 60 | SUBDIR+= fox |
61 | SUBDIR+= frameworkintegration | | 61 | SUBDIR+= frameworkintegration |
62 | SUBDIR+= fspanel | | 62 | SUBDIR+= fspanel |
63 | SUBDIR+= ftmenu | | 63 | SUBDIR+= ftmenu |
64 | SUBDIR+= fvwm-wharf | | 64 | SUBDIR+= fvwm-wharf |
65 | SUBDIR+= gcolor2 | | 65 | SUBDIR+= gcolor2 |
66 | SUBDIR+= gdm | | 66 | SUBDIR+= gdm |
67 | SUBDIR+= ggiterm | | 67 | SUBDIR+= ggiterm |
68 | SUBDIR+= gnome-desktop | | 68 | SUBDIR+= gnome-desktop |
69 | SUBDIR+= gnome-desktop3 | | 69 | SUBDIR+= gnome-desktop3 |
| | | 70 | SUBDIR+= gnome-session |
70 | SUBDIR+= gnome-terminal | | 71 | SUBDIR+= gnome-terminal |
71 | SUBDIR+= gnome-themes | | 72 | SUBDIR+= gnome-themes |
72 | SUBDIR+= gnome-themes-extras | | 73 | SUBDIR+= gnome-themes-extras |
73 | SUBDIR+= gnustep-back | | 74 | SUBDIR+= gnustep-back |
74 | SUBDIR+= gnustep-gui | | 75 | SUBDIR+= gnustep-gui |
75 | SUBDIR+= gnustep-preferences | | 76 | SUBDIR+= gnustep-preferences |
76 | SUBDIR+= gromit | | 77 | SUBDIR+= gromit |
77 | SUBDIR+= gselt | | 78 | SUBDIR+= gselt |
78 | SUBDIR+= gst-plugins0.10-x11 | | 79 | SUBDIR+= gst-plugins0.10-x11 |
79 | SUBDIR+= gst-plugins1-x11 | | 80 | SUBDIR+= gst-plugins1-x11 |
80 | SUBDIR+= gtk | | 81 | SUBDIR+= gtk |
81 | SUBDIR+= gtk+extra | | 82 | SUBDIR+= gtk+extra |
82 | SUBDIR+= gtk-mac-integration | | 83 | SUBDIR+= gtk-mac-integration |
gnome-session contains the GNOME session manager, as well as a
configuration program to choose applications starting on login.
# $NetBSD: Makefile,v 1.196 2020/11/10 02:15:01 nia Exp $
DISTNAME= gnome-session-3.38.0
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://gitlab.gnome.org/GNOME/gnome-session
COMMENT= GNOME3 session management utilities
LICENSE= gnu-gpl-v2
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
USE_TOOLS+= pkg-config msgfmt xgettext
.include "../../graphics/MesaLib/features.mk"
PLIST_VARS+= gles2
.if ${MESALIB_SUPPORTS_GLESv2} == "no"
MESON_ARGS+= -Dgles2=false
.else
PLIST.gles2= yes
.endif
MESON_ARGS+= -Dsystemd=false
MESON_ARGS+= -Dsystemd_session=disable
MESON_ARGS+= -Dsystemd_journal=false
MESON_ARGS+= -Dconsolekit=true
.include "../../devel/meson/build.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
.include "../../devel/glib2/schemas.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/libepoxy/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../security/policykit/buildlink3.mk"
.include "../../security/policykit-gnome/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.76
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
.include "../../sysutils/gnome-settings-daemon/buildlink3.mk"
.include "../../textproc/json-glib/buildlink3.mk"
.include "../../x11/gnome-desktop3/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXau/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.35 2020/11/10 02:15:01 nia Exp $
bin/gnome-session
bin/gnome-session-custom-session
bin/gnome-session-inhibit
bin/gnome-session-quit
libexec/gnome-session-binary
libexec/gnome-session-check-accelerated
libexec/gnome-session-check-accelerated-gl-helper
${PLIST.gles2}libexec/gnome-session-check-accelerated-gles-helper
libexec/gnome-session-failed
man/man1/gnome-session-inhibit.1
man/man1/gnome-session-quit.1
man/man1/gnome-session.1
share/GConf/gsettings/gnome-session.convert
share/doc/gnome-session/dbus/gnome-session.html
share/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
share/gnome-session/hardware-compatibility
share/gnome-session/sessions/gnome-dummy.session
share/gnome-session/sessions/gnome.session
share/locale/af/LC_MESSAGES/gnome-session-3.0.mo
share/locale/am/LC_MESSAGES/gnome-session-3.0.mo
share/locale/an/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ar/LC_MESSAGES/gnome-session-3.0.mo
share/locale/as/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ast/LC_MESSAGES/gnome-session-3.0.mo
share/locale/az/LC_MESSAGES/gnome-session-3.0.mo
share/locale/be/LC_MESSAGES/gnome-session-3.0.mo
share/locale/be@latin/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bg/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bn_IN/LC_MESSAGES/gnome-session-3.0.mo
share/locale/br/LC_MESSAGES/gnome-session-3.0.mo
share/locale/bs/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ca/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ca@valencia/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ckb/LC_MESSAGES/gnome-session-3.0.mo
share/locale/crh/LC_MESSAGES/gnome-session-3.0.mo
share/locale/cs/LC_MESSAGES/gnome-session-3.0.mo
share/locale/csb/LC_MESSAGES/gnome-session-3.0.mo
share/locale/cy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/da/LC_MESSAGES/gnome-session-3.0.mo
share/locale/de/LC_MESSAGES/gnome-session-3.0.mo
share/locale/dz/LC_MESSAGES/gnome-session-3.0.mo
share/locale/el/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en@shaw/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en_CA/LC_MESSAGES/gnome-session-3.0.mo
share/locale/en_GB/LC_MESSAGES/gnome-session-3.0.mo
share/locale/eo/LC_MESSAGES/gnome-session-3.0.mo
share/locale/es/LC_MESSAGES/gnome-session-3.0.mo
share/locale/et/LC_MESSAGES/gnome-session-3.0.mo
share/locale/eu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fur/LC_MESSAGES/gnome-session-3.0.mo
share/locale/fy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ga/LC_MESSAGES/gnome-session-3.0.mo
share/locale/gd/LC_MESSAGES/gnome-session-3.0.mo
share/locale/gl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/gu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ha/LC_MESSAGES/gnome-session-3.0.mo
share/locale/he/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hu/LC_MESSAGES/gnome-session-3.0.mo
share/locale/hy/LC_MESSAGES/gnome-session-3.0.mo
share/locale/id/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ig/LC_MESSAGES/gnome-session-3.0.mo
share/locale/is/LC_MESSAGES/gnome-session-3.0.mo
share/locale/it/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ja/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ka/LC_MESSAGES/gnome-session-3.0.mo
share/locale/kab/LC_MESSAGES/gnome-session-3.0.mo
share/locale/kk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/km/LC_MESSAGES/gnome-session-3.0.mo
share/locale/kn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ko/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ku/LC_MESSAGES/gnome-session-3.0.mo
share/locale/lt/LC_MESSAGES/gnome-session-3.0.mo
share/locale/lv/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mai/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mg/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mjw/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ml/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/mr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ms/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nb/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nds/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ne/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nn/LC_MESSAGES/gnome-session-3.0.mo
share/locale/nso/LC_MESSAGES/gnome-session-3.0.mo
share/locale/oc/LC_MESSAGES/gnome-session-3.0.mo
share/locale/or/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ps/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pt/LC_MESSAGES/gnome-session-3.0.mo
share/locale/pt_BR/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ro/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ru/LC_MESSAGES/gnome-session-3.0.mo
share/locale/rw/LC_MESSAGES/gnome-session-3.0.mo
share/locale/si/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sl/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sq/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sr@latin/LC_MESSAGES/gnome-session-3.0.mo
share/locale/sv/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ta/LC_MESSAGES/gnome-session-3.0.mo
share/locale/te/LC_MESSAGES/gnome-session-3.0.mo
share/locale/tg/LC_MESSAGES/gnome-session-3.0.mo
share/locale/th/LC_MESSAGES/gnome-session-3.0.mo
share/locale/tk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/tr/LC_MESSAGES/gnome-session-3.0.mo
share/locale/ug/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uk/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uz/LC_MESSAGES/gnome-session-3.0.mo
share/locale/uz@cyrillic/LC_MESSAGES/gnome-session-3.0.mo
share/locale/vi/LC_MESSAGES/gnome-session-3.0.mo
share/locale/wa/LC_MESSAGES/gnome-session-3.0.mo
share/locale/xh/LC_MESSAGES/gnome-session-3.0.mo
share/locale/yo/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_CN/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_HK/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zh_TW/LC_MESSAGES/gnome-session-3.0.mo
share/locale/zu/LC_MESSAGES/gnome-session-3.0.mo
share/wayland-sessions/gnome.desktop
share/xsessions/gnome-xorg.desktop
share/xsessions/gnome.desktop
$NetBSD: distinfo,v 1.51 2020/11/10 02:15:01 nia Exp $
SHA1 (gnome-session-3.38.0.tar.xz) = 2e367bad7e2a483f3adda2f5b09cc03209700332
RMD160 (gnome-session-3.38.0.tar.xz) = d28eb1c82f045b129815a1b4038549229cc30efc
SHA512 (gnome-session-3.38.0.tar.xz) = f49a7337b64722bc502ff3d952d8e249d2435be662c3bdfb7c7740338585c2e0b292869902be4c10faebde00998d7ead8deb82fe719a38575c6ebec2b94aa19b
Size (gnome-session-3.38.0.tar.xz) = 481300 bytes
SHA1 (patch-meson__options.txt) = 6c0c9968c4546f60547cc0cf235e6d546532e85b
SHA1 (patch-tools_meson.build) = a2ab4b52be4933a86f64fc08d8cf89542f5a15ca
$NetBSD: patch-meson__options.txt,v 1.1 2020/11/10 02:15:01 nia Exp $
Make GLESv2 support optional for older NetBSD releases.
--- meson_options.txt.orig 2020-03-08 20:04:15.000000000 +0000
+++ meson_options.txt
@@ -6,3 +6,4 @@ option('systemd_journal', type: 'boolean
option('consolekit', type: 'boolean', value: false, description: 'Use consolekit')
option('docbook', type: 'boolean', value: true, description: 'build documentation')
option('man', type: 'boolean', value: true, description: 'build documentation (requires xmlto)')
+option('gles2', type: 'boolean', value: true, description: 'enable GLESv2 support)')
$NetBSD: patch-tools_meson.build,v 1.1 2020/11/10 02:15:01 nia Exp $
Make GLESv2 support optional for older NetBSD releases.
--- tools/meson.build.orig 2020-03-08 20:04:15.000000000 +0000
+++ tools/meson.build
@@ -31,6 +31,11 @@ if enable_session_selector
programs += [['gnome-session-selector', deps, cflags, session_bindir]]
endif
+cflags = '-DPKGDATADIR="@0@"'.format(session_pkgdatadir)
+
+enable_glesv2 = get_option('gles2')
+if enable_glesv2
+
deps = [
gtk_dep,
x11_dep,
@@ -38,10 +43,10 @@ deps = [
dependency('glesv2')
]
-cflags = '-DPKGDATADIR="@0@"'.format(session_pkgdatadir)
-
programs += [['gnome-session-check-accelerated-gles-helper', deps, cflags, session_libexecdir]]
+endif
+
deps = [
glib_dep,
x11_dep,