summaryrefslogtreecommitdiff
path: root/x11/gnome-session
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-10 02:15:00 +0000
committernia <nia@pkgsrc.org>2020-11-10 02:15:00 +0000
commit85e213758de953c8503d8f511f04925bd48149f9 (patch)
treec323d687718be42bf12911d94384a03828aeff66 /x11/gnome-session
parent10ded9667d681ddd64bf5c891366b38fc685751d (diff)
downloadpkgsrc-85e213758de953c8503d8f511f04925bd48149f9.tar.gz
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.
Diffstat (limited to 'x11/gnome-session')
-rw-r--r--x11/gnome-session/DESCR2
-rw-r--r--x11/gnome-session/Makefile57
-rw-r--r--x11/gnome-session/PLIST133
-rw-r--r--x11/gnome-session/distinfo8
-rw-r--r--x11/gnome-session/patches/patch-meson__options.txt11
-rw-r--r--x11/gnome-session/patches/patch-tools_meson.build31
6 files changed, 242 insertions, 0 deletions
diff --git a/x11/gnome-session/DESCR b/x11/gnome-session/DESCR
new file mode 100644
index 00000000000..27c57d25d0e
--- /dev/null
+++ b/x11/gnome-session/DESCR
@@ -0,0 +1,2 @@
+gnome-session contains the GNOME session manager, as well as a
+configuration program to choose applications starting on login.
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile
new file mode 100644
index 00000000000..b3bf0272f3b
--- /dev/null
+++ b/x11/gnome-session/Makefile
@@ -0,0 +1,57 @@
+# $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"
diff --git a/x11/gnome-session/PLIST b/x11/gnome-session/PLIST
new file mode 100644
index 00000000000..6ebb19a337a
--- /dev/null
+++ b/x11/gnome-session/PLIST
@@ -0,0 +1,133 @@
+@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
diff --git a/x11/gnome-session/distinfo b/x11/gnome-session/distinfo
new file mode 100644
index 00000000000..72a45bf50b0
--- /dev/null
+++ b/x11/gnome-session/distinfo
@@ -0,0 +1,8 @@
+$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
diff --git a/x11/gnome-session/patches/patch-meson__options.txt b/x11/gnome-session/patches/patch-meson__options.txt
new file mode 100644
index 00000000000..42930c05c50
--- /dev/null
+++ b/x11/gnome-session/patches/patch-meson__options.txt
@@ -0,0 +1,11 @@
+$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)')
diff --git a/x11/gnome-session/patches/patch-tools_meson.build b/x11/gnome-session/patches/patch-tools_meson.build
new file mode 100644
index 00000000000..a3ff9ef2e60
--- /dev/null
+++ b/x11/gnome-session/patches/patch-tools_meson.build
@@ -0,0 +1,31 @@
+$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,