summaryrefslogtreecommitdiff
path: root/x11/budgie-session
diff options
context:
space:
mode:
Diffstat (limited to 'x11/budgie-session')
-rw-r--r--x11/budgie-session/Makefile32
-rw-r--r--x11/budgie-session/distinfo3
-rw-r--r--x11/budgie-session/files/patch-gnome-session_gsm-app.c18
-rw-r--r--x11/budgie-session/pkg-descr2
-rw-r--r--x11/budgie-session/pkg-plist125
5 files changed, 180 insertions, 0 deletions
diff --git a/x11/budgie-session/Makefile b/x11/budgie-session/Makefile
new file mode 100644
index 000000000000..01a204c5b50a
--- /dev/null
+++ b/x11/budgie-session/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= budgie-session
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.9.1
+CATEGORIES= x11 budgie
+MASTER_SITES= BUDGIE
+
+MAINTAINER= duchateau.olivier@gmail.com
+COMMENT= Session manager for the Budgie desktop
+WWW= https://github.com/BuddiesOfBudgie/budgie-session
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= xmlto:textproc/xmlto
+LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
+ libdbus-glib-1.so:devel/dbus-glib \
+ libepoxy.so:graphics/libepoxy
+RUN_DEPENDS= consolekit2>0:sysutils/consolekit2
+
+USES= budgie compiler:c11 gettext-tools gl gnome localbase:ldflags \
+ meson pkgconfig python:build shebangfix tar:xz xorg
+USE_GL= egl gl glesv2
+USE_GNOME= gnomedesktop3 glib20 gtk30 libxslt:build
+GLIB_SCHEMAS= org.buddiesofbudgie.SessionManager.gschema.xml
+USE_XORG= ice sm x11 xcomposite xtrans
+SHEBANG_FILES= meson_post_install.py
+
+MESON_ARGS= -Dsystemd=false \
+ -Dsystemd_journal=false \
+ -Dconsolekit=true
+
+.include <bsd.port.mk>
diff --git a/x11/budgie-session/distinfo b/x11/budgie-session/distinfo
new file mode 100644
index 000000000000..f7d0671db819
--- /dev/null
+++ b/x11/budgie-session/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1706544619
+SHA256 (budgie/budgie-session-v0.9.1.tar.xz) = be6e72e49164d1e799f4e25ab3df0f5ccee4720b4ee121aa03cc40b43e0977fa
+SIZE (budgie/budgie-session-v0.9.1.tar.xz) = 486072
diff --git a/x11/budgie-session/files/patch-gnome-session_gsm-app.c b/x11/budgie-session/files/patch-gnome-session_gsm-app.c
new file mode 100644
index 000000000000..e8d2b71bdf7f
--- /dev/null
+++ b/x11/budgie-session/files/patch-gnome-session_gsm-app.c
@@ -0,0 +1,18 @@
+Work around for the https://bugzilla.gnome.org/show_bug.cgi?id=739424 bug
+
+Reduces the time gnome-session will consider application, like gnome-shell,
+crashes to be fatal. And drop the user back to the login screen.
+This will hopefully allow gnome-shell to restart after triggering the bug
+above.
+
+--- gnome-session/gsm-app.c.orig 2024-01-04 21:31:40 UTC
++++ gnome-session/gsm-app.c
+@@ -28,7 +28,7 @@
+ #include "org.gnome.SessionManager.App.h"
+
+ /* If a component crashes twice within a minute, we count that as a fatal error */
+-#define _GSM_APP_RESPAWN_RATELIMIT_SECONDS 60
++#define _GSM_APP_RESPAWN_RATELIMIT_SECONDS 3
+
+ typedef struct
+ {
diff --git a/x11/budgie-session/pkg-descr b/x11/budgie-session/pkg-descr
new file mode 100644
index 000000000000..1a15fc0d487e
--- /dev/null
+++ b/x11/budgie-session/pkg-descr
@@ -0,0 +1,2 @@
+This provides session management for the Budgie desktop, and
+provides the tools used to start the desktop.
diff --git a/x11/budgie-session/pkg-plist b/x11/budgie-session/pkg-plist
new file mode 100644
index 000000000000..5fb2bda2aa29
--- /dev/null
+++ b/x11/budgie-session/pkg-plist
@@ -0,0 +1,125 @@
+bin/budgie-session
+bin/budgie-session-inhibit
+bin/budgie-session-quit
+libexec/budgie-session-binary
+libexec/budgie-session-check-accelerated
+libexec/budgie-session-check-accelerated-gl-helper
+libexec/budgie-session-check-accelerated-gles-helper
+libexec/budgie-session-failed
+%%DATADIR%%/hardware-compatibility
+share/locale/ab/LC_MESSAGES/budgie-session-0.mo
+share/locale/af/LC_MESSAGES/budgie-session-0.mo
+share/locale/am/LC_MESSAGES/budgie-session-0.mo
+share/locale/an/LC_MESSAGES/budgie-session-0.mo
+share/locale/ar/LC_MESSAGES/budgie-session-0.mo
+share/locale/as/LC_MESSAGES/budgie-session-0.mo
+share/locale/ast/LC_MESSAGES/budgie-session-0.mo
+share/locale/az/LC_MESSAGES/budgie-session-0.mo
+share/locale/be/LC_MESSAGES/budgie-session-0.mo
+share/locale/be@latin/LC_MESSAGES/budgie-session-0.mo
+share/locale/bg/LC_MESSAGES/budgie-session-0.mo
+share/locale/bn/LC_MESSAGES/budgie-session-0.mo
+share/locale/bn_IN/LC_MESSAGES/budgie-session-0.mo
+share/locale/br/LC_MESSAGES/budgie-session-0.mo
+share/locale/bs/LC_MESSAGES/budgie-session-0.mo
+share/locale/ca/LC_MESSAGES/budgie-session-0.mo
+share/locale/ca@valencia/LC_MESSAGES/budgie-session-0.mo
+share/locale/ckb/LC_MESSAGES/budgie-session-0.mo
+share/locale/crh/LC_MESSAGES/budgie-session-0.mo
+share/locale/cs/LC_MESSAGES/budgie-session-0.mo
+share/locale/csb/LC_MESSAGES/budgie-session-0.mo
+share/locale/cy/LC_MESSAGES/budgie-session-0.mo
+share/locale/da/LC_MESSAGES/budgie-session-0.mo
+share/locale/de/LC_MESSAGES/budgie-session-0.mo
+share/locale/dz/LC_MESSAGES/budgie-session-0.mo
+share/locale/el/LC_MESSAGES/budgie-session-0.mo
+share/locale/en@shaw/LC_MESSAGES/budgie-session-0.mo
+share/locale/en_CA/LC_MESSAGES/budgie-session-0.mo
+share/locale/en_GB/LC_MESSAGES/budgie-session-0.mo
+share/locale/eo/LC_MESSAGES/budgie-session-0.mo
+share/locale/es/LC_MESSAGES/budgie-session-0.mo
+share/locale/et/LC_MESSAGES/budgie-session-0.mo
+share/locale/eu/LC_MESSAGES/budgie-session-0.mo
+share/locale/fa/LC_MESSAGES/budgie-session-0.mo
+share/locale/fi/LC_MESSAGES/budgie-session-0.mo
+share/locale/fr/LC_MESSAGES/budgie-session-0.mo
+share/locale/fur/LC_MESSAGES/budgie-session-0.mo
+share/locale/fy/LC_MESSAGES/budgie-session-0.mo
+share/locale/ga/LC_MESSAGES/budgie-session-0.mo
+share/locale/gd/LC_MESSAGES/budgie-session-0.mo
+share/locale/gl/LC_MESSAGES/budgie-session-0.mo
+share/locale/gu/LC_MESSAGES/budgie-session-0.mo
+share/locale/ha/LC_MESSAGES/budgie-session-0.mo
+share/locale/he/LC_MESSAGES/budgie-session-0.mo
+share/locale/hi/LC_MESSAGES/budgie-session-0.mo
+share/locale/hr/LC_MESSAGES/budgie-session-0.mo
+share/locale/hu/LC_MESSAGES/budgie-session-0.mo
+share/locale/hy/LC_MESSAGES/budgie-session-0.mo
+share/locale/id/LC_MESSAGES/budgie-session-0.mo
+share/locale/ie/LC_MESSAGES/budgie-session-0.mo
+share/locale/ig/LC_MESSAGES/budgie-session-0.mo
+share/locale/is/LC_MESSAGES/budgie-session-0.mo
+share/locale/it/LC_MESSAGES/budgie-session-0.mo
+share/locale/ja/LC_MESSAGES/budgie-session-0.mo
+share/locale/ka/LC_MESSAGES/budgie-session-0.mo
+share/locale/kab/LC_MESSAGES/budgie-session-0.mo
+share/locale/kk/LC_MESSAGES/budgie-session-0.mo
+share/locale/km/LC_MESSAGES/budgie-session-0.mo
+share/locale/kn/LC_MESSAGES/budgie-session-0.mo
+share/locale/ko/LC_MESSAGES/budgie-session-0.mo
+share/locale/ku/LC_MESSAGES/budgie-session-0.mo
+share/locale/lt/LC_MESSAGES/budgie-session-0.mo
+share/locale/lv/LC_MESSAGES/budgie-session-0.mo
+share/locale/mai/LC_MESSAGES/budgie-session-0.mo
+share/locale/mg/LC_MESSAGES/budgie-session-0.mo
+share/locale/mi/LC_MESSAGES/budgie-session-0.mo
+share/locale/mjw/LC_MESSAGES/budgie-session-0.mo
+share/locale/mk/LC_MESSAGES/budgie-session-0.mo
+share/locale/ml/LC_MESSAGES/budgie-session-0.mo
+share/locale/mn/LC_MESSAGES/budgie-session-0.mo
+share/locale/mr/LC_MESSAGES/budgie-session-0.mo
+share/locale/ms/LC_MESSAGES/budgie-session-0.mo
+share/locale/nb/LC_MESSAGES/budgie-session-0.mo
+share/locale/nds/LC_MESSAGES/budgie-session-0.mo
+share/locale/ne/LC_MESSAGES/budgie-session-0.mo
+share/locale/nl/LC_MESSAGES/budgie-session-0.mo
+share/locale/nn/LC_MESSAGES/budgie-session-0.mo
+share/locale/nso/LC_MESSAGES/budgie-session-0.mo
+share/locale/oc/LC_MESSAGES/budgie-session-0.mo
+share/locale/or/LC_MESSAGES/budgie-session-0.mo
+share/locale/pa/LC_MESSAGES/budgie-session-0.mo
+share/locale/pl/LC_MESSAGES/budgie-session-0.mo
+share/locale/ps/LC_MESSAGES/budgie-session-0.mo
+share/locale/pt/LC_MESSAGES/budgie-session-0.mo
+share/locale/pt_BR/LC_MESSAGES/budgie-session-0.mo
+share/locale/ro/LC_MESSAGES/budgie-session-0.mo
+share/locale/ru/LC_MESSAGES/budgie-session-0.mo
+share/locale/rw/LC_MESSAGES/budgie-session-0.mo
+share/locale/si/LC_MESSAGES/budgie-session-0.mo
+share/locale/sk/LC_MESSAGES/budgie-session-0.mo
+share/locale/sl/LC_MESSAGES/budgie-session-0.mo
+share/locale/sq/LC_MESSAGES/budgie-session-0.mo
+share/locale/sr/LC_MESSAGES/budgie-session-0.mo
+share/locale/sr@latin/LC_MESSAGES/budgie-session-0.mo
+share/locale/sv/LC_MESSAGES/budgie-session-0.mo
+share/locale/ta/LC_MESSAGES/budgie-session-0.mo
+share/locale/te/LC_MESSAGES/budgie-session-0.mo
+share/locale/tg/LC_MESSAGES/budgie-session-0.mo
+share/locale/th/LC_MESSAGES/budgie-session-0.mo
+share/locale/tk/LC_MESSAGES/budgie-session-0.mo
+share/locale/tr/LC_MESSAGES/budgie-session-0.mo
+share/locale/ug/LC_MESSAGES/budgie-session-0.mo
+share/locale/uk/LC_MESSAGES/budgie-session-0.mo
+share/locale/uz/LC_MESSAGES/budgie-session-0.mo
+share/locale/uz@cyrillic/LC_MESSAGES/budgie-session-0.mo
+share/locale/vi/LC_MESSAGES/budgie-session-0.mo
+share/locale/wa/LC_MESSAGES/budgie-session-0.mo
+share/locale/xh/LC_MESSAGES/budgie-session-0.mo
+share/locale/yo/LC_MESSAGES/budgie-session-0.mo
+share/locale/zh_CN/LC_MESSAGES/budgie-session-0.mo
+share/locale/zh_HK/LC_MESSAGES/budgie-session-0.mo
+share/locale/zh_TW/LC_MESSAGES/budgie-session-0.mo
+share/locale/zu/LC_MESSAGES/budgie-session-0.mo
+share/man/man1/budgie-session-inhibit.1.gz
+share/man/man1/budgie-session-quit.1.gz
+share/man/man1/budgie-session.1.gz